Skip to content

DeepSeek V4-Flash-0731: what changed, and how to use it over the API

On July 31, DeepSeek shipped V4-Flash-0731 — not a bigger model, a retrained one. Same 284B-total / 13B-active architecture, same 1M-token context, same price bracket — but re-post-trained for agent work, and the reported jump is unusual: DeepSeek says the new Flash now beats its own larger V4-Pro-Preview on every one of the nine agent benchmarks it publishes.

If you use the Core Pool, there is nothing to migrate: the model id is still deepseek-v4-flash, and requests already serve the new build. Unlimited, flat-rate access starts from $14.99/mo ($12.74/mo billed annually) — live pricing on /pools.

Same architecture, new post-training. This is DeepSeek’s own reported before/after (vendor harness — no independent verification of these specific numbers yet):

V4-Flash-0731V4-Flash preview
Terminal-Bench 2.1 DSBench-FullStack DeepSWE V4-Flash-0731 — Terminal-Bench 2.1: 82.7 V4-Flash preview — Terminal-Bench 2.1: 61.8 V4-Flash-0731 — DSBench-FullStack: 68.7 V4-Flash preview — DSBench-FullStack: 37.0 V4-Flash-0731 — DeepSWE: 54.4 V4-Flash preview — DeepSWE: 7.3 82.761.8 68.737.0 54.47.3

Full vendor-stated table for the 0731 build:

BenchmarkFlash-0731
Terminal-Bench 2.182.7
Cybergym76.7
Toolathlon70.3
DSBench-FullStack68.7
DeepSWE54.4
NL2Repo54.2

The DeepSWE number is the striking one: the retrain multiplied the preview’s score by seven without touching the architecture. And like the April preview, the 0731 checkpoint is a genuine open-weights release: the weights are published under MIT at deepseek-ai/DeepSeek-V4-Flash-0731 (304B parameters on the repo — the 284B base plus a draft module).

The independent signal comes from Artificial Analysis, which measures Flash-0731 at 50 on its Intelligence Index — ten points above the previous Flash. Honest framing: it does not beat Claude Opus 5 (61) or GPT-5.6 Sol (59) — nothing near this price does. What it does is land within seven points of Kimi K3 (57, the highest open-weights score on the index) from the budget model of the field — with a reference per-token price of $0.28 per 1M output tokens, roughly 90× below Claude Opus 5’s $25:

Served in a CheapestInference poolReference frontier models
Claude Opus 5 Claude Fable 5 GPT-5.6 Sol Kimi K3 Claude Opus 4.8 GLM 5.2 V4-Flash-0731 MiniMax M3 Claude Opus 5 (max effort): 61 Claude Fable 5: 60 GPT-5.6 Sol (max): 59 Kimi K3 (max) — Flagship Pool: 57 Claude Opus 4.8: 56 GLM 5.2 (max) — Frontier Pool: 51 DeepSeek V4-Flash-0731 — Core Pool: 50 MiniMax M3 — Frontier Pool: 44 6160 5957 5651 5044

Same data as a table — each model at its best published configuration (max effort where the index reports one); the median across all models Artificial Analysis tracks is 17:

ModelAA Intelligence IndexOn CheapestInference
Claude Opus 561
Claude Fable 560
GPT-5.6 Sol59
Kimi K357Flagship Pool
Claude Opus 4.856
GLM 5.251Frontier Pool
DeepSeek V4-Flash-073150Core Pool
MiniMax M344Frontier Pool

Four of the eight models on that chart are served here on flat-rate subscriptions — and the 0731 retrain just moved the cheapest pool of the three into frontier territory.

V4-Flash-0731 vs Claude Opus 4.8, GPT-5.6 Luna, and Gemini 3.6 Flash

Section titled “V4-Flash-0731 vs Claude Opus 4.8, GPT-5.6 Luna, and Gemini 3.6 Flash”

Is DeepSeek V4-Flash-0731 better than Claude Opus? On raw capability, no — and we won’t pretend otherwise. DeepSeek’s own release table includes exactly one competitor column, Claude Opus 4.8, and Opus wins all seven shared benchmarks. What the table actually shows is how little it wins by, against a model priced roughly 90× higher per output token at list:

Benchmark (DeepSeek’s release table, vendor-run)V4-Flash-0731Claude Opus 4.8
Terminal-Bench 2.182.785.0
Cybergym76.783.1
Toolathlon-Verified70.376.2
DeepSWE54.458.0
NL2Repo54.269.7
Agents’ Last Exam25.225.7
AutomationBench Public25.127.2
Reference output price, per 1M tokens$0.28$25.00

On Agents’ Last Exam the gap is half a point — effective parity. On Terminal-Bench 2.1 it is 2.3 points. NL2Repo is the one benchmark where the distance stays wide.

Against its actual price peers, the independent picture flips. Per Artificial Analysis: Flash-0731 sits one point behind GPT-5.6 Luna (50 vs 51 at max effort) with a cost per task roughly 60% lower — even after OpenAI’s price cut — ties Gemini 3.6 Flash (50), and lands on AA’s Pareto frontier for Intelligence vs Cost per Task: at this intelligence level, nothing tracked is cheaper per task.

And on a flat-rate subscription the per-token column stops mattering altogether: a Core Pool block is the same price whether your agent burns one million tokens or one billion.

curl:

Terminal window
curl https://api.cheapestinference.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "deepseek-v4-flash", "messages": [{"role": "user", "content": "Hello"}]}'

OpenAI SDK (Python):

from openai import OpenAI
client = OpenAI(
base_url="https://api.cheapestinference.com/v1",
api_key="sk-...", # your subscriber key
)
response = client.chat.completions.create(
model="deepseek-v4-flash",
messages=[{"role": "user", "content": "Fix the failing test in this repo..."}],
)
print(response.choices[0].message.content)

No account yet? Register, subscribe to the Core Pool, and mint a key at cheapestinference.com/keys.

The API also speaks the Anthropic Messages format, so a retrained agent model drops straight into the most popular coding agent:

Terminal window
export ANTHROPIC_BASE_URL="https://api.cheapestinference.com/anthropic"
export ANTHROPIC_AUTH_TOKEN="sk-..." # your subscriber key
export ANTHROPIC_MODEL="deepseek-v4-flash"
export ANTHROPIC_SMALL_FAST_MODEL="deepseek-v4-flash"

Start claude as usual — every request runs on Flash-0731 with no per-token meter. The same key works in Cline, Roo Code, Continue, and anything that accepts a custom OpenAI base URL (setup guides).

Why this release matters for flat-rate users

Section titled “Why this release matters for flat-rate users”

Agent workloads are exactly where per-token bills explode: an agent re-sends its growing context on every tool call, and iteration count — not task value — drives the invoice. A model that is suddenly much better at agent work makes that math worse per-token and better flat-rate: more capable loops, same fixed monthly price. We ran the full per-token vs. flat break-even math in Unlimited DeepSeek: what a flat monthly subscription changes — every row of that table just got more favorable, because the same subscription now serves a stronger model.

The trade-offs, as always: usage is unlimited in tokens during your reserved 8-hour blocks, each subscription runs one request at a time (fair use), and outside your blocks the key doesn’t serve. Full details: DeepSeek V4 Flash API docs · Plans & Limits.

Check live Core Pool availability →


CheapestInference serves Kimi K3 (Flagship Pool), Kimi K2.7, GLM 5.2, and MiniMax M3 (Frontier Pool) and DeepSeek V4 Flash and MiMo v2.5 (Core Pool) through one OpenAI- and Anthropic-compatible API on unlimited time-block subscriptions. See the pools or get started.