DeepSeek V4 Flash 0731 is the official release of DeepSeek's small agentic model, shipped July 31, 2026 with MIT-licensed open weights the same day. It keeps the 284B-total / 13B-active MoE architecture from the April preview but was re-post-trained specifically for agentic performance, with the DSpark speculative decoding module attached and native Responses API plus Codex support added. On DeepSeek's published benchmarks the official Flash build now outruns the much larger V4-Pro preview, making it one of the best cost-per-task models in the frontier agentic coding space.
1M context, 384k max out.
Core Features
- Re-post-trained for agents: Same architecture as the preview, but the post-training pass focuses on tool use, multi-step tasks, and keeping full reasoning history in context across every tool-calling round.
- DSpark speculative decoding: Built-in draft module speeds inference; enable with a single
--speculative-configflag on vLLM orDSPARKon SGLang. - Three reasoning efforts:
low,high, andmaxcontrol deliberation, withmaxpushing full problem decomposition and edge-case testing; non-thinking mode is also supported. - Codex-ready API: Native OpenAI Responses API support and explicit adaptation for Codex, plus an Anthropic-compatible
/anthropicendpoint. - Massive context: 1M-token context with up to 384K output tokens, keeping long agent sessions in one window.
Model Specifications
| Specification | DeepSeek V4 Flash 0731 |
|---|---|
| Parameters | 284B total / 13B active (304B with DSpark module) |
| Context / max output | 1M tokens / 384K tokens |
| Reasoning effort | low, high, max + non-thinking |
| License | MIT (open weights) |
| Weights | Hugging Face: deepseek-ai/DeepSeek-V4-Flash-0731 |
Pricing
| Item | Price per 1M tokens |
|---|---|
| Input | $0.14 |
| Output | $0.28 |
| Cached input | $0.0028 (98% cache-hit discount) |
A 2x peak-hours surcharge (09:00-12:00 and 14:00-18:00 Beijing time) was announced but not yet effective at release.
Benchmark Highlights
- Terminal Bench 2.1: 82.7, more than twenty points above the preview build.
- Agentic benchmarks: Outperforms the DeepSeek-V4-Pro preview on every agentic benchmark DeepSeek publishes, despite being roughly 12x smaller in active parameters.
- Ecosystem: The model antirez's DwarfStar 4 (ds4) native C inference engine was built around.
Use Cases
- Cost-sensitive agent pipelines: Frontier-adjacent agentic performance at $0.14/$0.28 per 1M tokens.
- Codex-compatible workflows: Teams already on OpenAI-shaped APIs can switch the model name and keep their stack.
- Local agent deployment: MIT weights run on commodity hardware with vLLM, SGLang, or llama.cpp-class engines.
- High-concurrency services: Up to 2,500 concurrent requests on the API.
Advantages
- Price-performance king: 13B active parameters that outscore a 49B-active flagship on agentic benchmarks.
- Open and practical: MIT weights with DSpark and a huge context make it the strongest open agentic model per dollar.
- Ecosystem fit: Native Codex adaptation and Anthropic-compatible endpoints remove integration friction.
Tips
- Enable DSpark: Speculative decoding is the headline speed feature; use the documented flag on your serving stack.
- Raise output limits for max effort: The
maxreasoning level benefits from the 384K output ceiling. - Exploit the 98% cache discount: Long shared prefixes cost nearly nothing on cache hits, which changes how you structure agent prompts.
Conclusion
DeepSeek V4 Flash 0731 is the definitive small agentic model of the summer: open weights, 1M context, and a cost profile that makes frontier-adjacent agent coding affordable at scale. If your team builds agents on a budget, it is the strongest starting point.
Alternatives
- DeepSeek V4 Pro 0813: The 1.6T flagship for maximum capability when cost is secondary.
- GLM-5.3: The new open-weight coding leader at slightly higher cost.
- Kimi K3: Open-weight 2.8T model with comparable agentic scores.
Comments
No comments yet. Be the first to comment!
Related Tools
Related Insights
Seven AI Coding CLIs, Six Months: No Matter How Strong the Model, Work Needs Supervision
Claude Code, Codex, opencode, pi, omp and DeepSeek Harness all have personalities. After six months of deep use I run a division of labor: pi for the fastest cheapest reviews, omp for complex PRs, DeepSeek Harness on V4 Flash for high-frequency low-cost review, and Claude Code, Qoder and Cursor for writing. No matter how strong the model, work needs supervision — ideally from an independent third party.
Hook OpenCode Go into Codex on Windows. Do Not Open a Second Toolkit.
A ChatGPT-signed Codex desktop app still shows mostly GPT in the picker. On Windows, enable only OpenCode Go and the Grok, GLM, Kimi, DeepSeek, and MiniMax models you already pay for appear in the same selector. Keys stay local. Native GPT stays put.

Anthropic Subagent: The Multi-Agent Architecture Revolution
Deep dive into Anthropic multi-agent architecture design. Learn how Subagents break through context window limitations, achieve 90% performance improvements, and real-world applications in Claude Code.