sakutto
Generative AI· DeepSeek-V4-Flash-0731

DeepSeek V4-Flash 0731: It Beat Its Own Flagship, and It's MIT

DeepSeekopen weightsAI coding
DeepSeek V4-Flash 0731: It Beat Its Own Flagship, and It's MIT

What DeepSeek V4-Flash 0731 is

DeepSeek-V4-Flash-0731 is a large language model published on July 31, 2026 by the Chinese AI company DeepSeek. It is positioned as the official release that replaces the preview version available until then. Note that the release date does not appear in the model card text itself—the commit history of the Hugging Face repository shows the initial commit on July 31, 2026, and the "0731" in the name matches that date.

DeepSeek-V4-Flash-0731 at a glance (per the official model card)

Published
July 31, 2026 (per Hugging Face commit history)
Positioning
Official release of DeepSeek-V4-Flash, superseding the preview
License
MIT (both repository and weights)
Architecture
Same structure as DeepSeek-V4-Flash-DSpark, speculative decoding module attached
Reasoning
reasoning_effort = low / high / max
Output length
384K tokens recommended (for high / max)
View official source →
DeepSeek-V4-Flash-0731 is the official release of DeepSeek-V4-Flash, superseding the preview version, with substantially enhanced agentic capabilities. / This repository and the model weights are licensed under the MIT License. / The `reasoning_effort` parameter now supports three levels — `low`, `high`, and `max` — which control how much deliberation the model spends before answering. / For the `high` and `max` reasoning effort levels, we recommend a maximum output length of 384K tokens. — From the passages covering positioning, license, reasoning settings and recommended output length listed in the table

What got stronger is agentic capability

The axis DeepSeek builds its description around is not conversational quality but agentic capability—calling tools, writing code, and running multi-step procedures on its own. The card explicitly frames this as the official release with substantially enhanced agentic capabilities.

The architecture itself is not new. It has the same model structure as DeepSeek-V4-Flash-DSpark, which the company publishes separately, complete with a speculative decoding module (a speedup technique that drafts candidate tokens quickly and then verifies them) attached from the start. So what changed to produce the gain? The official card does not say. It states that the structure is the same and that agentic capability improved substantially, and never touches how the training procedure differed.

The technical report is titled "Towards Highly Efficient Million-Token Context Intelligence," which points at efficiency and long context as the target.

View official source →
DeepSeek-V4-Flash-0731 is the official release of DeepSeek-V4-Flash, superseding the preview version, with substantially enhanced agentic capabilities. It has the same model structure as DeepSeek-V4-Flash-DSpark, i.e. it comes with a speculative decoding module attached. / title={DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence} — From the positioning of the official release, the model structure, and the title of the technical report

Some parameter counts are not stated officially

First, the term. Activated parameter count is the number of parameters actually used to compute a single token. In a mixture-of-experts (MoE) design like this one, only a portion of the total parameters fire on each pass. So even with a large total, a small activated count means less compute and better latency. The claim that a smaller model beat the flagship refers to this number.

Care is needed here. The Hugging Face model page shows 304B as the total parameter count, but that figure is auto-aggregated by Hugging Face from the weight files in the repository—DeepSeek did not write it. And the official model card never states the activated parameter count numerically. All it offers is the comparative phrase "far smaller activated parameter count."

Some write-ups circulate "284B total / 13B activated," but that is not an officially stated figure and does not match the auto-aggregated 304B either. Whether the speculative decoding module is counted changes the aggregation scope, so neither can simply be declared wrong. This article does not treat those as settled numbers. If you plan to estimate cost or throughput from the activated parameter count, wait for official detail.

Kimi K3, another large open-weights model, does publish actual weight sizes and recommended configurations, so it is a useful point of comparison.

View official source →
DeepSeek-V4-Flash-0731 outperforms DeepSeek-V4-Pro (Preview) on benchmarks listed below despite its far smaller activated parameter count, and is broadly competitive with the strongest proprietary models available. — Cited as evidence that the official text uses a comparative phrase rather than a number for the activated parameter count

What happened on the public benchmarks

Benchmarks are the center of the announcement. The official model card presents a nine-row comparison table and claims wins over the in-house flagship DeepSeek-V4-Pro (Preview) on every row.

