$ ls ./menu

© 2025 ESSA MAMDANI

LIVE
GPT-5.6 Sol Ultrafast: What Cerebras-Powered 750 TPS Means for AI AgentsOpenAI Assistants API Shutdown: 2026 Migration GuideScriptC Compiles TypeScript for iOS and AndroidBest Codex and Claude Code Plugins in 2026OpenClaw 2026.8.1-beta.2: Security, Runtime Switching, and Backup GuideAgentic Resource Discovery (ARD): A Practical Guide for AI Agents, MCP, and SkillsGPT-5.6 Sol Ultrafast: What Cerebras-Powered 750 TPS Means for AI AgentsOpenAI Assistants API Shutdown: 2026 Migration GuideScriptC Compiles TypeScript for iOS and AndroidBest Codex and Claude Code Plugins in 2026OpenClaw 2026.8.1-beta.2: Security, Runtime Switching, and Backup GuideAgentic Resource Discovery (ARD): A Practical Guide for AI Agents, MCP, and SkillsGPT-5.6 Sol Ultrafast: What Cerebras-Powered 750 TPS Means for AI AgentsOpenAI Assistants API Shutdown: 2026 Migration GuideScriptC Compiles TypeScript for iOS and AndroidBest Codex and Claude Code Plugins in 2026OpenClaw 2026.8.1-beta.2: Security, Runtime Switching, and Backup GuideAgentic Resource Discovery (ARD): A Practical Guide for AI Agents, MCP, and SkillsGPT-5.6 Sol Ultrafast: What Cerebras-Powered 750 TPS Means for AI AgentsOpenAI Assistants API Shutdown: 2026 Migration GuideScriptC Compiles TypeScript for iOS and AndroidBest Codex and Claude Code Plugins in 2026OpenClaw 2026.8.1-beta.2: Security, Runtime Switching, and Backup GuideAgentic Resource Discovery (ARD): A Practical Guide for AI Agents, MCP, and Skills
cd ../blog
5 min read
Artificial Intelligence

DeepSeek V4 Flash-0731: Official Release Brings Major Agentic and Coding Gains

> DeepSeek moved V4-Flash out of preview on July 31, 2026. Same 284B MoE architecture, but post-training upgrades bring native Responses API, Codex support, and big agentic benchmark gains at $0.14 per 1M input tokens.

ShareXLinkedIn

🎧 Listen — ~5 min

Ready · DeepSeek V4 Flash-0731: Official

0:00 / 5:00
DeepSeek V4 Flash-0731: Official Release Brings Major Agentic and Coding Gains
Verified by Essa Mamdani

On July 31, 2026, DeepSeek moved its V4-Flash model out of preview and into public beta with the release of DeepSeek-V4-Flash-0731. The update does not touch the model's size or architecture. Instead, DeepSeek re-post-trained the same 284-billion-parameter Mixture-of-Experts (MoE) design and unlocked noticeably stronger agent, coding, and tool-use behavior. For developers already using deepseek-v4-flash, the change is drop-in: keep the same model name and the API returns the new checkpoint.

This post breaks down what changed, how the benchmarks compare, what it costs, and how to deploy or self-host it.

What changed on July 31, 2026

The official API release keeps the existing endpoint and model name unchanged. Calling deepseek-v4-flash now routes to the 0731 checkpoint.

Key additions:

  • Native Responses API format support, with adaptation for Codex-style agents.
  • Tool calling and structured JSON output out of the box.
  • Thinking and non-thinking modes selectable through the API.
  • OpenAI-style and Anthropic-style interfaces remain supported.
  • A 1-million-token context window is unchanged.

The model card and API docs are explicit: the architecture and size are identical to the April preview. All gains come from post-training, not a new design.

Architecture and size

PropertyValue
Total parameters284B
Active parameters per token13B
Context window1M tokens
MoE routed experts256
Routed experts fired per token6
AttentionHybrid CSA + HCA
Residual connectionsManifold-Constrained Hyper-Connections (mHC)
LicenseMIT, ungated weights

The model ships on Hugging Face with the DSpark speculative decoding module attached, matching the structure of DeepSeek-V4-Flash-DSpark. The repo is reported at 304B parameters because the draft module sits on top of the 284B base.

Benchmarks: V4-Flash-0731 vs the preview

DeepSeek's published numbers show the official release pulling ahead of the earlier preview on almost every agentic and coding benchmark, and even surpassing the V4-Pro-Preview in several categories.

BenchmarkV4-Flash-0731V4-Flash PreviewV4-Pro Preview
Terminal Bench 2.182.761.872.1
NL2Repo54.239.438.5
Cybergym76.738.752.7
DeepSWE54.47.312.8
Toolathlon Verified70.349.755.9
Agents' Last Exam25.215.816.5
AutomationBench Public25.110.812.8
DSBench-FullStack68.7
DSBench-Hard59.6

