Enter opens the highlighted result. Esc closes.

DeepSeek V4 Flash 0731 vs GPT-5.1-Codex

DeepSeek V4 Flash 0731 leads GPT-5.1-Codex on coding, 51.8 to 15.3 on the Vibe Coding Index, and DeepSeek V4 Flash 0731 costs 35.7x less per output token ($0.28 vs $10.00 per million). Updated October 21, 2026; 12 benchmarks have a result for both.

DeepSeek V4 Flash 0731DeepSeek
Coding
51.8
Overall
55.2
Output $/M
$0.28
10
GPT-5.1-CodexOpenAI
Coding
15.3
Overall
No data
Output $/M
$10.00
2
vs boards won of 12 shared

DeepSeek V4 Flash 0731 or GPT-5.1-Codex: which to pick

Pick DeepSeek V4 Flash 0731 for coding: it scores 51.8 on the Vibe Coding Index against 15.3 for GPT-5.1-Codex.

Pick GPT-5.1-Codex for work measured by Design Arena: UI components or Design Arena: data viz, where it leads.

Shared results
12
DeepSeek V4 Flash 0731 only
43
GPT-5.1-Codex only
14
Like-for-like categories
5 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-5.1-Codex 15.3 from 2 benchmarks.
Widest category
Coding, 21.8 points apart on average over 3 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): DeepSeek V4 Flash 0731 74.7% against GPT-5.1-Codex 13.1%, 61.6 points apart on a 0 to 100 scale.
Output price
DeepSeek V4 Flash 0731 $0.28 against GPT-5.1-Codex $10.00 per million output tokens, 35.7x apart.
Context window
DeepSeek V4 Flash 0731 takes 1.05M tokens, GPT-5.1-Codex 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.

