Benchmarks · 2 August 2026 · Asfandyar Malik
The $0.14 Model
An Interactive Teardown — 8 models, four scenes, every figure sourced
The chart everybody posted
Terminal-Bench 2.1, July 2026. DeepSeek V4-Flash second at $0.14/$0.28, above Fable 5 at $10/$50.
One prompt, a playable FPS
@elshayib_ built it in Hermes Agent — 32 minutes, seven cents. 31 July 2026, 294.7K views. Open the post ↗
Three models, one game
@CommandCodeAI scored DeepSeek, Kimi K3 and GLM 5.2 on gameplay, UX/UI and cost. 1 August 2026. Open the post ↗
Ten hours, 50M tokens
@hieuSSR at max reasoning effort via opencode — and it still needed extra prompts to stop the camera spinning. Open the post ↗
The chart nobody posted
AA-LCR long-context reasoning, all 26 entries. DeepSeek V4 Flash 0731 sits at 66%.
DeepSeek's own table
V4-Flash-0731 against Flash-Preview, Pro-Preview, GLM-5.2 and Opus-4.8 across nine benchmarks.
Intelligence Index
The 0731 checkpoint at 50, up from 40 for the April Flash.
The release itself
MIT-licensed. 0731 supersedes the preview and, DeepSeek says, outperforms V4-Pro-Preview despite far fewer active parameters.
Terminal-Bench, with the price under it
The same four scores, each one carrying what a million tokens costs.
Intelligence against cost per task
The DeepSeek point is a third-party annotation, not a published value — so it is drawn with a dashed ring.
Your curve lands here
Score against context length at 4K, 64K and 200K. No illustrative line — run the sweep and plot your own.
Tip
Drag to rotate.
Click a dot to read a figure.
Switch scenes above.
Scene 01 · 3D specimen — click a dotDeepSeek V4 Flash 0731 · $0.14 / $0.28 per million tokens
A $0.14 model just beat Claude Fable 5 on Terminal-Bench. Here is the chart nobody posted next to it.
On 31 July 2026, DeepSeek quietly updated their changelog. The new V4 Flash 0731 checkpoint scored 82.7 on Terminal-Bench 2.1 — above Claude Fable 5, and a jump of more than 25 points over the April preview. It costs $0.14 per million input tokens and $0.28 per million output. Fable 5 costs $10 and $50.
That is a 70x price gap, and the cheap model is winning. Put every current model on the same axis and the gap stops being an abstraction:
"DeepSeek silently updated their changelog with a new V4-Flash upgrade 1 hour ago. Their new Terminal-Bench score is 82.7, a massive +25.8 point leap from its initial April preview score of 56.9."
@cline, who spotted the changelog before the announcementThis is the screenshot that went everywhere:
Everything on that chart is true. It is also one benchmark, and the shape of a model is not one number. Below is the other chart, what three people found running it on real work, and the specific question you should ask before you route anything to it.
Snapshot: 1 August 2026. Benchmarks and prices move fast; every figure below is sourced, and the leaderboard and pricing pages are linked at the end so you can check them the day you read this.
Same checkpoint, different question, very different answer.
Terminal-Bench asks whether an agent can finish a task in a terminal — tools, files, commands, iterate until it works. DeepSeek is genuinely excellent at that.
AA-LCR asks something else: can the model reason across a long context, not just retrieve a fact from it. On that evaluation the same 0731 checkpoint scores 66%. It improved — up three points from the previous Flash — but it is not near the top.
That gap is the whole point. A 1M-token context window tells you how much text fits. It does not promise the model will hold every dependency across that text equally well. Those are separate capabilities, measured by separate benchmarks, and only one of them made it into the screenshots.
An agent upgrade, not a bigger model.
DeepSeek describes 0731 as an agent-capability upgrade to the existing V4 Flash architecture. Same size — 284B total parameters, 13B active — same 1M context, same price. What changed is behaviour:
"We've massively upgraded its Agent capabilities — benchmark scores are now far surpassing the V4-Pro-Preview. The official V4-Flash now natively supports the Responses API format and is fully adapted for Codex."
DeepSeek, announcing the public betaThat Codex line is the part with practical consequences: it means you can point an existing Codex setup at this model without rebuilding your harness.
Artificial Analysis put the new checkpoint at 50 on their Intelligence Index, up from 40 for the April Flash. That places it level with Gemini 3.6 Flash, one point behind GPT-5.6 Luna and GLM-5.2, and seven behind the open-weights leader Kimi K3.
Two numbers from that run deserve more attention than the headline. Output token use fell about 12% — roughly 206M tokens to run the index against 234M before — so it got smarter while talking less. And the hallucination rate dropped 12 points to 84%, which is where the Omniscience gain came from: it is not more accurate, it just declines to guess as often.
The number that made everyone pay attention was not a benchmark.
Benchmarks moved the conversation, but this is the post that moved people to actually try it — one prompt, a full agent run, and a bill you have to read twice.
"Deepseek V4 Flash 0731 now has the best model intelligence vs cost out of any model. It's around the same intelligence as GLM 5.2 and GPT Luna while being way cheaper (only $0.14/$0.28 per 1M tokens)."
@nutlopeSeven cents. His framing — "this model is so cheap to the point where 2 dollars can last you a full day" — is the honest version of the excitement, and at these rates it is arithmetically fair. Cheap enough changes what you are willing to attempt: parallel candidates, throwaway experiments, agent loops you would never have run at $50 per million output tokens.
Then somebody ran the controlled version, and the gap showed up.
The single-model demo tells you it works. It cannot tell you what you gave up. For that you need the same prompt against comparable models, scored the same way — which is exactly what Command Code ran.
The scoreboard is the most useful thing published about this model all week — quality on the left, what it cost on the right:
Their conclusion — "~150x cheaper, but rough around edges" — is the sentence to keep. DeepSeek did not fail. It produced a working result for a twentieth of a cent while the polished builds cost roughly a hundred and fifty times more. Whether 7/10 at $0.0005 beats 9.5/10 at $0.0740 depends entirely on whether anyone has to look at the output.
That is the decision, stated plainly: if a human reviews it, buy the polish. If a test reviews it, buy the price.
Token price is not task price.
Here is the run that complicates the seven-cent story. Same model, turned all the way up, on a genuinely hard one-shot build.
Fifty million tokens. At $0.28 per million output that is real money, and more importantly it is ten hours of wall time for one attempt. His verdict — "weirdest Spiderman I've ever seen", needing extra sequence prompts to stop the camera spinning — is the part that matters: the spend did not buy a finished result.
This is the trap in every cheap-model comparison. A low per-token rate becomes expensive when the model needs more turns, longer outputs, or repeated retries to reach the same place. Measure the finished job, not the row on the pricing page:
- Use your real production prompt. Toy prompts hide the failure modes that cause retries, and retries are where the price advantage goes.
- Record total input, output, cache hits, retries, and wall time. Not just the per-token rate.
- Score the finished artifact. A successful API response is not a successful task.
- Run it more than once. One lucky or unlucky result is not a routing policy.
The API price is not even the real story. The weights are.
Everything above is about renting the model by the token. But this is an open-weights release, and quantised builds landed within a day — which means the per-token price stops being the ceiling on what it costs you.
"DeepSeek V4 Flash 0731 can now be run locally. Run lossless 4-bit on 168GB RAM and 3-bit on 110GB RAM. V4 Flash 0731 outperforms V4 Pro. Run via Unsloth or llama.cpp."
@UnslothAI — guide · GGUF weights168GB of RAM is not a laptop, but it is not a datacentre either — and the 3-bit build at 110GB brings it inside reach of hardware people actually own.
"You can now host frontier AI on average hardware… you can run some versions of it on 96gb Mac Studio or even a DGX Spark. $4,000 hardware now gives you unlimited super intelligence."
@AlexFinnTreat "unlimited super intelligence" as enthusiasm rather than a spec — a 3-bit quant is not the full-precision model, and the AA-LCR gap above does not close because you moved the weights to your own box. What is genuinely true is the shape of the trade: a fixed hardware cost replaces a per-token bill, and for a workload you run constantly that arithmetic can flip fast.
"Tokens will be 100x cheaper in 24 months. You're going to run 50% of tokens on your local hardware unmetered."
@JasonThat is a prediction, not a measurement, and it belongs in the same bucket as every other confident forecast about this industry. But the direction is hard to argue with when a model that beats Fable 5 on one agentic benchmark ships weights you can download the same week.
Test the context curve, not the maximum window.
The gap between the two charts is a long-context reasoning gap, so measure that directly. The sweep below runs one reasoning task at three context lengths against two models, with a fixed answer key. Five facts are scattered through each generated document and every question requires combining several of them — which avoids the usual needle-in-a-haystack mistake of measuring retrieval when you meant to measure reasoning.
The dry run spends nothing and prints exactly what it would call:
cd content/08-deepseek-v4-flash-interactive/experiments
./context-sweep.sh --dry-run
When you are ready to spend, build the documents first, then run the paid sweep:
./context-sweep.sh --build-only
./context-sweep.sh
Read individual answers, not just the aggregate score. Treat API failures as a separate column from wrong answers — they are a different problem with a different fix. And repeat the sweep before you conclude anything, because a single pass at one context length is noise.
How to decide, in one pass.
Route to DeepSeek V4 Flash when the work is terminal- or tool-heavy, you can verify the result automatically, retries are cheap, and your prompts repeat a long prefix that will hit the 98% cache discount.
Run a head-to-head first when the task needs reasoning across a large codebase or research corpus. That is the AA-LCR gap, and it is the one place the benchmark spread should make you cautious.
Buy the polish instead when a human looks at the output. Command Code's 7/10 versus 9.5/10 is the whole argument — for user-facing work, a hundred and fifty times cheaper is not the number you are optimising.
Watch the clock, not just the bill. Ten hours and 50M tokens for one attempt is a real cost even at $0.28 per million.
Bottom line: DeepSeek V4 Flash 0731 is a genuinely strong low-cost agent engine, and the Terminal-Bench result is real. Buy the price advantage where the task is verifiable and the prefix is cacheable. Do not turn one benchmark into a universal claim — the second chart exists.
Three routes into a real agent, none of them longer than a coffee.
Everything above is an argument about where this model belongs. Here is how you put it in front of your own work, so the argument stops being theoretical. All three routes end at the same place: a terminal agent that edits your files, running on a $0.14 model.
OpenCode — the fastest route
The model is already listed in OpenCode — 1M context, $0.14 in, $0.28 out, weights linked from the same page. So the whole setup is one command and an API key from the DeepSeek console:
opencode
/connect # search for DeepSeek, paste your API key
/models # pick the DeepSeek entry, start working
If you want to pin the exact checkpoint rather than whatever the provider list defaults to, declare it yourself in opencode.json. Any OpenAI-compatible endpoint works through the same block:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"deepseek": {
"npm": "@ai-sdk/openai-compatible",
"name": "DeepSeek",
"options": { "baseURL": "https://api.deepseek.com/v1" },
"models": {
"deepseek-v4-flash": { "name": "DeepSeek V4 Flash 0731" }
}
}
}
}
Codex — official, and it needs the Responses API
The 0731 checkpoint natively speaks the Responses API format, which is the part that makes it drop into Codex rather than merely talk to it. There is an official setup script in DeepSeek's docs, or you can edit ~/.codex/config.toml yourself:
model = "deepseek-v4-flash"
model_provider = "deepseek"
[model_providers.deepseek]
base_url = "https://api.deepseek.com/"
wire_api = "responses"
experimental_bearer_token = "<your DeepSeek API key>"
Note wire_api = "responses" — set this to chat completions and you lose the agent behaviour that the Terminal-Bench number was measuring.
Local weights — same config, different URL
This is where the weights section stops being a talking point. Serve a quantised build with llama.cpp, which exposes an OpenAI-compatible endpoint:
llama-server -m DeepSeek-V4-Flash-0731-Q4_K_M.gguf --host 0.0.0.0 --port 8080
Then point the same opencode.json block at http://localhost:8080/v1 instead of the DeepSeek API. The agent cannot tell the difference; your bill can. Nothing leaves your machine and the per-token cost goes to zero — you have swapped it for RAM and electricity.
Whichever route you take, run the sweep above first. A working config proves the model answers. It does not prove the model holds up at the context length your actual codebase occupies — that is the gap the second chart is about.
One reasoning task. Three context lengths. Two models. Scored against an answer key.
Cost: about $1.50 at the prices written at the top of
context-sweep.sh. Almost all of it is Claude's 200k-token call. DeepSeek's three calls come to roughly four cents.--dry-runprints the estimate and calls nothing.
Why it's built this way
AA-LCR measures long-context reasoning, not retrieval. So this test scatters five facts through a long document and asks three questions, each of which needs two or three facts combined. Nothing can be answered by finding one line.
That distinction is load-bearing. A needle-in-a-haystack test — "what's the magic word on line 40,000" — is a retrieval test, every decent model passes it, and it would flatter both models into a flat line. It would also be measuring the wrong thing, which is the exact mistake this video is about.
Haystacks are generated from a fixed seed, so re-running is a real re-run and not a new experiment.
The five steps
1 · Look at the plan (free)
cd youtube-videos/06-deepseek-v4-flash-the-other-chart/experiments
./context-sweep.sh --dry-runBuilds the haystacks, prints the six calls it would make and a cost estimate. Nothing is called and nothing is spent. Read the estimate before you go further.
2 · Read one haystack yourself
./context-sweep.sh --build-only
head -40 haystacks/hay-4000.txt
tail -12 haystacks/hay-4000.txt
cat haystacks/key-4000.json3 · Set the two keys and run
export DEEPSEEK_API_KEY=... # never commit these
export ANTHROPIC_API_KEY=...
./context-sweep.shSix calls, a few minutes, ~$1.50. Prints the score-vs-context table and the real cost per cell.
4 · Read the detail before you believe the score
cat out/deepseek-v4-flash-200000/score.json | jq '.detail'This is not optional. The grader is lenient about form and strict about content, but it is still a regex. Two failure modes to check for by eye:
- A right answer in the wrong format scores zero. The prompt does demand a strict format, so instruction-following is legitimately part of the test — but you should know that's what happened rather than report it as a reasoning failure.
5 · Run it a second time
It's cheap enough. "Two runs" is a materially stronger sentence than "one run" for about a dollar fifty, and if the two runs disagree, that's the most interesting thing you'll find all week and it goes straight in the video.
Then type the numbers into slide 17 of ../slides-youtube.html — it ships with — placeholders and an empty plot. Replace every one.
Rules
out/andhaystacks/are gitignored. Don't commit run artefacts.
Files
| File | What it does |
|---|---|
context-sweep.sh | The sweep. bash 3.2 (macOS default) — no declare -A, no mapfile, don't reintroduce either |
build-haystack.py | Deterministic haystack + answer key for one context size |
score.py | Grades one answer against the key. Lenient on form, strict on content |
What was tested before this shipped
Against a stubbed curl, so no real spend:
- ✅ Both provider response shapes parsed (Anthropic
content[], OpenAI-compatiblechoices[]) - ✅ Cost arithmetic checked against known token counts
- ✅ API failure →
FAIL, never a silent0%; error kept inout/*/error.txt - ✅ Missing/empty answer file handled
- ✅ Grading: terse-correct, verbose-correct, alternate phrasing, wrong content, partial, and the case where an answer says "none" and names a depot (must fail)
- ✅ Same seed → byte-identical haystack; different seed → different haystack
- ✅
--reportreplays a finished run without calling anything - ✅
bash -nclean, and no bash-4-only syntax
Keep exploring
More long-form resources built the same way — primary sources, working files, and an experiment you can run yourself.
Every figure in the bench above is published in the research on this page and linked to its source. Where a lab never published a number, the bench draws a gap rather than an estimate.