Two important caveats:

  1. The code-agent tasks were run with the DeepSeek Harness minimal mode, which has not been publicly released. Third-party reproductions may differ.
  2. DSBench-FullStack and DSBench-Hard are internal DeepSeek test sets, so they cannot be independently verified.

Still, the directional jump is large enough to matter: a model that was already cheap is now competitive with the larger preview on agentic work.

Pricing

DeepSeek's pricing makes V4-Flash attractive for high-volume agent loops:

Token typePrice per 1M tokens
Input (cache miss)$0.14
Input (cache hit)$0.0028
Output$0.28

That output price is roughly one-third of V4-Pro's $0.87. The concurrency limit is 2,500, which is enough for most seed-stage products and internal platform teams.

How to use it via the API

If you already call the DeepSeek API, change nothing except making sure your SDK or HTTP call uses deepseek-v4-flash:

bash
1curl https://api.deepseek.com/chat/completions \
2  -H "Authorization: Bearer $DEEPSEEK_API_KEY" \
3  -H "Content-Type: application/json" \
4  -d '{
5    "model": "deepseek-v4-flash",
6    "messages": [{"role": "user", "content": "Write a Python function that validates an email address"}],
7    "temperature": 1.0,
8    "top_p": 0.95
9  }'

For agentic work, DeepSeek recommends:

  • temperature = 1.0
  • top_p = 0.95
  • reasoning_effort set to low, high, or max
  • Up to 384K output tokens at high and max effort

The model also supports the Responses API format and is adapted for Codex, so you can pass multi-turn tool calls and receive structured reasoning traces.

Self-hosting and deployment

Via API

The lowest-friction path. No GPU budget, no serving stack, and pricing is predictable.

Self-hosted

The weights are MIT-licensed and ungated, so on-premise or private-cloud commercial use is allowed. The challenge is hardware:

  • Full precision / vLLM example: DeepSeek serves it on a single 4×GB300 node.
  • Quantized via Unsloth: a lossless 8-bit GGUF build is around 162 GB; a 3-bit build is around 103 GB, needing roughly 110 GB of combined RAM plus VRAM.

Self-hosting is realistic for mid-size companies with a serving cluster, or a single well-specced workstation if you accept aggressive quantization. For startups and small teams, the hosted API is the practical default.

DSpark speculative decoding

If you self-host with vLLM, enable DSpark with one flag:

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

The DSpark paper reports 60–85% faster per-user generation on V4-Flash compared with the MTP-1 baseline at matched aggregate throughput.

Caveats and gotchas

  • No Jinja chat template. DeepSeek ships an encoding/ folder with encode_messages and parse_message_from_completion_text helpers. Integrations that rely on a standard chat template will need minor adapter code.
  • Vendor-reported benchmarks. The headline agentic numbers are from DeepSeek's own harness. Treat them as directional, not definitive, until independent reproductions appear.
  • V4-Pro API unchanged. This update only affects deepseek-v4-flash. The V4-Pro API and the consumer app/web models are still on their previous checkpoints.

FAQ

Do I need to change my API call? No. deepseek-v4-flash now points to the 0731 checkpoint automatically.

Is the context window still 1M tokens? Yes.

Can I use it with Codex? Yes. The 0731 release is specifically adapted for Codex and supports the Responses API format.

Is self-hosting free? The weights are free and ungated, but you still pay for the hardware to run them.

When is V4-Pro officially releasing? DeepSeek says the official V4-Pro release will follow soon; the 0731 update is Flash-only.

Bottom line

DeepSeek-V4-Flash-0731 is a post-training upgrade that turns an already-cheap model into a stronger agent and coding workhorse. It keeps the same API contract, context window, and architecture, while adding native Responses API support, Codex adaptation, and benchmark numbers that beat the larger V4-Pro-Preview on several agentic tasks. For teams building code agents, autonomous tools, or high-volume API products, it is now one of the most cost-effective frontier options on the market.


Sources: DeepSeek API Docs — July 31, 2026 update, DeepSeek-V4-Flash-0731 model card on Hugging Face, MarkTechPost coverage. Benchmarks are vendor-reported.

Keep reading

#DeepSeek#DeepSeek V4 Flash#LLM#MoE#AI Agents#Codex#API#Open Source AI#2026
ShareXLinkedIn

⚡ Daily AI Model Drop — Get Kimi K3 benchmarks before Twitter

Join 2,400+ AI engineers. 1 email/day, no spam, unsubscribe anytime

Comments