Benchmark comparison from the official model card (figures measured by the developer)

BenchmarkV4-Flash-0731V4-Flash (Preview)V4-Pro (Preview)GLM-5.2Opus-4.8
Terminal Bench 2.182.761.872.181.085.0
NL2Repo54.239.438.548.969.7
Cybergym76.738.752.783.1
DeepSWE54.47.312.846.258.0
Toolathlon-Verified70.349.755.959.976.2
Agents' Last Exam25.215.816.523.825.7
AutomationBench Public25.110.812.812.927.2
DSBench-FullStack (internal)68.737.041.861.871.6
DSBench-Hard (internal)59.625.831.154.571.7

The big jumps are in agentic coding

Reading down the columns, the largest gains sit exactly where the preview struggled. DeepSWE went from 7.3 to 54.4, and Cybergym from 38.7 to 76.7. That gap appeared while the architecture stayed in the same family as the preview.

The comparison models are GLM-5.2 and Claude Opus 4.8. Against GLM-5.2 it wins all eight rows where a figure is published (Cybergym has no GLM-5.2 value, so it cannot be compared). Against Claude Opus 4.8 it loses every row. The table does not say "now the strongest"—it says "near the top among open weights, with the strongest proprietary models within sight."

These figures are self-reported

Skip this section and you will misread the numbers. DeepSeek documents its measurement conditions in the notes, and two of them matter.

First, the code agent tasks among the public benchmarks were measured with the minimal mode of DeepSeek Harness as the agent framework. A harness is the execution scaffolding that hands tools to a model and lets it work through evaluation tasks. And as of that note, the harness is "to be released"—not public. Nobody outside DeepSeek can currently re-measure other models on the same footing. For tasks under this condition, the card also states reasoning_effort at max, temperature = 1.0 and top_p = 0.95.

Second, two of the nine rows—DSBench-FullStack and DSBench-Hard—are internal test sets. Their contents cannot be inspected externally, and no measurement conditions are noted for them.

None of this means the figures are suspect. It means you should read them as numbers no third party has reproduced yet.

View official source →
DeepSeek-V4-Flash-0731 outperforms DeepSeek-V4-Pro (Preview) on benchmarks listed below despite its far smaller activated parameter count, and is broadly competitive with the strongest proprietary models available. / For the Code Agent tasks among the public benchmarks above, DeepSeek-V4-Flash-0731 is evaluated with the minimal mode of DeepSeek Harness (to be released) as the agent framework, using the `max` reasoning effort level with `temperature = 1.0, top_p = 0.95`. / DSBench-FullStack is an internal full-stack development test set; DSBench-Hard is an internal test set of difficult coding-agent problems. — From the benchmark claim and the notes on measurement conditions and internal test sets

Three things to know before you run it

With the weights public, you can run this in your own environment. But this release changed some of the procedure, and not knowing that is where people get stuck.

There is no chat template bundled

Start here. This release does not include a Jinja-format chat template (Jinja being a templating syntax for substituting variables into a template). In its place there is an encoding folder holding Python scripts that convert OpenAI-compatible messages into input strings for the model, plus guidance on parsing the output.

So the familiar apply_chat_template call does not carry over as-is. You have to rebuild around the official encoding functions. Since that adds a step of assembling message arrays, checking the JSON structure visually as you go prevents a lot of trouble.

Free ToolJSON Formatter & ValidatorPretty-print or minify JSON data. Catch syntax errors instantly with line numbers and tree view.Try it now →

View official source →
This release does not include a Jinja-format chat template. Instead, we provide a dedicated `encoding` folder with Python scripts and test cases demonstrating how to encode messages in OpenAI-compatible format into input strings for the model, and how to parse the model's text output. — From the passage stating that no chat template ships and that a dedicated encoding approach replaces it

reasoning_effort now has three levels

Reasoning strength runs low / high / max. The parameter decides how much the model deliberates before answering, and the public code-agent tasks were measured at max. If you want to use the table as a reference point, you have to match the setting or the comparison does not hold.

Output length needs attention alongside it. For high and max, DeepSeek recommends a maximum output length of 384K tokens. Allocate less and the model gets cut off mid-thought.

