DeepSeek V4 Flash 0731 vs GPT-5.4 Mini
DeepSeek V4 Flash 0731 leads GPT-5.4 Mini on coding, 51.8 to 35.8 on the Vibe Coding Index, and DeepSeek V4 Flash 0731 costs 16.1x less per output token ($0.28 vs $4.50 per million). Updated October 21, 2026; 38 benchmarks have a result for both.
DeepSeek V4 Flash 0731 or GPT-5.4 Mini: which to pick
Pick DeepSeek V4 Flash 0731 for coding: it scores 51.8 on the Vibe Coding Index against 35.8 for GPT-5.4 Mini, though on 4 benchmarks against 5.
Pick GPT-5.4 Mini for work measured by SciCode or FrontierCode, where it leads.
- Shared results
- 38
- DeepSeek V4 Flash 0731 only
- 17
- GPT-5.4 Mini only
- 51
- Like-for-like categories
- 7 of 9
Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, six public coding benchmarks
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 scores 51.8 against 35.8.
4 and 5 benchmarks behind the scores
Intelligence
AA Intelligence Index
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 leads, 34.3 against 24.1.
Same board, both measured
Agentic work
AA Agentic Index
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 leads, 41.0 against 17.9.
Same board, both measured
Reasoning
GPQA Diamond
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 leads, 89.9% against 83.1%.
Same board, both measured
Math
AIME
No call
Only GPT-5.4 Mini has a AIME result, 95.6%.
Directional only
Knowledge
MMLU Pro
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 leads, 86.2% against 84.5%.
Same board, both measured
Web design
Design Arena: websites
No call
Only DeepSeek V4 Flash 0731 has a Design Arena: websites result, 1238.
Directional only
Long documents
Listed context window
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 takes 1.05M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 $0.0003, GPT-5.4 Mini $0.0030 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 $0.01, GPT-5.4 Mini $0.70.
Published attempt cost and pass rate
At a glance
- Coding index
- DeepSeek V4 Flash 0731 51.8 from 4 benchmarks, GPT-5.4 Mini 35.8 from 5 benchmarks.
- Widest category
- Reasoning, 15.6 points apart on average over 8 shared benchmarks.
- Widest single gap
- ARC-AGI-2: DeepSeek V4 Flash 0731 61.4% against GPT-5.4 Mini 18.9%, 42.5 points apart on a 0 to 100 scale.
- Output price
- DeepSeek V4 Flash 0731 $0.28 against GPT-5.4 Mini $4.50 per million output tokens, 16.1x apart.
- Context window
- DeepSeek V4 Flash 0731 takes 1.05M tokens, GPT-5.4 Mini 400K.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | DeepSeek V4 Flash 0731 | Bars | GPT-5.4 Mini | Ties |
|---|---|---|---|---|
| Coding | 9 | 2 | 1 tie | |
| Intelligence | 2 | 0 | ||
| Agentic work | 5 | 0 | ||
| Reasoning | 8 | 0 | ||
| Math | 4 | 0 | ||
| Knowledge | 3 | 1 | ||
| General | 3 | 0 | ||
| All shared boards | 34 | 3 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index92
| Benchmark | DeepSeek V4 Flash 0731 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| LMArena WebDev | Not measured | 1397 | Only GPT-5.4 Mini measured |
| AA Coding Index | 69.1 | 56.1 | DeepSeek V4 Flash 0731 |
| LiveCodeBench (Vals AI) | 87.3% | 81.5% | DeepSeek V4 Flash 0731 |
| SWE-bench Verified (Vals AI) | 88.8% | 73.0% | DeepSeek V4 Flash 0731 |
| Terminal-Bench 4 (Vals AI) | 18.7% | 2.5% | DeepSeek V4 Flash 0731 |
| Vibe Code Bench (Vals AI) | 74.7% | 48.0% | DeepSeek V4 Flash 0731 |
| Code migration (Vals AI) | 38.6% | 12.9% | DeepSeek V4 Flash 0731 |
| ProgramBench (Vals AI) | 0.0% | 0.0% | Tie |
| IOI (Vals AI) | 32.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Terminal-Bench 2.1 (Vals AI) | 67.0% | 54.7% | DeepSeek V4 Flash 0731 |
| SkillsBench (Vals AI) | 50.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| CyberBench (Vals AI) | 72.1% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| SciCode | 50.3% | 52.1% | GPT-5.4 Mini |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 52.3% | Only GPT-5.4 Mini measured |
| FrontierCode | 18.8% | 27.0% | GPT-5.4 Mini |
| WeirdML | 63.0% | 60.3% | DeepSeek V4 Flash 0731 |
| ALE-Bench | 1306.1 | 1188.6 | DeepSeek V4 Flash 0731 |
| LMArena Text: coding | Not measured | 1438 | Only GPT-5.4 Mini measured |
| LMArena Text: software and IT | Not measured | 1436 | Only GPT-5.4 Mini measured |
| LMArena WebDev: React | Not measured | 1386 | Only GPT-5.4 Mini measured |
| LMArena WebDev: HTML | Not measured | 1419 | Only GPT-5.4 Mini measured |
| Neither model has a result on the other 18 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | DeepSeek V4 Flash 0731 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AA Intelligence Index | 34.3 | 24.1 | DeepSeek V4 Flash 0731 |
| Epoch Capabilities Index | 154.8 | 148.7 | DeepSeek V4 Flash 0731 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | DeepSeek V4 Flash 0731 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AA Agentic Index | 41.0 | 17.9 | DeepSeek V4 Flash 0731 |
| Finance Agent (Vals AI) | 49.5% | 45.4% | DeepSeek V4 Flash 0731 |
| Tax Agent Bench (Vals AI) | 28.1% | 8.8% | DeepSeek V4 Flash 0731 |
| Legal Research Bench (Vals AI) | 30.3% | 12.5% | DeepSeek V4 Flash 0731 |
| Excel Modeling Benchmark (Vals AI) | 57.0% | 45.4% | DeepSeek V4 Flash 0731 |
| BioMysteryBench (Vals AI) | 64.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Terminal-Bench-Science (Vals AI) | 4.3% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| τ²-Bench Telecom | Not measured | 83.3% | Only GPT-5.4 Mini measured |
| DeepResearch Bench | Not measured | 36.3% | Only GPT-5.4 Mini measured |
| Neither model has a result on the other 32 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index80
| Benchmark | DeepSeek V4 Flash 0731 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| GPQA Diamond | 89.9% | 83.1% | DeepSeek V4 Flash 0731 |
| MMMU Pro (Vals AI) | Not measured | 79.3% | Only GPT-5.4 Mini measured |
| GPQA Diamond (Artificial Analysis run) | 90.8% | 87.5% | DeepSeek V4 Flash 0731 |
| Humanity's Last Exam (Artificial Analysis run) | 38.6% | 28.1% | DeepSeek V4 Flash 0731 |
| GPQA Diamond (Epoch AI run) | 91.0% | 86.9% | DeepSeek V4 Flash 0731 |
| ARC-AGI | 89.0% | 63.7% | DeepSeek V4 Flash 0731 |
| ARC-AGI-2 | 61.4% | 18.9% | DeepSeek V4 Flash 0731 |
| SimpleBench | 61.1% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Chess puzzles | 32.0% | 23.0% | DeepSeek V4 Flash 0731 |
| Mystery game puzzles | 34.0% | 11.0% | DeepSeek V4 Flash 0731 |
| LMArena Text: hard prompts | Not measured | 1424 | Only GPT-5.4 Mini measured |
| LMArena Text: expert | Not measured | 1435 | Only GPT-5.4 Mini measured |
| LMArena Text: hard prompts in English | Not measured | 1420 | Only GPT-5.4 Mini measured |
| LMArena Vision: diagrams | Not measured | 1266 | Only GPT-5.4 Mini measured |
| LMArena Vision: homework | Not measured | 1285 | Only GPT-5.4 Mini measured |
| Kagi LLM Benchmark | Not measured | 37.9% | Only GPT-5.4 Mini measured |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | DeepSeek V4 Flash 0731 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AIME | Not measured | 95.6% | Only GPT-5.4 Mini measured |
| OTIS Mock AIME | 94.4% | 88.9% | DeepSeek V4 Flash 0731 |
| FrontierMath, tiers 1 to 3 | 57.5% | 51.2% | DeepSeek V4 Flash 0731 |
| FrontierMath, tier 4 | 24.4% | 9.8% | DeepSeek V4 Flash 0731 |
| ProofBench | 56.0% | 21.0% | DeepSeek V4 Flash 0731 |
| LMArena Text: math | Not measured | 1418 | Only GPT-5.4 Mini measured |
| LMArena Text: mathematical work | Not measured | 1429 | Only GPT-5.4 Mini measured |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index31
| Benchmark | DeepSeek V4 Flash 0731 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| MMLU Pro | 86.2% | 84.5% | DeepSeek V4 Flash 0731 |
| LegalBench (Vals AI) | 77.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| CaseLaw (Vals AI) | Not measured | 51.7% | Only GPT-5.4 Mini measured |
| CorpFin (Vals AI) | 61.9% | 60.9% | DeepSeek V4 Flash 0731 |
| TaxEval (Vals AI) | 70.7% | 71.2% | GPT-5.4 Mini |
| MortgageTax (Vals AI) | Not measured | 63.5% | Only GPT-5.4 Mini measured |
| MedCode (Vals AI) | 41.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| SimpleQA Verified | 33.6% | 29.4% | DeepSeek V4 Flash 0731 |
| LMArena Text: science | Not measured | 1417 | Only GPT-5.4 Mini measured |
| LMArena Text: medicine and healthcare | Not measured | 1395 | Only GPT-5.4 Mini measured |
| LMArena Text: legal and government | Not measured | 1414 | Only GPT-5.4 Mini measured |
| LMArena Text: business and finance | Not measured | 1418 | Only GPT-5.4 Mini measured |
| Neither model has a result on the other 6 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | DeepSeek V4 Flash 0731 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| Design Arena: websites | 1238 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: UI components | 1235 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: game dev | 1208 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: data viz | 1180 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: 3D | 1209 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: all code categories | 1230 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: SVG | 1185 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: ASCII art | 1090 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index30
| Benchmark | DeepSeek V4 Flash 0731 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| SAGE (Vals AI) | Not measured | 50.8% | Only GPT-5.4 Mini measured |
| MedScribe (Vals AI) | 80.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Vals Multimodal Index | Not measured | 54.2% | Only GPT-5.4 Mini measured |
| IFBench | Not measured | 73.3% | Only GPT-5.4 Mini measured |
| Long context reasoning (AA-LCR) | 79.7% | 77.0% | DeepSeek V4 Flash 0731 |
| DTBench | 90.9% | 80.0% | DeepSeek V4 Flash 0731 |
| LMCA | 41.7% | 40.8% | DeepSeek V4 Flash 0731 |
| LMArena Text | Not measured | 1412 | Only GPT-5.4 Mini measured |
| LMArena Text: instruction following | Not measured | 1405 | Only GPT-5.4 Mini measured |
| LMArena Text: creative writing | Not measured | 1370 | Only GPT-5.4 Mini measured |
| LMArena Vision | Not measured | 1245 | Only GPT-5.4 Mini measured |
| LMArena Text: English | Not measured | 1412 | Only GPT-5.4 Mini measured |
| LMArena Text: non-English | Not measured | 1405 | Only GPT-5.4 Mini measured |
| LMArena Text: Chinese | Not measured | 1446 | Only GPT-5.4 Mini measured |
| LMArena Text: German | Not measured | 1408 | Only GPT-5.4 Mini measured |
| LMArena Text: Japanese | Not measured | 1375 | Only GPT-5.4 Mini measured |
| LMArena Text: Korean | Not measured | 1370 | Only GPT-5.4 Mini measured |
| LMArena Text: French | Not measured | 1441 | Only GPT-5.4 Mini measured |
| LMArena Text: Spanish | Not measured | 1405 | Only GPT-5.4 Mini measured |
| LMArena Text: Russian | Not measured | 1417 | Only GPT-5.4 Mini measured |
| LMArena Text: Polish | Not measured | 1415 | Only GPT-5.4 Mini measured |
| LMArena Text: multi-turn | Not measured | 1429 | Only GPT-5.4 Mini measured |
| LMArena Text: longer queries | Not measured | 1408 | Only GPT-5.4 Mini measured |
| LMArena Text: writing and language | Not measured | 1393 | Only GPT-5.4 Mini measured |
| LMArena Text: entertainment and media | Not measured | 1373 | Only GPT-5.4 Mini measured |
| LMArena Vision: English | Not measured | 1244 | Only GPT-5.4 Mini measured |
| LMArena Vision: Chinese | Not measured | 1286 | Only GPT-5.4 Mini measured |
| LMArena Vision: reading text | Not measured | 1253 | Only GPT-5.4 Mini measured |
| LMArena Vision: humor | Not measured | 1235 | Only GPT-5.4 Mini measured |
| LMArena Vision: recognizing things | Not measured | 1218 | Only GPT-5.4 Mini measured |
| LMArena Vision: creative writing | Not measured | 1222 | Only GPT-5.4 Mini measured |
| Neither model has a result on the other 15 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | DeepSeek V4 Flash 0731 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
DeepSeek V4 Flash 0731 costs less
Repository review
50K input + 3K output tokens
DeepSeek V4 Flash 0731 costs less
Agent loop
200K input + 10K output tokens
DeepSeek V4 Flash 0731 costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | DeepSeek V4 Flash 0731 | OpenAI GPT-5.4 Mini |
|---|---|---|
| Maker | DeepSeek | OpenAI |
| Weights | Open weights | No public weights listed |
| Released | July 31, 2026 | March 17, 2026 |
| Context window | 1.05M | 400K |
| Input $/Mtok | $0.14 | $0.75 |
| Output $/Mtok | $0.28 | $4.50 |
| Coding index | 51.8 | 35.8 |
| Independent measurements behind it | 4 | 5 |
| Cost per solved task | $0.01 | $0.70 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is DeepSeek V4 Flash 0731 better than GPT-5.4 Mini for coding?
Pick DeepSeek V4 Flash 0731 for coding: it scores 51.8 on the Vibe Coding Index against 35.8 for GPT-5.4 Mini, though on 4 benchmarks against 5. Pick GPT-5.4 Mini for work measured by SciCode or FrontierCode, where it leads.
Which is cheaper, DeepSeek V4 Flash 0731 or GPT-5.4 Mini?
DeepSeek V4 Flash 0731 costs $0.14 per million input tokens and $0.28 per million output tokens; GPT-5.4 Mini costs $0.75 and $4.50. Per solved SWE-bench Verified task, DeepSeek V4 Flash 0731 costs $0.01 and GPT-5.4 Mini $0.70.
Which has the bigger context window, DeepSeek V4 Flash 0731 or GPT-5.4 Mini?
DeepSeek V4 Flash 0731, with 1.05M tokens against 400K.
How many benchmarks is the DeepSeek V4 Flash 0731 vs GPT-5.4 Mini comparison based on?
38 benchmarks have a result for both models as of October 21, 2026. DeepSeek V4 Flash 0731's coding index rests on 4 independent benchmarks and GPT-5.4 Mini's on 5. Where only one model has a result, the page says so instead of naming a winner.