DeepSeek V4 Flash 0731 vs GPT-4.1 Mini
DeepSeek V4 Flash 0731 leads GPT-4.1 Mini on the Artificial Analysis Intelligence Index, 34.3 to 10.2, and DeepSeek V4 Flash 0731 costs 5.7x less per output token ($0.28 vs $1.60 per million). Updated October 21, 2026; 29 benchmarks have a result for both.
DeepSeek V4 Flash 0731 or GPT-4.1 Mini: which to pick
Only DeepSeek V4 Flash 0731 has a coding score, 51.8 on the Vibe Coding Index; GPT-4.1 Mini has none, so the two cannot be ranked on coding.
Pick GPT-4.1 Mini for work measured by LegalBench (Vals AI) or TaxEval (Vals AI), where it leads.
- Shared results
- 29
- DeepSeek V4 Flash 0731 only
- 26
- GPT-4.1 Mini only
- 57
- 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
No call
Only DeepSeek V4 Flash 0731 has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 leads, 34.3 against 10.2.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only DeepSeek V4 Flash 0731 has a AA Agentic Index result, 41.0.
Directional only
Reasoning
GPQA Diamond
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 leads, 89.9% against 67.9%.
Same board, both measured
Math
AIME
No call
Only GPT-4.1 Mini has a AIME result, 49.4%.
Directional only
Knowledge
MMLU Pro
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 leads, 86.2% against 77.2%.
Same board, both measured
Web design
Design Arena: websites
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 leads, 1238 against 997.
Same board, both measured
Long documents
Listed context window
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 takes 1.05M tokens against 1.05M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 $0.0003, GPT-4.1 Mini $0.0012 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-4.1 Mini $1.818.
Published attempt cost and pass rate
At a glance
- Coding index
- DeepSeek V4 Flash 0731 51.8 from 4 benchmarks, GPT-4.1 Mini not benchmarked.
- Widest category
- Math, 50.3 points apart on average over 2 shared benchmarks.
- Widest single gap
- ARC-AGI: DeepSeek V4 Flash 0731 89.0% against GPT-4.1 Mini 3.5%, 85.5 points apart on a 0 to 100 scale.
- Output price
- DeepSeek V4 Flash 0731 $0.28 against GPT-4.1 Mini $1.60 per million output tokens, 5.7x apart.
- Context window
- DeepSeek V4 Flash 0731 takes 1.05M tokens, GPT-4.1 Mini 1.05M.
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-4.1 Mini | Ties |
|---|---|---|---|---|
| Coding | 3 | 0 | ||
| Intelligence | 2 | 0 | ||
| Reasoning | 8 | 0 | ||
| Math | 2 | 0 | ||
| Knowledge | 3 | 2 | ||
| Web design | 6 | 0 | ||
| General | 3 | 0 | ||
| All shared boards | 27 | 2 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
| Benchmark | DeepSeek V4 Flash 0731 | GPT-4.1 Mini | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 32.4% | Only GPT-4.1 Mini measured |
| SWE-bench Verified | Not measured | 23.9% | Only GPT-4.1 Mini measured |
| AA Coding Index | 69.1 | 20.2 | DeepSeek V4 Flash 0731 |
| LiveCodeBench (Vals AI) | 87.3% | 58.2% | DeepSeek V4 Flash 0731 |
| SWE-bench Verified (Vals AI) | 88.8% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Terminal-Bench 4 (Vals AI) | 18.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Vibe Code Bench (Vals AI) | 74.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Code migration (Vals AI) | 38.6% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| IOI (Vals AI) | 32.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Terminal-Bench 2.1 (Vals AI) | 67.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| 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 |
| LiveCodeBench (Artificial Analysis run) | Not measured | 48.3% | Only GPT-4.1 Mini measured |
| SciCode | 50.3% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 7.6% | Only GPT-4.1 Mini measured |
| FrontierCode | 18.8% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| WeirdML | 63.0% | 37.6% | DeepSeek V4 Flash 0731 |
| ALE-Bench | 1306.1 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LMArena Text: coding | Not measured | 1367 | Only GPT-4.1 Mini measured |
| LMArena Text: software and IT | Not measured | 1360 | Only GPT-4.1 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-4.1 Mini | Leader |
|---|---|---|---|
| AA Intelligence Index | 34.3 | 10.2 | DeepSeek V4 Flash 0731 |
| Epoch Capabilities Index | 154.8 | 134.9 | DeepSeek V4 Flash 0731 |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
| Benchmark | DeepSeek V4 Flash 0731 | GPT-4.1 Mini | Leader |
|---|---|---|---|
| AA Agentic Index | 41.0 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Finance Agent (Vals AI) | 49.5% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Tax Agent Bench (Vals AI) | 28.1% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Legal Research Bench (Vals AI) | 30.3% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Excel Modeling Benchmark (Vals AI) | 57.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| 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 | 52.9% | Only GPT-4.1 Mini measured |
| Berkeley Function Calling Leaderboard (BFCL) | Not measured | 50.4% | Only GPT-4.1 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-4.1 Mini | Leader |
|---|---|---|---|
| GPQA Diamond | 89.9% | 67.9% | DeepSeek V4 Flash 0731 |
| MMMU Pro (Vals AI) | Not measured | 70.5% | Only GPT-4.1 Mini measured |
| GPQA Diamond (Artificial Analysis run) | 90.8% | 66.4% | DeepSeek V4 Flash 0731 |
| Humanity's Last Exam (Artificial Analysis run) | 38.6% | 5.0% | DeepSeek V4 Flash 0731 |
| GPQA Diamond (Epoch AI run) | 91.0% | 65.8% | DeepSeek V4 Flash 0731 |
| ARC-AGI | 89.0% | 3.5% | DeepSeek V4 Flash 0731 |
| ARC-AGI-2 | 61.4% | 0.0% | DeepSeek V4 Flash 0731 |
| SimpleBench | 61.1% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Chess puzzles | 32.0% | 1.0% | DeepSeek V4 Flash 0731 |
| Mystery game puzzles | 34.0% | 7.0% | DeepSeek V4 Flash 0731 |
| LMArena Text: hard prompts | Not measured | 1349 | Only GPT-4.1 Mini measured |
| LMArena Text: expert | Not measured | 1338 | Only GPT-4.1 Mini measured |
| LMArena Text: hard prompts in English | Not measured | 1362 | Only GPT-4.1 Mini measured |
| LMArena Vision: diagrams | Not measured | 1182 | Only GPT-4.1 Mini measured |
| LMArena Vision: homework | Not measured | 1214 | Only GPT-4.1 Mini measured |
| Kagi LLM Benchmark | Not measured | 48.6% | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | DeepSeek V4 Flash 0731 | GPT-4.1 Mini | Leader |
|---|---|---|---|
| AIME | Not measured | 49.4% | Only GPT-4.1 Mini measured |
| MATH 500 (Vals AI) | Not measured | 88.0% | Only GPT-4.1 Mini measured |
| MGSM (Vals AI) | Not measured | 87.8% | Only GPT-4.1 Mini measured |
| AA Math Index | Not measured | 46.3 | Only GPT-4.1 Mini measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 46.3% | Only GPT-4.1 Mini measured |
| OTIS Mock AIME | 94.4% | 44.7% | DeepSeek V4 Flash 0731 |
| FrontierMath, tiers 1 to 3 | 57.5% | 6.7% | DeepSeek V4 Flash 0731 |
| FrontierMath, tier 4 | 24.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| ProofBench | 56.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| MATH level 5 | Not measured | 87.3% | Only GPT-4.1 Mini measured |
| LMArena Text: math | Not measured | 1343 | Only GPT-4.1 Mini measured |
| LMArena Text: mathematical work | Not measured | 1347 | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 1 board here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index32
| Benchmark | DeepSeek V4 Flash 0731 | GPT-4.1 Mini | Leader |
|---|---|---|---|
| MMLU Pro | 86.2% | 77.2% | DeepSeek V4 Flash 0731 |
| LegalBench (Vals AI) | 77.7% | 78.0% | GPT-4.1 Mini |
| CorpFin (Vals AI) | 61.9% | 57.9% | DeepSeek V4 Flash 0731 |
| TaxEval (Vals AI) | 70.7% | 71.9% | GPT-4.1 Mini |
| MortgageTax (Vals AI) | Not measured | 65.5% | Only GPT-4.1 Mini measured |
| MedQA (Vals AI) | Not measured | 84.6% | Only GPT-4.1 Mini measured |
| MedCode (Vals AI) | 41.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 78.1% | Only GPT-4.1 Mini measured |
| SimpleQA Verified | 33.6% | 12.7% | DeepSeek V4 Flash 0731 |
| LMArena Text: science | Not measured | 1328 | Only GPT-4.1 Mini measured |
| LMArena Text: medicine and healthcare | Not measured | 1324 | Only GPT-4.1 Mini measured |
| LMArena Text: legal and government | Not measured | 1343 | Only GPT-4.1 Mini measured |
| LMArena Text: business and finance | Not measured | 1322 | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 5 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | DeepSeek V4 Flash 0731 | GPT-4.1 Mini | Leader |
|---|---|---|---|
| Design Arena: websites | 1238 | 997 | DeepSeek V4 Flash 0731 |
| Design Arena: UI components | 1235 | 961 | DeepSeek V4 Flash 0731 |
| Design Arena: game dev | 1208 | 1071 | DeepSeek V4 Flash 0731 |
| Design Arena: data viz | 1180 | 1034 | DeepSeek V4 Flash 0731 |
| Design Arena: 3D | 1209 | 837 | DeepSeek V4 Flash 0731 |
| Design Arena: all code categories | 1230 | 994 | DeepSeek V4 Flash 0731 |
| 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-4.1 Mini | Leader |
|---|---|---|---|
| MedScribe (Vals AI) | 80.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| IFBench | Not measured | 38.3% | Only GPT-4.1 Mini measured |
| Long context reasoning (AA-LCR) | 79.7% | 44.0% | DeepSeek V4 Flash 0731 |
| DTBench | 90.9% | 68.8% | DeepSeek V4 Flash 0731 |
| LMCA | 41.7% | 21.1% | DeepSeek V4 Flash 0731 |
| Fiction.LiveBench | Not measured | 44.4% | Only GPT-4.1 Mini measured |
| LMArena Text | Not measured | 1341 | Only GPT-4.1 Mini measured |
| LMArena Text: instruction following | Not measured | 1333 | Only GPT-4.1 Mini measured |
| LMArena Text: creative writing | Not measured | 1299 | Only GPT-4.1 Mini measured |
| LMArena Vision | Not measured | 1181 | Only GPT-4.1 Mini measured |
| LMArena Text: English | Not measured | 1356 | Only GPT-4.1 Mini measured |
| LMArena Text: non-English | Not measured | 1318 | Only GPT-4.1 Mini measured |
| LMArena Text: Chinese | Not measured | 1329 | Only GPT-4.1 Mini measured |
| LMArena Text: German | Not measured | 1350 | Only GPT-4.1 Mini measured |
| LMArena Text: Japanese | Not measured | 1290 | Only GPT-4.1 Mini measured |
| LMArena Text: Korean | Not measured | 1298 | Only GPT-4.1 Mini measured |
| LMArena Text: French | Not measured | 1358 | Only GPT-4.1 Mini measured |
| LMArena Text: Spanish | Not measured | 1319 | Only GPT-4.1 Mini measured |
| LMArena Text: Russian | Not measured | 1324 | Only GPT-4.1 Mini measured |
| LMArena Text: Polish | Not measured | 1326 | Only GPT-4.1 Mini measured |
| LMArena Text: multi-turn | Not measured | 1354 | Only GPT-4.1 Mini measured |
| LMArena Text: longer queries | Not measured | 1344 | Only GPT-4.1 Mini measured |
| LMArena Text: writing and language | Not measured | 1319 | Only GPT-4.1 Mini measured |
| LMArena Text: entertainment and media | Not measured | 1300 | Only GPT-4.1 Mini measured |
| LMArena Vision: English | Not measured | 1191 | Only GPT-4.1 Mini measured |
| LMArena Vision: Chinese | Not measured | 1186 | Only GPT-4.1 Mini measured |
| LMArena Vision: reading text | Not measured | 1188 | Only GPT-4.1 Mini measured |
| LMArena Vision: humor | Not measured | 1182 | Only GPT-4.1 Mini measured |
| LMArena Vision: captioning | Not measured | 1174 | Only GPT-4.1 Mini measured |
| LMArena Vision: recognizing things | Not measured | 1187 | Only GPT-4.1 Mini measured |
| LMArena Vision: creative writing | Not measured | 1182 | Only GPT-4.1 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-4.1 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-4.1 Mini |
|---|---|---|
| Maker | DeepSeek | OpenAI |
| Weights | Open weights | No public weights listed |
| Released | July 31, 2026 | April 14, 2025 |
| Context window | 1.05M | 1.05M |
| Input $/Mtok | $0.14 | $0.40 |
| Output $/Mtok | $0.28 | $1.60 |
| Coding index | 51.8 | Not benchmarked |
| Independent measurements behind it | 4 | 0 |
| Cost per solved task | $0.01 | $1.818 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is DeepSeek V4 Flash 0731 better than GPT-4.1 Mini for coding?
Only DeepSeek V4 Flash 0731 has a coding score, 51.8 on the Vibe Coding Index; GPT-4.1 Mini has none, so the two cannot be ranked on coding. Pick GPT-4.1 Mini for work measured by LegalBench (Vals AI) or TaxEval (Vals AI), where it leads.
Which is cheaper, DeepSeek V4 Flash 0731 or GPT-4.1 Mini?
DeepSeek V4 Flash 0731 costs $0.14 per million input tokens and $0.28 per million output tokens; GPT-4.1 Mini costs $0.40 and $1.60. Per solved SWE-bench Verified task, DeepSeek V4 Flash 0731 costs $0.01 and GPT-4.1 Mini $1.818.
Which has the bigger context window, DeepSeek V4 Flash 0731 or GPT-4.1 Mini?
DeepSeek V4 Flash 0731, with 1.05M tokens against 1.05M.
How many benchmarks is the DeepSeek V4 Flash 0731 vs GPT-4.1 Mini comparison based on?
29 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-4.1 Mini's on 0. Where only one model has a result, the page says so instead of naming a winner.