DeepSeek V4 Flash 0731: same architecture, new post-training

On 31 July 2026 DeepSeek moved V4 Flash out of preview. Architecture and size stay as they were in April, 284B total with 13B active, and the whole gain comes from the post-training, which has been redone: Terminal-Bench 2.1 at a stated 82.7, more than twenty points above the preview. MIT weights on Hugging Face, in the model family that antirez's ds4 was built around.

Open SourceAIOpen SourceDeepSeekLLMAIMoEOpen WeightsAgentsTerminal BenchLocal InferenceMIT
Four figures on the 0731 build of DeepSeek V4 Flash of 31 July 2026: 13 billion active parameters out of 284 billion total in a Mixture of Experts architecture, Terminal-Bench 2.1 at a stated 82.7 with a 20.9 point gain over the April preview, weights on Hugging Face under the MIT licence with a one million token context, API price of $0.14 and $0.28 per million tokens. A note at the bottom says the architecture does not change and that agent scores are measured on DeepSeek's internal harness
The figures for the 0731 build. The agent numbers are stated by DeepSeek. Sources at the end.

On 31 July DeepSeek moved V4 Flash out of preview with the 0731 build. The way the API is called does not change, and neither does the architecture: same size and same structure as V4 Preview, which we looked at in April. What was redone is the post-training, and the whole stated gain sits there.

What changes with the 0731 build

The model remains a Mixture of Experts with 284 billion parameters and 13 billion active, with a one-million-token context and output up to 384K tokens. The Hugging Face card lists 304B total parameters. DeepSeek does not explain the difference from April’s 284B; our reading is that the count most likely includes the weights of the speculative decoding module bundled into the checkpoint.

The checkpoint ships with DSpark, a speculative decoding module that can be switched on at serving time, and inference exposes three reasoning_effort levels (low, high, max) to control how much the model deliberates before answering. The update concerns the V4-Flash API only: app, website and the V4-Pro API are unchanged, with the latter still in preview.

The stated numbers

The model card reports nine benchmarks, measured by DeepSeek on its own harness and set against the April preview, V4-Pro Preview, GLM-5.2 and Claude Opus 4.8:

BenchmarkFlash 0731Flash PreviewV4-Pro PreviewGLM-5.2Opus 4.8
Terminal-Bench 2.182.761.872.181.085.0
Cybergym76.738.752.783.1
Toolathlon-Verified70.349.755.959.976.2
DSBench-FullStack68.737.041.861.871.6
DSBench-Hard59.625.831.154.571.7
DeepSWE54.47.312.846.258.0
NL2Repo54.239.438.548.969.7
Agents’ Last Exam25.215.816.523.825.7
AutomationBench Public25.110.812.812.927.2

On Terminal-Bench 2.1 the jump over the preview is 20.9 points, and across all nine rows the 0731 build sits above V4-Pro Preview, the flagship-scale model of the same family. If that holds up to third-party verification, it is 13 billion active parameters beating a much larger model on agent tasks, within the same family and on the same data.

In the same table Claude Opus 4.8 stays ahead on all nine rows, by margins running from 2.3 points on Terminal-Bench to 15.5 on NL2Repo. DeepSeek publishes that comparison in its own card, and reporting it in full says more than any selection would.

The only measurement not produced by DeepSeek at the moment comes from Artificial Analysis, which puts the reasoning build at 50 on the Intelligence Index, well above the median for open weight models. The same assessment flags high verbosity, with around 210 million output tokens to complete the evaluation suite against a distinctly lower median, and a cost of a little over seventy dollars to run it in full at list prices. For a model billed per token, verbosity moves the real cost away from the list price.

API prices are $0.14 per million input tokens and $0.28 per million output tokens, with cached input at $0.0028. The dynamic peak and off-peak pricing announced earlier does not appear to be active yet.

How to read the agent scores

The six rows in the table are agent benchmarks, and on this kind of measurement the point we made in harness engineering applies: an agent score measures the model together with the scaffolding around it, meaning how tools are presented, how context is managed, how many attempts are allowed and what happens when a command fails. The same model, with two different harnesses, produces two different numbers.

The figures above were obtained by DeepSeek on its own harness and no independent reproductions appear to exist yet. It is standard practice in every model announcement, and it is the reason these numbers should be read as an indication of order of magnitude rather than a ranking.

The weights and what it takes to run it

For anyone building systems, what counts is that the weights are published on Hugging Face under the MIT licence, so they can be downloaded, self-hosted and used commercially. It is an open-weight model, with the training code and data staying with DeepSeek, the distinction we drew when writing about open weights and American AI leadership.

V4 Flash is also the model that antirez’s DwarfStar 4 was built around, the native C inference engine that runs it locally on a machine with 96-128 GB of unified memory thanks to asymmetric 2-bit quantisation on the experts of the MoE part. ds4 was written against the preview weights and no source yet confirms it runs the 0731 checkpoint; if support lands, the post-training gain comes with no change of hardware.

We have already covered the other routes to keeping it in house, and they all apply to this build as well: colibri keeping the experts on disk and loading them only when needed, KTransformers with hybrid CPU and GPU inference, and weight and KV cache quantisation with TurboQuant. The lever is always the same: an MoE is large but sparse, and each token needs only a fraction of it active.

What we think

The scores are stated and will need verifying. What moved, at constant architecture, is the post-training. It suggests that on this generation of models the headroom on agent tasks still sits in how they are trained to use tools, more than in size. For anyone weighing adoption that is good news on cost, because a model with 13 billion active parameters stays manageable on hardware a company can actually afford.

Practically, the two things to look at before putting it into production are verbosity, which weighs on the monthly bill more than the unit price does, and the fact that the agent numbers come from the vendor. To evaluate it we start from three or four real tasks in the domain, measured on our own harness and compared against the model we use today.

Then there is the reason releases like this interest us. An open-weight model under an MIT licence, running on local hardware through engines like ds4, keeps the data inside the perimeter and makes the choice of supplier reversible. It is the same reasoning we set out in Open Intelligence, Secure Governance: owning the operational floor counts as much as the quality of the model running on it.

Sources

Need support?Under attack?Service Status
Need support?Under attack?Service Status