512K-context local coding agents on M5 Ultra: 2x MTP decode saves only 16%
L8W8 · reddit · 2026-12-05
The author benchmarked DeepSeek V4.1 Flash, GLM 5.3 Flash and Muse Spark Open 816B inside Pi, OpenCode and DeepSeek Harness on a Mac Studio M5 Ultra 512GB, solving 8 multi-file Python/TS tasks at 384K-512K starting tokens in a network-isolated sandbox with held-out tests.
- Native MTP doubling decode only cut wall time 7-16%: reading context consumed 45% (DeepSeek) to 76% (GLM) of wall minutes — prefill is the real bottleneck at long context
- One-line OpenCode fix saved 2-4 min/task: the default session-title request re-sent the full 100K+ prompt for ≤15 tokens; disabling agents.title cut DeepSeek median 4.8m→3.0m
- Cold prefill hurts once; >99% prefix caching drops 512K follow-ups to 7.5-21s; zero auto-compactions across 64 Pi runs
- Pitfalls: GLM manual compaction paused 10m; Muse needed 128-192GB SSD cache to keep prefix-cache hits
- DeepSeek+Pi solved 8/8 across 3 seeds; 2 parallel agents went 2/2 while 3-4 agent groups dropped tasks
MIT-licensed fixture, grading suite, exact flags and 38 evidence files are open-sourced.
More from coding & agent
- Antigravity agent accepts absurd dare to draw a figure in C++ feature by feature — MickeySteamboat · 2026-12-06
- Chrome DevTools for Agents Lets AI Test and Optimize Real Websites in Google Antigravity — goyalshaliniuk · 2026-12-06
- Solo Dev: AI Finally Makes Building a Game Entirely Alone Possible — yacineMTB · 2026-12-06
- Duke brings Rashomon-set geometry and a +18pt programmatic-memory agent to NeurIPS — shuyanzh36 · 2026-12-06
- Open-source Blender skills let AI agents produce full 3D animation pipeline in Python — Promptmethus · 2026-12-06
- Three questions to ask before automating anything: cadence, human review, failure signals — jesseweimer · 2026-12-06