How did we make DeepSeek outperform Opus
ahmadawais
30 points
7 comments
July 07, 2026
Related Discussions
Found 5 related stories in 412.3ms across 14,015 title embeddings via pgvector HNSW
- Notes on DeepSeek vinhnx · 169 pts · June 10, 2026 · 71% similar
- DeepSeek V4: The Open-Source Model Frontier Labs Feared HelloAi · 61 pts · May 15, 2026 · 65% similar
- DeepSeek v4 impact_sy · 455 pts · April 24, 2026 · 65% similar
- DeepSeek Introduces Vision RIshabh235 · 464 pts · June 18, 2026 · 64% similar
- DeepSeek by Hand in Excel teleforce · 13 pts · March 18, 2026 · 64% similar
Discussion Highlights (2 comments)
ahmadawais
hey HN, sharing harness engineering deep dive on tool calling repairs for open models. i've been thinking about why "open model bad at tool calling" is almost always a harness problem, not a model problem. spent time looking at billions of tokens from DeepSeek (and other open models) in our coding agent. ended up building a tool-input repair layer on top of Zod. by the end, DeepSeek V4 Pro was beating Opus 4.7 in 6/10 of our internal evals. the main things that helped: - most failures came from a small set of recurring schema mistakes - switched from preprocess-then-validate to validate-then-repair - handled some weird cases like markdown auto-links leaking into file paths full writeup: https://x.com/MrAhmadAwais/status/2050956678502420612 video version (more detailed): https://www.youtube.com/watch?v=f61DCDwvFis
bel8
> he trigger was watching deepseek-flash fail on the simplest /review run, every shellCommand and readFile call bouncing back with a raw zod issues blob, the model unable to recover because the error wasn't in a form it could read. by the end deepseek v4 pro was beating opus 4.7 6/10 times on our internal evals. I think this is why Xiaomi forked OpenCode and created their own agent hardness, to reduce friction between model and harness: https://github.com/XiaomiMiMo/MiMo-Code