Boards won, where both have a result
CategoryDeepSeek V4 Flash 0731BarsGPT-5.1-CodexTies
Coding30
Intelligence10
Reasoning20
Web design32
General10
All shared boards102
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
Coding benchmarks for DeepSeek V4 Flash 0731 and GPT-5.1-Codex
BenchmarkDeepSeek V4 Flash 0731GPT-5.1-CodexLeader
SWE-bench VerifiedNot measured66.0%Only GPT-5.1-Codex measured
LMArena WebDevNot measured1337Only GPT-5.1-Codex measured
AA Coding Index69.1Not measuredOnly DeepSeek V4 Flash 0731 measured
LiveCodeBench (Vals AI)87.3%85.5%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%13.1%DeepSeek V4 Flash 0731
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 measured84.9%Only GPT-5.1-Codex measured
SciCode50.3%Not measuredOnly DeepSeek V4 Flash 0731 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured34.8%Only GPT-5.1-Codex measured
Terminal-BenchNot measured57.8%Only GPT-5.1-Codex measured
FrontierCode18.8%Not measuredOnly DeepSeek V4 Flash 0731 measured
WeirdML63.0%Not measuredOnly DeepSeek V4 Flash 0731 measured
ALE-Bench1306.11244.9DeepSeek V4 Flash 0731
LMArena WebDev: HTMLNot measured1346Only GPT-5.1-Codex measured
Neither model has a result on the other 18 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for DeepSeek V4 Flash 0731 and GPT-5.1-Codex
BenchmarkDeepSeek V4 Flash 0731GPT-5.1-CodexLeader
AA Intelligence Index34.323.7DeepSeek V4 Flash 0731
Epoch Capabilities Index154.8Not measuredOnly DeepSeek V4 Flash 0731 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index11 boards, none shared
Agentic work benchmarks for DeepSeek V4 Flash 0731 and GPT-5.1-Codex
BenchmarkDeepSeek V4 Flash 0731GPT-5.1-CodexLeader
AA Agentic Index41.0Not measuredOnly DeepSeek V4 Flash 0731 measured
Design Arena: agents building web appsNot measured1018Only GPT-5.1-Codex measured
Design Arena: agents building full-stack appsNot measured1086Only GPT-5.1-Codex measured
Design Arena: agents building mobile appsNot measured1191Only GPT-5.1-Codex 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 measured83.0%Only GPT-5.1-Codex measured
Neither model has a result on the other 30 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
Reasoning benchmarks for DeepSeek V4 Flash 0731 and GPT-5.1-Codex
BenchmarkDeepSeek V4 Flash 0731GPT-5.1-CodexLeader
GPQA Diamond89.9%Not measuredOnly DeepSeek V4 Flash 0731 measured
GPQA Diamond (Artificial Analysis run)90.8%86.0%DeepSeek V4 Flash 0731
Humanity's Last Exam (Artificial Analysis run)38.6%25.7%DeepSeek V4 Flash 0731
GPQA Diamond (Epoch AI run)91.0%Not measuredOnly DeepSeek V4 Flash 0731 measured
ARC-AGI89.0%Not measuredOnly DeepSeek V4 Flash 0731 measured
ARC-AGI-261.4%Not measuredOnly DeepSeek V4 Flash 0731 measured
SimpleBench61.1%Not measuredOnly DeepSeek V4 Flash 0731 measured
Chess puzzles32.0%Not measuredOnly DeepSeek V4 Flash 0731 measured
Mystery game puzzles34.0%Not measuredOnly DeepSeek V4 Flash 0731 measured
Neither model has a result on the other 13 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Math benchmarks for DeepSeek V4 Flash 0731 and GPT-5.1-Codex
BenchmarkDeepSeek V4 Flash 0731GPT-5.1-CodexLeader
AA Math IndexNot measured95.7Only GPT-5.1-Codex measured
AIME 2025 (Artificial Analysis run)Not measured95.7%Only GPT-5.1-Codex measured
OTIS Mock AIME94.4%Not measuredOnly DeepSeek V4 Flash 0731 measured
FrontierMath, tiers 1 to 357.5%Not measuredOnly DeepSeek V4 Flash 0731 measured
FrontierMath, tier 424.4%Not measuredOnly DeepSeek V4 Flash 0731 measured
ProofBench56.0%Not measuredOnly DeepSeek V4 Flash 0731 measured
Neither model has a result on the other 7 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Knowledge benchmarks for DeepSeek V4 Flash 0731 and GPT-5.1-Codex
BenchmarkDeepSeek V4 Flash 0731GPT-5.1-CodexLeader
MMLU Pro86.2%Not measuredOnly DeepSeek V4 Flash 0731 measured
LegalBench (Vals AI)77.7%Not measuredOnly DeepSeek V4 Flash 0731 measured
CorpFin (Vals AI)61.9%Not measuredOnly DeepSeek V4 Flash 0731 measured
TaxEval (Vals AI)70.7%Not measuredOnly DeepSeek V4 Flash 0731 measured
MedCode (Vals AI)41.4%Not measuredOnly DeepSeek V4 Flash 0731 measured
MMLU Pro (Artificial Analysis run)Not measured86.0%Only GPT-5.1-Codex measured
SimpleQA Verified33.6%Not measuredOnly DeepSeek V4 Flash 0731 measured
Neither model has a result on the other 11 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index32
Web design benchmarks for DeepSeek V4 Flash 0731 and GPT-5.1-Codex
BenchmarkDeepSeek V4 Flash 0731GPT-5.1-CodexLeader
Design Arena: websites12381162DeepSeek V4 Flash 0731
Design Arena: UI components12351237GPT-5.1-Codex
Design Arena: game dev12081138DeepSeek V4 Flash 0731
Design Arena: data viz11801213GPT-5.1-Codex
Design Arena: 3D1209Not measuredOnly DeepSeek V4 Flash 0731 measured
Design Arena: all code categories12301152DeepSeek 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 index10
General benchmarks for DeepSeek V4 Flash 0731 and GPT-5.1-Codex
BenchmarkDeepSeek V4 Flash 0731GPT-5.1-CodexLeader
MedScribe (Vals AI)80.4%Not measuredOnly DeepSeek V4 Flash 0731 measured
IFBenchNot measured70.0%Only GPT-5.1-Codex measured
Long context reasoning (AA-LCR)79.7%69.3%DeepSeek V4 Flash 0731
DTBench90.9%Not measuredOnly DeepSeek V4 Flash 0731 measured
LMCA41.7%Not measuredOnly DeepSeek V4 Flash 0731 measured
Neither model has a result on the other 41 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-5.1-Codex
BenchmarkDeepSeek V4 Flash 0731GPT-5.1-CodexLeader
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-5.1-Codex$0.0063Fits 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-5.1-Codex$0.092Fits 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-5.1-Codex$0.350Fits 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-5.1-Codex
SpecificationDeepSeek V4 Flash 0731OpenAI GPT-5.1-Codex
MakerDeepSeekOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJuly 31, 2026November 13, 2025
Context window1.05M400K
Input $/Mtok$0.14$1.25
Output $/Mtok$0.28$10.00
Coding index51.815.3
Independent measurements behind it42
Cost per solved task$0.01$0.892
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick DeepSeek V4 Flash 0731 for coding: it scores 51.8 on the Vibe Coding Index against 15.3 for GPT-5.1-Codex. Pick GPT-5.1-Codex for work measured by Design Arena: UI components or Design Arena: data viz, where it leads.

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

DeepSeek V4 Flash 0731 costs $0.14 per million input tokens and $0.28 per million output tokens; GPT-5.1-Codex costs $1.25 and $10.00. Per solved SWE-bench Verified task, DeepSeek V4 Flash 0731 costs $0.01 and GPT-5.1-Codex $0.892.

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

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

How many benchmarks is the DeepSeek V4 Flash 0731 vs GPT-5.1-Codex comparison based on?

12 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.1-Codex's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/deepseek-v4-flash-0731-vs-gpt-5-1-codex" title="DeepSeek V4 Flash 0731 vs GPT-5.1-Codex, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/deepseek-v4-flash-0731-vs-gpt-5-1-codex">LLMBenchmark.ai, DeepSeek V4 Flash 0731 vs GPT-5.1-Codex</a></p>