View official source →
The `reasoning_effort` parameter now supports three levels — `low`, `high`, and `max` — which control how much deliberation the model spends before answering. / For the `high` and `max` reasoning effort levels, we recommend a maximum output length of 384K tokens. — From the passages on the three reasoning effort levels and the recommended maximum output length

Speculative decoding turns on with one flag

DSpark speculative decoding is enabled by a launch flag, intended for inference servers like vLLM or SGLang (software that keeps a model resident and serves it over an API). On vLLM you just pass method: dspark to --speculative-config. On SGLang you specify --speculative-algorithm DSPARK and do not point at a separate draft model path, because the target and draft weights live in the same checkpoint.

--speculative-config '{"method":"dspark","num_speculative_tokens":7,"draft_sample_method":"greedy"}'

Hardware-specific procedures are covered in the vLLM recipe and the SGLang cookbook that DeepSeek points to. The SGLang side is the one that includes benchmark figures.

View official source →
DSpark speculative decoding is enabled with a single flag — add --speculative-config with method: dspark to your vLLM launch command / Enable DSpark with `--speculative-algorithm DSPARK` and do not set a separate `--speculative-draft-model-path` as the target and draft weights therefore come from the same checkpoint. — From the passages on enabling speculative decoding and why no separate draft model is specified

Summary: the MIT license matters more than the scores

The core of DeepSeek-V4-Flash-0731 is one fact: a model with a small activated parameter count beat its own company's flagship across nine officially presented benchmarks (two of which are internal test sets). That the gap opened with the architecture held constant suggests scale alone does not determine capability. What changed to produce it, the company has not explained.

But the benchmark figures are self-reported and the harness used to measure them is unreleased. Deciding on adoption from that table would be premature. The higher-confidence fact is the license. MIT weights in your hands is not contingent on measurement conditions. Run it on your own workload and measure against your own bar—that is the most reliable evaluation available today. When you assemble config files and message arrays, getting the structure clean before you send it saves you the debugging.

Free ToolJSON Formatter & ValidatorPretty-print or minify JSON data. Catch syntax errors instantly with line numbers and tree view.Try it now →

FAQ

Q. Is DeepSeek V4-Flash 0731 free to use?
The weights are published under the MIT License, so you can use them free of charge, including commercially. The official card states that both the repository and the model weights fall under MIT. Running it yourself still costs compute, and the official launch examples assume multi-GPU nodes.
DeepSeek official model card — License
This repository and the model weights are licensed under the MIT License. DeepSeek official model card — License
Q. Does it really outperform the in-house flagship V4-Pro?
DeepSeek says it beat DeepSeek-V4-Pro (Preview) on all nine benchmarks listed on the model card, despite a far smaller activated parameter count. These are the developer's own measurements, and no third party has reproduced them yet.
DeepSeek official model card — Introduction
DeepSeek-V4-Flash-0731 outperforms DeepSeek-V4-Pro (Preview) on benchmarks listed below despite its far smaller activated parameter count, and is broadly competitive with the strongest proprietary models available. DeepSeek official model card — Introduction
Q. Which reasoning_effort level should I pick?
There are three: low, high and max. The parameter controls how much the model deliberates before answering. DeepSeek states that the code agent tasks among the public benchmarks were measured at max, so match that setting if you want to reproduce the table, and try low when latency matters more.
DeepSeek official model card — Chat Template
The `reasoning_effort` parameter now supports three levels — `low`, `high`, and `max` — which control how much deliberation the model spends before answering. DeepSeek official model card — Chat Template
Q. Are there recommended settings for local runs?
DeepSeek recommends temperature = 1.0, with top_p = 0.95 for agentic scenarios and 1.0 otherwise. For the high and max reasoning effort levels it recommends allowing up to 384K output tokens. Set that budget too low and the model gets cut off mid-deliberation.
DeepSeek official model card — How to Run Locally
For local deployment, we recommend setting the sampling parameters to `temperature = 1.0`, with `top_p = 0.95` for agentic scenarios and `top_p = 1.0` otherwise. For the `high` and `max` reasoning effort levels, we recommend a maximum output length of 384K tokens. DeepSeek official model card — How to Run Locally

Related Tools

Related Tool Categories

Articles