DeepSeek V4 Flash 0731: 82.7% Terminal-Bench, Beats Pro
DeepSeek shipped V4-Flash-0731 on July 31, 2026, moving the efficiency model from preview to public beta. The architecture didn’t change — still a 284-billion-parameter mixture-of-experts model with 13 billion active parameters and a 1-million-token context window. What changed is the post-training. And the numbers are loud.
Terminal-Bench 2.1 jumped from 61.8% to 82.7%. That’s a 21-point gain from re-post-training alone. For context, DeepSeek’s own V4-Pro-Preview sits at 72.1%. A Flash model — the one you pick when you want speed and low cost — is now outperforming the Pro variant on the benchmark developers actually use to evaluate agentic coding. The Artificial Analysis Intelligence Index puts it at 50, a 10-point lift over the previous Flash build.
This is not a new model. DeepSeek’s model card is explicit: same architecture, same size, re-post-trained. The gains come from what they fed it during that phase — specifically agent trajectories, tool-calling sequences, and coding workflows. It’s a sign that post-training data composition is now as important as pretraining scale, maybe more.
What 82.7% on Terminal-Bench actually means
Terminal-Bench is not a chatbot benchmark. It’s not MMLU or HumanEval or any of the standard evals that models have been gaming for two years. It tests whether a model can operate inside a real terminal: navigate filesystems, run commands, debug failures, install dependencies, edit configs. Things a developer does.
A score of 82.7 means the model successfully completes 4 out of 5 real-world terminal tasks without human intervention. The previous Flash preview managed about 3 out of 5. V4-Pro-Preview, a larger and more expensive model, manages roughly 3.5 out of 5.
So the Flash model got better at actually doing things, not just answering questions about doing things. This tracks with what DeepSeek has been optimizing for: the model ships with DSpark, a speculative decoding module that speeds up inference, and now supports the Responses API — the same interface OpenAI uses for its agent-oriented endpoints. It’s also adapted for Codex, Anthropic’s coding agent CLI.
The implication: DeepSeek is positioning Flash as an agent backbone, not just a cheap chatbot.
The numbers that matter
Here’s the benchmark table that matters:
| Benchmark | V4-Flash Preview | V4-Flash 0731 | V4-Pro Preview |
|---|---|---|---|
| Terminal-Bench 2.1 | 61.8% | 82.7% | 72.1% |
| τ³-Bench Banking | 23% | 31% | — |
| Artificial Analysis IQ | 40 | 50 | — |
| Aider Polyglot | — | 57.1% | 48.9% |
| SWE-Bench Verified | — | 58.0% | — |
The τ³-Bench Banking number is worth pausing on. It measures whether a model can navigate a simulated banking interface — authenticating, checking balances, initiating transfers — without hallucinating transactions or violating business rules. Flash went from 23% to 31%. Still low in absolute terms, but an 8-point gain on a benchmark that punishes sloppiness hard.
Aider Polyglot at 57.1% puts it in the same conversation as Claude Opus 4 and GPT-5. SWE-Bench Verified at 58.0% is competitive. These are coding benchmarks where correctness matters — you either pass the test suite or you don’t.
Pricing and access
Flash’s pricing is $0.14 per million input tokens and $0.56 per million output tokens. That’s roughly half of what GPT-4o costs and about a third of Claude Opus. For comparison: DeepSeek V4-Pro costs $0.55/M input, so Flash is about 4x cheaper while now matching or exceeding Pro on agentic benchmarks.
The API is in public beta. If you were already calling deepseek-v4-flash during the preview, nothing changes — the model name stays the same, the new weights are served automatically. If you have not tried it, the endpoint is identical to DeepSeek’s other chat models: OpenAI-compatible, same SDKs, same streaming.
The model is MIT-licensed. You can pull the weights from Hugging Face and run it locally if you have the hardware (you won’t run a 284B model on a laptop, but 4-bit quantization brings it into 2×A100/H100 territory). The DSpark speculative decoding module is bundled with the checkpoint, so you get the speedup out of the box.
What changed in the post-training
DeepSeek hasn’t published a detailed technical report yet, but the release notes and model card point to three changes:
Agent trajectory data. The model was fine-tuned on sequences where an agent takes multiple steps — reading a file, running a command, parsing the output, deciding what to do next. This is different from standard instruction tuning, which mostly trains on single-turn question-answer pairs. Multi-step agent data teaches the model to recover from errors and maintain state across tool calls.
Coding workflow data. Beyond just generating code, the training included data where the model plans a change, edits multiple files, runs tests, and iterates. This explains the SWE-Bench and Aider gains — those benchmarks evaluate the full loop, not just code generation.
Speculative decoding integration. DSpark was already part of the Flash architecture, but the 0731 checkpoint appears to tune the draft model (the smaller model that predicts tokens for the larger model to verify) specifically for agentic workloads. This matters because agent tasks involve a lot of structured outputs — JSON tool calls, shell commands, file paths — where speculative decoding can be particularly effective.
Who should use this
If you’re building AI agents that need to interact with real systems — running CLI tools, editing codebases, calling APIs — V4-Flash-0731 is now the strongest cost-performance option in DeepSeek’s lineup. You get Pro-level agent performance at Flash pricing.
If you’re already on the V4-Flash preview API, you get this upgrade for free. No migration, no config changes.
If you’re cost-sensitive and were considering GPT-4o or Claude Sonnet for agent workloads, Flash at $0.14/M is worth a benchmark on your specific task. The Terminal-Bench numbers are impressive, but agent performance varies heavily by domain — test it on your actual use case.
Who should not use this
If your workload is primarily creative writing, long-form analysis, or tasks that require nuanced reasoning over long contexts, the Pro model (or Claude/GPT-5) may still be better. Flash’s gains are concentrated in agentic and coding tasks. The model card doesn’t claim improvements on general reasoning or creative benchmarks, and the re-post-training focused on agent data — so areas outside that scope are likely unchanged from the preview.
If you need sub-100ms latency for real-time applications, Flash is fast (especially with DSpark) but not optimized for that. Look at Groq or Cerebras for pure speed.
If you’re deploying in a regulated environment that requires model version pinning and deterministic behavior, the public beta status means DeepSeek can push weight updates without notice. Wait for GA if that matters to you.
The bigger picture: post-training as the new battleground
The V4-Flash-0731 release says something about where model development is heading. Everyone has access to roughly the same pretraining data and roughly the same architectures. DeepSeek trained a 284B MoE — impressive, but not unique. What made the difference was what happened after pretraining.
This is the same pattern we saw with Claude’s Constitutional AI fine-tuning, with GPT-5’s RLHF pipeline, and now with DeepSeek’s agent-focused post-training. The raw model is the commodity. The post-training recipe is the product.
It also means benchmark numbers are becoming less comparable across providers. Terminal-Bench 2.1 is DeepSeek’s own harness. SWE-Bench and Aider are community benchmarks, but the way models are prompted, the tools they’re given, and the evaluation setup all affect the score. 82.7% on Terminal-Bench doesn’t mean “better than Claude Opus” — it means better on this specific harness. The only number that matters is how it performs on your task, with your prompts, in your environment.
What I’d watch next
Three things:
-
Responses API adoption. DeepSeek explicitly added support for the Responses API alongside the standard chat endpoint. If third-party agent frameworks (LangChain, CrewAI, AutoGen) start building DeepSeek-first integrations around this API, Flash becomes a default backend for a lot of agent pipelines.
-
DSpark in production. Speculative decoding sounds great in benchmarks, but production latency depends on the draft model’s accuracy on your specific workload. If the draft model guesses wrong often, the speedup evaporates. Real-world numbers from people running Flash at scale will matter more than the published specs.
-
What DeepSeek does with V4-Pro. If Flash at $0.14/M is beating Pro-Preview on agent benchmarks, they have to either drop Pro’s price, boost its performance significantly, or accept that Flash cannibalizes Pro for the fastest-growing segment of LLM usage. My guess: a V4-Pro refresh with similar post-training improvements within the next month.
This release is not the biggest model launch of 2026. It’s not a new architecture or a step-change in scale. It’s a targeted improvement that makes a specific, measurable difference on the benchmarks developers care about. For the people building agents on a budget, that’s better than a flashy paper.
The competitive landscape
Flash 0731 lands in a crowded efficiency-model market. Mistral’s Large 3 costs $0.20/M, Qwen3-235B runs open-source at comparable quality, and Llama 4 Scout is free if you host it yourself. Flash’s advantage is the combination: MIT license, hosted API at $0.14/M, and agentic benchmarks that match models costing 3-4x more.
The DSpark speculative decoding module is underrated. Most providers treat inference optimization as an infrastructure problem — bigger clusters, better batching, faster interconnects. DeepSeek baked it into the model. That means anyone running Flash locally gets the speedup without configuring a separate draft model or tuning a speculative decoding pipeline. It just works.
Where Flash doesn’t compete: multimodal. No vision, no audio, no image generation. If your agent needs to process screenshots or generate diagrams, you need a different model or a pipeline that routes those tasks elsewhere. DeepSeek has been explicit that V4 is text-only, and the 0731 refresh didn’t change that.
Running Flash locally
If you want to self-host, pulling the full 284B model needs serious hardware — think 8×H100 or 4×H200. But the ecosystem moves fast. GGUF quantizations (Q4_K_M at ~150GB) are already available on Hugging Face, and they run on 2×A100 80GB or a single H100 with offloading. llama.cpp and vLLM both support the architecture.
A quantized Flash at Q4 still outperforms most 70B-class models on coding benchmarks. You lose some precision on the agentic tasks — the draft model in DSpark is more sensitive to quantization than the main model — but it’s still usable for non-critical workflows. For production agent pipelines, the hosted API at $0.14/M is almost certainly cheaper than running your own GPUs unless you’re doing serious volume.
Sources:
- DeepSeek API Changelog (July 31, 2026)
- DeepSeek-V4-Flash-0731 Hugging Face model card
- Artificial Analysis: DeepSeek V4 Flash 0731 Intelligence Index
- OrcaRouter: DeepSeek V4 Flash Official Release Explained
- MarkTechPost: DeepSeek V4 Flash 0731 Agentic Gains