Enter opens the highlighted result. Esc closes.

DeepSeek V4 Flash 0731 vs GPT-4.1

DeepSeek V4 Flash 0731 leads GPT-4.1 on the Artificial Analysis Intelligence Index, 34.3 to 12.7, and DeepSeek V4 Flash 0731 costs 28.6x less per output token ($0.28 vs $8.00 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
26
GPT-4.1OpenAI
Coding
No data
Overall
36.5
Output $/M
$8.00
3
vs boards won of 29 shared

DeepSeek V4 Flash 0731 or GPT-4.1: which to pick

Only DeepSeek V4 Flash 0731 has a coding score, 51.8 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding.

Pick GPT-4.1 for work measured by LegalBench (Vals AI) or CorpFin (Vals AI), where it leads.

Shared results
29
DeepSeek V4 Flash 0731 only
26
GPT-4.1 only
63
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 not benchmarked.
Widest category
Math, 53.8 points apart on average over 2 shared benchmarks.
Widest single gap
ARC-AGI: DeepSeek V4 Flash 0731 89.0% against GPT-4.1 5.5%, 83.5 points apart on a 0 to 100 scale.
Output price
DeepSeek V4 Flash 0731 $0.28 against GPT-4.1 $8.00 per million output tokens, 28.6x apart.
Context window
DeepSeek V4 Flash 0731 takes 1.05M tokens, GPT-4.1 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.1Ties
Coding30
Intelligence20
Reasoning80
Math20
Knowledge23
Web design60
General30
All shared boards263
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
Coding benchmarks for DeepSeek V4 Flash 0731 and GPT-4.1
BenchmarkDeepSeek V4 Flash 0731GPT-4.1Leader
Aider polyglotNot measured52.4%Only GPT-4.1 measured
SWE-bench VerifiedNot measured39.6%Only GPT-4.1 measured
SWE-bench MultimodalNot measured31.1%Only GPT-4.1 measured
AA Coding Index69.1Not measuredOnly DeepSeek V4 Flash 0731 measured
LiveCodeBench (Vals AI)87.3%54.7%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 measured45.7%Only GPT-4.1 measured
SciCode50.3%Not measuredOnly DeepSeek V4 Flash 0731 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured13.6%Only GPT-4.1 measured
FrontierCode18.8%Not measuredOnly DeepSeek V4 Flash 0731 measured
WeirdML63.0%39.0%DeepSeek V4 Flash 0731
ALE-Bench1306.1558.1DeepSeek V4 Flash 0731
LMArena Text: codingNot measured1390Only GPT-4.1 measured
LMArena Text: software and ITNot measured1391Only GPT-4.1 measured
SciCodeNot measured4.6%Only GPT-4.1 measured
Neither model has a result on the other 16 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
BenchmarkDeepSeek V4 Flash 0731GPT-4.1Leader
AA Intelligence Index34.312.7DeepSeek V4 Flash 0731
Epoch Capabilities Index154.8136.7DeepSeek V4 Flash 0731
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index10 boards, none shared
Agentic work benchmarks for DeepSeek V4 Flash 0731 and GPT-4.1
BenchmarkDeepSeek V4 Flash 0731GPT-4.1Leader
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 measured47.1%Only GPT-4.1 measured
Berkeley Function Calling Leaderboard (BFCL)Not measured54.0%Only GPT-4.1 measured
BrowseComp-PlusNot measured36.4%Only GPT-4.1 measured
Neither model has a result on the other 31 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
BenchmarkDeepSeek V4 Flash 0731GPT-4.1Leader
GPQA Diamond89.9%65.4%DeepSeek V4 Flash 0731
MMMU Pro (Vals AI)Not measured72.4%Only GPT-4.1 measured
GPQA Diamond (Artificial Analysis run)90.8%66.6%DeepSeek V4 Flash 0731
Humanity's Last Exam (Artificial Analysis run)38.6%4.2%DeepSeek V4 Flash 0731
GPQA Diamond (Epoch AI run)91.0%66.9%DeepSeek V4 Flash 0731
ARC-AGI89.0%5.5%DeepSeek V4 Flash 0731
ARC-AGI-261.4%0.4%DeepSeek V4 Flash 0731
SimpleBench61.1%27.0%DeepSeek V4 Flash 0731
Chess puzzles32.0%3.0%DeepSeek V4 Flash 0731
Mystery game puzzles34.0%Not measuredOnly DeepSeek V4 Flash 0731 measured
LMArena Text: hard promptsNot measured1384Only GPT-4.1 measured
LMArena Text: expertNot measured1364Only GPT-4.1 measured
LMArena Text: hard prompts in EnglishNot measured1393Only GPT-4.1 measured
LMArena Vision: diagramsNot measured1215Only GPT-4.1 measured
LMArena Vision: homeworkNot measured1248Only GPT-4.1 measured
Kagi LLM BenchmarkNot measured52.3%Only GPT-4.1 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
BenchmarkDeepSeek V4 Flash 0731GPT-4.1Leader
AIMENot measured39.6%Only GPT-4.1 measured
MATH 500 (Vals AI)Not measured87.2%Only GPT-4.1 measured
MGSM (Vals AI)Not measured87.7%Only GPT-4.1 measured
AA Math IndexNot measured34.7Only GPT-4.1 measured
AIME 2025 (Artificial Analysis run)Not measured34.7%Only GPT-4.1 measured
OTIS Mock AIME94.4%38.3%DeepSeek V4 Flash 0731
FrontierMath, tiers 1 to 357.5%6.0%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 measured83.0%Only GPT-4.1 measured
LMArena Text: mathNot measured1369Only GPT-4.1 measured
LMArena Text: mathematical workNot measured1360Only GPT-4.1 measured
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index23
Knowledge benchmarks for DeepSeek V4 Flash 0731 and GPT-4.1
BenchmarkDeepSeek V4 Flash 0731GPT-4.1Leader
MMLU Pro86.2%80.5%DeepSeek V4 Flash 0731
LegalBench (Vals AI)77.7%83.1%GPT-4.1
CaseLaw (Vals AI)Not measured69.9%Only GPT-4.1 measured
CorpFin (Vals AI)61.9%63.0%GPT-4.1
TaxEval (Vals AI)70.7%75.1%GPT-4.1
MortgageTax (Vals AI)Not measured65.9%Only GPT-4.1 measured
MedQA (Vals AI)Not measured91.2%Only GPT-4.1 measured
MedCode (Vals AI)41.4%Not measuredOnly DeepSeek V4 Flash 0731 measured
MMLU Pro (Artificial Analysis run)Not measured80.6%Only GPT-4.1 measured
SimpleQA Verified33.6%31.1%DeepSeek V4 Flash 0731
GeoBenchNot measured72.0%Only GPT-4.1 measured
LMArena Text: scienceNot measured1382Only GPT-4.1 measured
LMArena Text: medicine and healthcareNot measured1379Only GPT-4.1 measured
LMArena Text: legal and governmentNot measured1399Only GPT-4.1 measured
LMArena Text: business and financeNot measured1369Only GPT-4.1 measured
FACTS Benchmark SuiteNot measured45.8%Only GPT-4.1 measured
Neither model has a result on the other 2 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
BenchmarkDeepSeek V4 Flash 0731GPT-4.1Leader
Design Arena: websites12381039DeepSeek V4 Flash 0731
Design Arena: UI components12351000DeepSeek V4 Flash 0731
Design Arena: game dev12081080DeepSeek V4 Flash 0731
Design Arena: data viz11801104DeepSeek V4 Flash 0731
Design Arena: 3D1209850DeepSeek V4 Flash 0731
Design Arena: all code categories12301026DeepSeek 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
BenchmarkDeepSeek V4 Flash 0731GPT-4.1Leader
MedScribe (Vals AI)80.4%Not measuredOnly DeepSeek V4 Flash 0731 measured
IFBenchNot measured43.0%Only GPT-4.1 measured
Long context reasoning (AA-LCR)79.7%68.3%DeepSeek V4 Flash 0731
DTBench90.9%68.3%DeepSeek V4 Flash 0731
LMCA41.7%25.6%DeepSeek V4 Flash 0731
Fiction.LiveBenchNot measured63.9%Only GPT-4.1 measured
LMArena TextNot measured1383Only GPT-4.1 measured
LMArena Text: instruction followingNot measured1367Only GPT-4.1 measured
LMArena Text: creative writingNot measured1363Only GPT-4.1 measured
LMArena VisionNot measured1210Only GPT-4.1 measured
LMArena Text: EnglishNot measured1392Only GPT-4.1 measured
LMArena Text: non-EnglishNot measured1370Only GPT-4.1 measured
LMArena Text: ChineseNot measured1382Only GPT-4.1 measured
LMArena Text: GermanNot measured1381Only GPT-4.1 measured
LMArena Text: JapaneseNot measured1319Only GPT-4.1 measured
LMArena Text: KoreanNot measured1338Only GPT-4.1 measured
LMArena Text: FrenchNot measured1382Only GPT-4.1 measured
LMArena Text: SpanishNot measured1376Only GPT-4.1 measured
LMArena Text: RussianNot measured1377Only GPT-4.1 measured
LMArena Text: PolishNot measured1389Only GPT-4.1 measured
LMArena Text: multi-turnNot measured1397Only GPT-4.1 measured
LMArena Text: longer queriesNot measured1385Only GPT-4.1 measured
LMArena Text: writing and languageNot measured1371Only GPT-4.1 measured
LMArena Text: entertainment and mediaNot measured1365Only GPT-4.1 measured
LMArena Vision: EnglishNot measured1209Only GPT-4.1 measured
LMArena Vision: ChineseNot measured1226Only GPT-4.1 measured
LMArena Vision: reading textNot measured1218Only GPT-4.1 measured
LMArena Vision: humorNot measured1196Only GPT-4.1 measured
LMArena Vision: captioningNot measured1207Only GPT-4.1 measured
LMArena Vision: recognizing thingsNot measured1208Only GPT-4.1 measured
LMArena Vision: creative writingNot measured1210Only GPT-4.1 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
BenchmarkDeepSeek V4 Flash 0731GPT-4.1Leader
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$0.0060Fits 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$0.124Fits 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$0.480Fits 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
SpecificationDeepSeek V4 Flash 0731OpenAI GPT-4.1
MakerDeepSeekOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJuly 31, 2026April 14, 2025
Context window1.05M1.05M
Input $/Mtok$0.14$2.00
Output $/Mtok$0.28$8.00
Coding index51.8Not benchmarked
Independent measurements behind it40
Cost per solved task$0.01$0.37
SourceOpenRouter listingOpenRouter listing

Questions

Is DeepSeek V4 Flash 0731 better than GPT-4.1 for coding?

Only DeepSeek V4 Flash 0731 has a coding score, 51.8 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding. Pick GPT-4.1 for work measured by LegalBench (Vals AI) or CorpFin (Vals AI), where it leads.

Which is cheaper, DeepSeek V4 Flash 0731 or GPT-4.1?

DeepSeek V4 Flash 0731 costs $0.14 per million input tokens and $0.28 per million output tokens; GPT-4.1 costs $2.00 and $8.00. Per solved SWE-bench Verified task, DeepSeek V4 Flash 0731 costs $0.01 and GPT-4.1 $0.37.

Which has the bigger context window, DeepSeek V4 Flash 0731 or GPT-4.1?

DeepSeek V4 Flash 0731, with 1.05M tokens against 1.05M.

How many benchmarks is the DeepSeek V4 Flash 0731 vs GPT-4.1 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's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next