The Research Report
DeepSeek V4 Flash 0731 Beat Its Own Pro Model on Agentic Work. It Beat a Model DeepSeek Threw Away 13 Days Later.
Source: DeepSeek-V4-Flash-0731 model card / DeepSeek change log, 2026-07-31 / ARC Prize verified scores
Task ID: task-requeue-deepseek-v4-flash-0731-20261005
The headline number is real and it is a good one. DeepSeek-V4-Flash-0731, released July 31, 2026, scored 82.7 on Terminal Bench 2.1, 76.7 on Cybergym, 54.4 on DeepSWE, and 70.3 on Toolathlon Verified, beating DeepSeek-V4-Pro-Preview on every single agentic benchmark DeepSeek published. The model is MIT licensed, weighs about a quarter of Pro's parameter count, and its Hugging Face repo has been downloaded 4.5 million times. The same architecture and same parameter count as the Preview checkpoint it replaces. Only the post-training changed.
Then there is the sentence in DeepSeek's own release notes: "The official release of DeepSeek-V4-Pro will follow soon." It followed on August 13. And it won the same nine benchmarks, against the same 0731 model, by wider margins than the preview did. Flash beating Pro was true for 13 days and it is not true now.
For End Users
What landed on July 31 was an API update, not a new model. Setting model='deepseek-v4-flash' moved you from the Preview weights to 0731. The API call did not change. The gain was entirely in agent behavior: DeepSWE went from 7.3 to 54.4, a 7.5x jump from identical architecture and identical size. That is a post-training result and it is more interesting than a bigger model, because it says the Preview was leaving an enormous amount of capability unexploited in its own weights.
The checkpoint shipped with a speculative decoding module attached, called DSpark. vLLM enables it with --speculative-config '{"method":"dspark","numspeculativetokens":7,"draftsamplemethod":"greedy"}'. SGLang uses --speculative-algorithm DSPARK. The config file shows the draft blocks at layers 40 through 42, block size 5, markov rank 256, out of 43 total layers. So the draft model is the last three layers of the target model, not a separate network. The config also sets maxpositionembeddings to 1048576 and numkeyvalue_heads to 1, which is the usual DeepSeek trick for making a million-token context cheap enough to serve.
ARC Prize ran four reasoning variants and verified them independently. At max effort: 89.0% on ARC-AGI-1 semi-private, 61.4% on ARC-AGI-2 semi-private, at $0.02 and $0.04 per task. High effort gives 87.0 and 56.0. Low effort gives 84.0 and 46.0. None gives 11.8 and 2.1. That last row is the interesting one. Reasoning effort is not a quality dial here, it is the model. Turn it off and you have a different, much weaker model that still answers in the same format.
The deployment story is also documented in practice rather than in marketing. An engineer got it running on a single AMD MI300X. Someone quantized it to 56.8GB and ran it on a Mac. A third-party benchmark hit 82.7 on Terminal Bench 2.1 using a public harness, matching DeepSeek's own number.
For Engineers and Researchers
The architecture is worth reading the config for. It is a Mixture of Experts model, deepseekv4, with 43 layers, hidden size 4096, 256 routed experts plus one shared expert, and 6 experts active per token. expertdtype is fp4 while the main quantization block is fp8 with a 128x128 weight block size. Routing uses topkmethod: noauxtc with scoringfunc: sqrtsoftplus. There is a numhashlayers: 3 field and an indexer with 64 index heads and indextopk: 512, which is a sparse attention index. slidingwindow: 128. ropescaling is YaRN at factor 16 from a 65536 base.
Compare that to V4-Pro: 61 layers, hidden size 7168, 384 routed experts, 6 active per token, 128 attention heads, index_topk: 1024. Same family, same activation width of 6, meaningfully more layers and nearly 50% more experts. Pro is the bigger model in exactly the way you would expect.
One operational detail that will bite someone. There is no Jinja chat template in this release. DeepSeek ships an encoding/ folder of Python scripts instead, with encodemessages and parsemessagefromcompletiontext. You encode messages to a string yourself, then tokenizer-encode. Anyone who assumes tokenizer.applychat_template will work will discover otherwise. Reasoning effort takes low, high, or max, which is three levels rather than the two most APIs expose.
Verified benchmark numbers from DeepSeek, 0731 against Pro Preview against GLM-5.2 and Opus-4.8: Terminal Bench 2.1 82.7 / 72.1 / 81.0 / 85.0. NL2Repo 54.2 / 38.5 / 48.9 / 69.7. Cybergym 76.7 / 52.7 / none / 83.1. DeepSWE 54.4 / 12.8 / 46.2 / 58.0. Toolathlon Verified 70.3 / 55.9 / 59.9 / 76.2. Agents' Last Exam 25.2 / 16.5 / 23.8 / 25.7. AutomationBench Public 25.1 / 12.8 / 12.9 / 27.2. DSBench FullStack 68.7 / 41.8 / 61.8 / 71.6. DSBench Hard 59.6 / 31.1 / 54.5 / 71.7.
Flash beat Pro Preview nine times out of nine. On the same nine benchmarks against Opus-4.8 it won one, Toolathlon is not a win, and Agents' Last Exam it lost 25.2 to 25.7, a margin so thin it should be read as a tie.
The Skeptical Take
Two of those nine numbers are not benchmarks in any reusable sense. DSBench-FullStack is an internal DeepSeek full-stack development test set. DSBench-Hard is an internal DeepSeek coding-agent hard-problem test set. DeepSeek flags both with a dagger in its own table and repeats the disclaimer in the changelog. Nobody outside the company can run them, so nobody can check whether they are representative or whether the Preview was under-optimized on exactly the distribution that matters. Two uncheckable private sets inside a nine-benchmark table where the model wins all nine is not a small detail. It is a quarter of the evidence.
The third caveat is the harness. Every code agent number above was produced with "DeepSeek Harness minimal mode (to be released soon), max effort, top_p 0.95, temperature 1.0." The release notes promised the harness would arrive. It arrived as a developer preview on September 10. A third party who tried to reproduce Terminal Bench 2.1 with a public harness matched the 82.7, which is the best possible evidence. But when the reproduction attempt was reviewed on Hacker News, the response was not enthusiastic. Someone auditing the benchmark said that benchmark has a lot of room to improve and is the best available option. Someone else, reading the harness documentation, found the sentence "the core harness itself is developed in a private repository during the alpha," and said they lost interest. A benchmark number is a property of the model times the scaffold times the tokenizer times the sampler. DeepSeek published the model and kept the scaffold.
And then the model itself stopped being current. On August 13, DeepSeek-V4-Pro GA shipped with "significantly enhanced agent capabilities, with particularly significant performance improvements in production environments." The changelog lists the same nine benchmarks. Read them against 0731:
Terminal Bench 2.1: Pro GA 87.9, Flash 0731 82.7. NL2Repo: 61.5 against 54.2. Cybergym: 83.3 against 76.7. DeepSWE: 62.7 against 54.4. Toolathlon Verified: 74.1 against 70.3. Agents' Last Exam: 25.7 against 25.2. AutomationBench Public: 31.8 against 25.1. DSBench FullStack: 71.1 against 68.7. DSBench Hard: 67.2 against 59.6.
Nine for nine. Pro GA beats Flash 0731 on every benchmark where Flash 0731 beat Pro Preview. On Agents' Last Exam, the hardest of the nine, Pro Preview scored 16.5, Flash scored 25.2, and Pro GA scored 25.7. The preview was never the real competitor. It was a placeholder the company had already decided to replace, and the launch post for Flash said so in plain language before anyone had a chance to draw the conclusion.
There is one more layer. On September 10 DeepSeek released V4.1-Flash and retired V4-Flash. The deepseek-v4-flash and deepseek-v4-flash-vision-exp model names still resolve, but they are now served by V4.1-Flash and billed at the Flash price. V4.1-Flash reports Terminal Bench 2.1 at 90.6, NL2Repo at 65.4, DeepSWE v1.1 at 74.2, Agents' Last Exam at 31.8, Automation-Bench at 54.8. Current Flash API pricing runs $0.003 to $0.006 per million input tokens on a cache hit and $0.6 to $1.2 per million output tokens, with off-peak rates at half of peak and peak hours defined as 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays.
So as of today, the model in this headline has been superseded twice. It is still the right checkpoint to study, because a 7.5x jump in DeepSWE from post-training alone on fixed architecture is the most interesting number DeepSeek has published this year, and because the 4.5 million downloads say the ecosystem agrees. But "Flash beats Pro" describes a comparison against a retired preview that was obsolete on the day it was published. The honest version of this story is not that DeepSeek shipped a small model that outsized its flagship. It is that DeepSeek shipped a post-training win, shipped it loudly against a competitor it had already scheduled for deletion, and shipped the competitor two weeks later at a level that reversed the result entirely. Both releases were good. The headline only described the first one.
Word count: 1089
Written at: 2026-10-05T03:00:00Z