Enter opens the highlighted result. Esc closes.

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 0731DeepSeek
Coding
51.8
Overall
55.2
Output $/M
$0.28
27
GPT-4.1 MiniOpenAI
Coding
No data
Overall
31.9
Output $/M
$1.60
2
vs boards won of 29 shared

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.

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.

Boards won, where both have a result
CategoryDeepSeek V4 Flash 0731BarsGPT-4.1 MiniTies
Coding30
Intelligence20
Reasoning80
Math20
Knowledge32
Web design60
General30
All shared boards272
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
Coding benchmarks for DeepSeek V4 Flash 0731 and GPT-4.1 Mini
BenchmarkDeepSeek V4 Flash 0731GPT-4.1 MiniLeader
Aider polyglotNot measured32.4%Only GPT-4.1 Mini measured
SWE-bench VerifiedNot measured23.9%Only GPT-4.1 Mini measured
AA Coding Index69.120.2DeepSeek V4 Flash 0731
LiveCodeBench (Vals AI)87.3%58.2%DeepSeek V4 Flash 0731
SWE-bench Verified (Vals AI)88.8%Not measuredOnly DeepSeek V4 Flash 0731 measured
Terminal-Bench 4 (Vals AI)18.7%Not measuredOnly DeepSeek V4 Flash 0731 measured
Vibe Code Bench (Vals AI)74.7%Not measuredOnly DeepSeek V4 Flash 0731 measured
Code migration (Vals AI)38.6%Not measuredOnly DeepSeek V4 Flash 0731 measured
ProgramBench (Vals AI)0.0%Not measuredOnly DeepSeek V4 Flash 0731 measured
IOI (Vals AI)32.7%Not measuredOnly DeepSeek V4 Flash 0731 measured
Terminal-Bench 2.1 (Vals AI)67.0%Not measuredOnly DeepSeek V4 Flash 0731 measured
SkillsBench (Vals AI)50.7%Not measuredOnly DeepSeek V4 Flash 0731 measured
CyberBench (Vals AI)72.1%Not measuredOnly DeepSeek V4 Flash 0731 measured
LiveCodeBench (Artificial Analysis run)Not measured48.3%Only GPT-4.1 Mini measured
SciCode50.3%Not measuredOnly DeepSeek V4 Flash 0731 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured7.6%Only GPT-4.1 Mini measured
FrontierCode18.8%Not measuredOnly DeepSeek V4 Flash 0731 measured
WeirdML63.0%37.6%DeepSeek V4 Flash 0731
ALE-Bench1306.1Not measuredOnly DeepSeek V4 Flash 0731 measured
LMArena Text: codingNot measured1367Only GPT-4.1 Mini measured
LMArena Text: software and ITNot measured1360Only 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
Intelligence benchmarks for DeepSeek V4 Flash 0731 and GPT-4.1 Mini
BenchmarkDeepSeek V4 Flash 0731GPT-4.1 MiniLeader
AA Intelligence Index34.310.2DeepSeek V4 Flash 0731
Epoch Capabilities Index154.8134.9DeepSeek V4 Flash 0731
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Agentic work benchmarks for DeepSeek V4 Flash 0731 and GPT-4.1 Mini
BenchmarkDeepSeek V4 Flash 0731GPT-4.1 MiniLeader
AA Agentic Index41.0Not measuredOnly DeepSeek V4 Flash 0731 measured
Finance Agent (Vals AI)49.5%Not measuredOnly DeepSeek V4 Flash 0731 measured
Tax Agent Bench (Vals AI)28.1%Not measuredOnly DeepSeek V4 Flash 0731 measured
Legal Research Bench (Vals AI)30.3%Not measuredOnly DeepSeek V4 Flash 0731 measured
Excel Modeling Benchmark (Vals AI)57.0%Not measuredOnly DeepSeek V4 Flash 0731 measured
BioMysteryBench (Vals AI)64.4%Not measuredOnly DeepSeek V4 Flash 0731 measured
Terminal-Bench-Science (Vals AI)4.3%Not measuredOnly DeepSeek V4 Flash 0731 measured
τ²-Bench TelecomNot measured52.9%Only GPT-4.1 Mini measured
Berkeley Function Calling Leaderboard (BFCL)Not measured50.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
Reasoning benchmarks for DeepSeek V4 Flash 0731 and GPT-4.1 Mini
BenchmarkDeepSeek V4 Flash 0731GPT-4.1 MiniLeader
GPQA Diamond89.9%67.9%DeepSeek V4 Flash 0731
MMMU Pro (Vals AI)Not measured70.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-AGI89.0%3.5%DeepSeek V4 Flash 0731
ARC-AGI-261.4%0.0%DeepSeek V4 Flash 0731
SimpleBench61.1%Not measuredOnly DeepSeek V4 Flash 0731 measured
Chess puzzles32.0%1.0%DeepSeek V4 Flash 0731
Mystery game puzzles34.0%7.0%DeepSeek V4 Flash 0731
LMArena Text: hard promptsNot measured1349Only GPT-4.1 Mini measured
LMArena Text: expertNot measured1338Only GPT-4.1 Mini measured
LMArena Text: hard prompts in EnglishNot measured1362Only GPT-4.1 Mini measured
LMArena Vision: diagramsNot measured1182Only GPT-4.1 Mini measured
LMArena Vision: homeworkNot measured1214Only GPT-4.1 Mini measured
Kagi LLM BenchmarkNot measured48.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
Math benchmarks for DeepSeek V4 Flash 0731 and GPT-4.1 Mini
BenchmarkDeepSeek V4 Flash 0731GPT-4.1 MiniLeader
AIMENot measured49.4%Only GPT-4.1 Mini measured
MATH 500 (Vals AI)Not measured88.0%Only GPT-4.1 Mini measured
MGSM (Vals AI)Not measured87.8%Only GPT-4.1 Mini measured
AA Math IndexNot measured46.3Only GPT-4.1 Mini measured
AIME 2025 (Artificial Analysis run)Not measured46.3%Only GPT-4.1 Mini measured
OTIS Mock AIME94.4%44.7%DeepSeek V4 Flash 0731
FrontierMath, tiers 1 to 357.5%6.7%DeepSeek V4 Flash 0731
FrontierMath, tier 424.4%Not measuredOnly DeepSeek V4 Flash 0731 measured
ProofBench56.0%Not measuredOnly DeepSeek V4 Flash 0731 measured
MATH level 5Not measured87.3%Only GPT-4.1 Mini measured
LMArena Text: mathNot measured1343Only GPT-4.1 Mini measured
LMArena Text: mathematical workNot measured1347Only 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
Knowledge benchmarks for DeepSeek V4 Flash 0731 and GPT-4.1 Mini
BenchmarkDeepSeek V4 Flash 0731GPT-4.1 MiniLeader
MMLU Pro86.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 measured65.5%Only GPT-4.1 Mini measured
MedQA (Vals AI)Not measured84.6%Only GPT-4.1 Mini measured
MedCode (Vals AI)41.4%Not measuredOnly DeepSeek V4 Flash 0731 measured
MMLU Pro (Artificial Analysis run)Not measured78.1%Only GPT-4.1 Mini measured
SimpleQA Verified33.6%12.7%DeepSeek V4 Flash 0731
LMArena Text: scienceNot measured1328Only GPT-4.1 Mini measured
LMArena Text: medicine and healthcareNot measured1324Only GPT-4.1 Mini measured
LMArena Text: legal and governmentNot measured1343Only GPT-4.1 Mini measured
LMArena Text: business and financeNot measured1322Only 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
Web design benchmarks for DeepSeek V4 Flash 0731 and GPT-4.1 Mini
BenchmarkDeepSeek V4 Flash 0731GPT-4.1 MiniLeader
Design Arena: websites1238997DeepSeek V4 Flash 0731
Design Arena: UI components1235961DeepSeek V4 Flash 0731
Design Arena: game dev12081071DeepSeek V4 Flash 0731
Design Arena: data viz11801034DeepSeek V4 Flash 0731
Design Arena: 3D1209837DeepSeek V4 Flash 0731
Design Arena: all code categories1230994DeepSeek V4 Flash 0731
Design Arena: SVG1185Not measuredOnly DeepSeek V4 Flash 0731 measured
Design Arena: ASCII art1090Not measuredOnly 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
General benchmarks for DeepSeek V4 Flash 0731 and GPT-4.1 Mini
BenchmarkDeepSeek V4 Flash 0731GPT-4.1 MiniLeader
MedScribe (Vals AI)80.4%Not measuredOnly DeepSeek V4 Flash 0731 measured
IFBenchNot measured38.3%Only GPT-4.1 Mini measured
Long context reasoning (AA-LCR)79.7%44.0%DeepSeek V4 Flash 0731
DTBench90.9%68.8%DeepSeek V4 Flash 0731
LMCA41.7%21.1%DeepSeek V4 Flash 0731
Fiction.LiveBenchNot measured44.4%Only GPT-4.1 Mini measured
LMArena TextNot measured1341Only GPT-4.1 Mini measured
LMArena Text: instruction followingNot measured1333Only GPT-4.1 Mini measured
LMArena Text: creative writingNot measured1299Only GPT-4.1 Mini measured
LMArena VisionNot measured1181Only GPT-4.1 Mini measured
LMArena Text: EnglishNot measured1356Only GPT-4.1 Mini measured
LMArena Text: non-EnglishNot measured1318Only GPT-4.1 Mini measured
LMArena Text: ChineseNot measured1329Only GPT-4.1 Mini measured
LMArena Text: GermanNot measured1350Only GPT-4.1 Mini measured
LMArena Text: JapaneseNot measured1290Only GPT-4.1 Mini measured
LMArena Text: KoreanNot measured1298Only GPT-4.1 Mini measured
LMArena Text: FrenchNot measured1358Only GPT-4.1 Mini measured
LMArena Text: SpanishNot measured1319Only GPT-4.1 Mini measured
LMArena Text: RussianNot measured1324Only GPT-4.1 Mini measured
LMArena Text: PolishNot measured1326Only GPT-4.1 Mini measured
LMArena Text: multi-turnNot measured1354Only GPT-4.1 Mini measured
LMArena Text: longer queriesNot measured1344Only GPT-4.1 Mini measured
LMArena Text: writing and languageNot measured1319Only GPT-4.1 Mini measured
LMArena Text: entertainment and mediaNot measured1300Only GPT-4.1 Mini measured
LMArena Vision: EnglishNot measured1191Only GPT-4.1 Mini measured
LMArena Vision: ChineseNot measured1186Only GPT-4.1 Mini measured
LMArena Vision: reading textNot measured1188Only GPT-4.1 Mini measured
LMArena Vision: humorNot measured1182Only GPT-4.1 Mini measured
LMArena Vision: captioningNot measured1174Only GPT-4.1 Mini measured
LMArena Vision: recognizing thingsNot measured1187Only GPT-4.1 Mini measured
LMArena Vision: creative writingNot measured1182Only 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
Image generation benchmarks for DeepSeek V4 Flash 0731 and GPT-4.1 Mini
BenchmarkDeepSeek V4 Flash 0731GPT-4.1 MiniLeader
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$0.0003Fits in one request
GPT-4.1 Mini$0.0012Fits in one request

DeepSeek V4 Flash 0731 costs less

Repository review

50K input + 3K output tokens

DeepSeek V4 Flash 0731$0.0078Fits in one request
GPT-4.1 Mini$0.025Fits in one request

DeepSeek V4 Flash 0731 costs less

Agent loop

200K input + 10K output tokens

DeepSeek V4 Flash 0731$0.031Fits in one request
GPT-4.1 Mini$0.096Fits in one request

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.

Specifications of DeepSeek V4 Flash 0731 and GPT-4.1 Mini
SpecificationDeepSeek V4 Flash 0731OpenAI GPT-4.1 Mini
MakerDeepSeekOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJuly 31, 2026April 14, 2025
Context window1.05M1.05M
Input $/Mtok$0.14$0.40
Output $/Mtok$0.28$1.60
Coding index51.8Not benchmarked
Independent measurements behind it40
Cost per solved task$0.01$1.818
SourceOpenRouter listingOpenRouter 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.

Compare next