
TL;DR
DeepSeek shipped the official V4 Flash release on July 31, 2026. The re-post-trained 0731 build beats V4-Pro-Preview on agent benchmarks at $0.14/$0.28 per million tokens. Here is what changed and how to run it through OpenCode today.
DeepSeek moved V4 Flash out of preview on July 31, 2026. The official API release, build name DeepSeek-V4-Flash-0731, keeps the exact same architecture and size as the preview - the changelog is explicit that it "was only re-post-trained" - and yet the agent benchmark numbers now "far exceed V4-Pro-Preview," the much larger model in its own family. The small model beating the big one on agentic work, at roughly a third of the output price, is the story.
This post covers what shipped, what it costs, and the fastest way to actually run it: through OpenCode, the same setup we used for our GLM 5.2 walkthrough. It is also the model our own site automations run on, so the numbers below are backed by daily production use, not a one-off demo.
| Resource | Description |
|---|---|
| DeepSeek API Change Log | The official 0731 release entry with benchmarks and API notes |
| DeepSeek release note on X | Scope of the update: Flash API only, V4-Pro official release "coming ASAP" |
| OpenCode Docs | Install and configuration for the coding agent used below |
DeepSeek V4 Flash first appeared on April 24, 2026 as the smaller half of the V4 family: a 284B-parameter MoE with 13B active per token, a 1M-token context window, and MIT-licensed weights, next to the 1.6T-parameter V4 Pro. The 0731 build is the official API release of that model, now in public beta.
Three things changed, per the official changelog:
The update applies only to the deepseek-v4-flash API model. The V4-Pro API and the app/web models are unchanged; DeepSeek says the official V4-Pro release is coming soon.
From the official changelog, the 0731 numbers on agent tasks:
| Benchmark | DeepSeek-V4-Flash-0731 |
|---|---|
| Terminal Bench 2.1 | 82.7 |
| Cybergym | 76.7 |
| Toolathlon (verified) | 70.3 |
| DeepSWE | 54.4 |
| NL2Repo | 54.2 |
For scale: Terminal Bench 2.1 at 82.7 is above the 76.1 Kimi K3 posted at its launch two weeks ago, and K3 was already leading every proprietary model we tracked on that benchmark. Treat cross-announcement comparisons with the usual caution - different labs, different harnesses - but the direction is unmistakable: the open-weight models now own long-horizon terminal work.
Independent measurement agrees. Artificial Analysis scores the 0731 reasoning build (max effort) at 50 on Intelligence Index v4.1, ranking #2 of 162 models measured, against a median of 17. Their one caveat: it is verbose, generating 210M tokens across the eval suite versus a 62M median, so real costs run higher than the sticker price implies.
From the archive
Jul 31, 2026 • 6 min read
Jul 31, 2026 • 6 min read
Jul 31, 2026 • 7 min read
Jul 31, 2026 • 8 min read
First-party API pricing, unchanged in this release:
| Price per 1M tokens | |
|---|---|
| Input (cache miss) | $0.14 |
| Input (cache hit) | $0.003 |
| Output | $0.28 |
That output rate is roughly a third of V4 Pro's $0.87, and the cache-hit input rate is a 98% discount - the same cache-first economics we broke down in the DeepSeek V4 developer guide. Context is 1M tokens with 384K max output, which means whole repositories and long agent traces fit without aggressive compaction.
The verbosity caveat matters here: a reasoning model that emits 3x the median token count erodes some of the per-token advantage. It is still one of the cheapest frontier-adjacent options on the market, but budget on tokens generated, not price per token.
The fastest way to put 0731 through real work is OpenCode. Install it with the official one-liner from the OpenCode docs:
curl -fsSL https://opencode.ai/install | bash
The model is available as opencode-go/deepseek-v4-flash (and on the opencode provider as deepseek-v4-flash). It supports two reasoning variants, high and max, selected with --variant:
# One-shot run at max reasoning effort
opencode run --model opencode-go/deepseek-v4-flash --variant max \
"find the flaky test in this repo and explain why it fails"
# Interactive session with the model preselected
opencode --model opencode-go/deepseek-v4-flash
Our take after running it as the default model for this site's own automations: max is the right variant for multi-step agent tasks - the Terminal Bench-style loops where the model plans, runs commands, and self-corrects. high is noticeably faster and cheaper for single-file edits and review passes, and given the verbosity numbers above, dropping to high when the task does not need long-horizon planning is the easiest cost lever you have.
The Codex adaptation in 0731 is worth noting even if you live in OpenCode: it means the same model slots into Responses-API harnesses without translation glue, so switching harnesses does not mean switching models.
The awkward truth of this release is that DeepSeek's own numbers put the 284B Flash ahead of the 1.6T Pro preview on agent benchmarks. Until the official V4-Pro release lands, the decision guide is short:
Use V4 Flash 0731 when:
Wait for or use V4 Pro when:
For how the V4 family stacks up against the other open-weight contenders, our GLM 5.2 vs DeepSeek V4 vs Qwen3 showdown is the fuller comparison.
The official API release of DeepSeek V4 Flash, shipped July 31, 2026 in public beta. It keeps the preview's architecture (284B MoE, 13B active) and was re-post-trained, which lifted its agent benchmarks past V4-Pro-Preview. You access it with the model id deepseek-v4-flash.
$0.14 per million input tokens (cache miss), $0.003 on cache hits, and $0.28 per million output tokens on the first-party API. Note the model is verbose - Artificial Analysis measured 210M generated tokens on its eval suite versus a 62M median - so effective costs run above the per-token rates.
1 million tokens, with up to 384K output tokens.
Install OpenCode (curl -fsSL https://opencode.ai/install | bash), then run opencode run --model opencode-go/deepseek-v4-flash --variant max "your task". The model supports high and max reasoning variants; use high for quick edits and max for long agent loops.
No. DeepSeek states the upgrade applies only to the V4-Flash API; the V4-Pro API and app/web models are unchanged, with the official V4-Pro release to follow.
| Source | URL |
|---|---|
| DeepSeek API Change Log (0731 entry) | https://api-docs.deepseek.com/updates/ |
| DeepSeek announcement on X | https://x.com/deepseek_ai/status/2083084419515220191 |
| Artificial Analysis: DeepSeek V4 Flash | https://artificialanalysis.ai/models/deepseek-v4-flash |
| TechNode: DeepSeek puts V4-Flash API into public beta | https://technode.com/2026/07/31/deepseek-puts-v4-flash-api-into-public-beta/ |
| OpenCode Docs | https://opencode.ai/docs/ |
Last updated: July 31, 2026
Read next
DeepSeek V4 splits into Flash and Pro, ships a 1M context window, and undercuts every closed model on price. Here's how to wire it up with the OpenAI SDK, when to pick it over Claude or GPT, and what changed since V3 and R1.
10 min readA companion guide to the GLM 5.2 video: an open-weight model positioned against GPT-5.5, walked through with benchmarks, pricing, and a live OpenCode demo. Here is what the video covers and where to go deeper.
6 min readKimi K3 is the first open-source 3T-class model with a 1M-token context window, native vision, and OpenAI-compatible API. Here is what it does, how to call it, what it costs, and how it benchmarks against Fable 5 and GPT-5.6 Sol.
6 min readTechnical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.
DeepSeek's open-weights frontier family, previewed April 24, 2026. V4-Pro is 1.6T total / 49B active params; V4-Flash is...
View ToolOpen-source terminal agent runtime with approval modes, rollback snapshots, MCP servers, LSP diagnostics, and a headless...
View ToolOpen-source reasoning models from China. DeepSeek-R1 rivals o1 on math and code benchmarks. V3 for general use. Fully op...
View ToolDeepSeek's reasoning-first model built for agents. First model to integrate thinking directly into tool use. Ships along...
View Tool
DeepSeek V4: 1M Context, 10x KV Cache Savings, and Ultra-Low Pricing DeepSeek released V4, highlighting major long-context efficiency gains: at a 1M-token context, V4 Pro uses 27% of FLOPs and 10% of...

In this video, we delve into the latest release of DeepSeek, version R1 0528. Despite the absence of an official model card or announcement, we cover the key features and benchmarks of this...

In this video, I'll dive into the latest update of DeepSeek's V3 model, recently released on Hugging Face. This model stands out for its impressive performance benchmarks, outclassing even...

DeepSeek V4 splits into Flash and Pro, ships a 1M context window, and undercuts every closed model on price. Here's how...

A companion guide to the GLM 5.2 video: an open-weight model positioned against GPT-5.5, walked through with benchmarks,...

Kimi K3 is the first open-source 3T-class model with a 1M-token context window, native vision, and OpenAI-compatible API...

A data-rich, source-cited comparison of the three open-weights coding models that matter in 2026: GLM-5.2, DeepSeek V4,...

DeepSeek V4-Flash costs $0.28 per million output tokens. Fable 5 costs $50. That 178x gap is real - but so is the qualit...

Agent-Manager, Pane, and Golutra let you run multiple CLI coding agents in parallel. Here is the comparison of architect...

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.