Enter opens the highlighted result. Esc closes.

DeepSeek V4 Flash 0731 vs GPT-5.2-Codex

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

DeepSeek V4 Flash 0731DeepSeek
Coding
51.8
Overall
55.2
Output $/M
$0.28
6
GPT-5.2-CodexOpenAI
Coding
45.4
Overall
No data
Output $/M
$14.00
2
vs boards won of 8 shared

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

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

Pick GPT-5.2-Codex for work measured by LiveCodeBench (Vals AI) or Long context reasoning (AA-LCR), where it leads.

Shared results
8
DeepSeek V4 Flash 0731 only
47
GPT-5.2-Codex only
14
Like-for-like categories
4 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.2-Codex 45.4 from 3 benchmarks.
Widest category
Coding, 13.5 points apart on average over 4 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): DeepSeek V4 Flash 0731 74.7% against GPT-5.2-Codex 37.9%, 36.8 points apart on a 0 to 100 scale.
Output price
DeepSeek V4 Flash 0731 $0.28 against GPT-5.2-Codex $14.00 per million output tokens, 50.0x apart.
Context window
DeepSeek V4 Flash 0731 takes 1.05M tokens, GPT-5.2-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.2-CodexTies
Coding31
Intelligence10
Reasoning20
General01
All shared boards62
CodingLike-for-likeSix of these boards feed the Vibe Coding Index31
Coding benchmarks for DeepSeek V4 Flash 0731 and GPT-5.2-Codex
BenchmarkDeepSeek V4 Flash 0731GPT-5.2-CodexLeader
SWE-bench VerifiedNot measured72.8%Only GPT-5.2-Codex measured
SWE-bench MultilingualNot measured66.3%Only GPT-5.2-Codex measured
LMArena WebDevNot measured1339Only GPT-5.2-Codex measured
AA Coding Index69.1Not measuredOnly DeepSeek V4 Flash 0731 measured
LiveCodeBench (Vals AI)87.3%88.0%GPT-5.2-Codex
SWE-bench Verified (Vals AI)88.8%72.4%DeepSeek V4 Flash 0731
Terminal-Bench 4 (Vals AI)18.7%Not measuredOnly DeepSeek V4 Flash 0731 measured
Vibe Code Bench (Vals AI)74.7%37.9%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
SciCode50.3%Not measuredOnly DeepSeek V4 Flash 0731 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured37.1%Only GPT-5.2-Codex measured
Terminal-BenchNot measured66.5%Only GPT-5.2-Codex measured
FrontierCode18.8%Not measuredOnly DeepSeek V4 Flash 0731 measured
WeirdML63.0%Not measuredOnly DeepSeek V4 Flash 0731 measured
ALE-Bench1306.11299.9DeepSeek V4 Flash 0731
LMArena WebDev: ReactNot measured1329Only GPT-5.2-Codex measured
LMArena WebDev: HTMLNot measured1348Only GPT-5.2-Codex measured
Neither model has a result on the other 17 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for DeepSeek V4 Flash 0731 and GPT-5.2-Codex
BenchmarkDeepSeek V4 Flash 0731GPT-5.2-CodexLeader
AA Intelligence Index34.328.5DeepSeek V4 Flash 0731
Epoch Capabilities Index154.8Not measuredOnly DeepSeek V4 Flash 0731 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index13 boards, none shared
Agentic work benchmarks for DeepSeek V4 Flash 0731 and GPT-5.2-Codex
BenchmarkDeepSeek V4 Flash 0731GPT-5.2-CodexLeader
AA Agentic Index41.0Not measuredOnly DeepSeek V4 Flash 0731 measured
Design Arena: agents building web appsNot measured1051Only GPT-5.2-Codex measured
Design Arena: agents building full-stack appsNot measured993Only GPT-5.2-Codex measured
Design Arena: agents building mobile appsNot measured1090Only GPT-5.2-Codex measured
Design Arena: agents building Android appsNot measured1176Only GPT-5.2-Codex measured
Design Arena: agents building Godot gamesNot measured1142Only GPT-5.2-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 measured92.1%Only GPT-5.2-Codex measured
Neither model has a result on the other 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
Reasoning benchmarks for DeepSeek V4 Flash 0731 and GPT-5.2-Codex
BenchmarkDeepSeek V4 Flash 0731GPT-5.2-CodexLeader
GPQA Diamond89.9%Not measuredOnly DeepSeek V4 Flash 0731 measured
GPQA Diamond (Artificial Analysis run)90.8%89.9%DeepSeek V4 Flash 0731
Humanity's Last Exam (Artificial Analysis run)38.6%35.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 index4 boards, none shared
Math benchmarks for DeepSeek V4 Flash 0731 and GPT-5.2-Codex
BenchmarkDeepSeek V4 Flash 0731GPT-5.2-CodexLeader
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 9 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Knowledge benchmarks for DeepSeek V4 Flash 0731 and GPT-5.2-Codex
BenchmarkDeepSeek V4 Flash 0731GPT-5.2-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
SimpleQA Verified33.6%Not measuredOnly DeepSeek V4 Flash 0731 measured
Neither model has a result on the other 12 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for DeepSeek V4 Flash 0731 and GPT-5.2-Codex
BenchmarkDeepSeek V4 Flash 0731GPT-5.2-CodexLeader
Design Arena: websites1238Not measuredOnly DeepSeek V4 Flash 0731 measured
Design Arena: UI components1235Not measuredOnly DeepSeek V4 Flash 0731 measured
Design Arena: game dev1208Not measuredOnly DeepSeek V4 Flash 0731 measured
Design Arena: data viz1180Not measuredOnly DeepSeek V4 Flash 0731 measured
Design Arena: 3D1209Not measuredOnly DeepSeek V4 Flash 0731 measured
Design Arena: all code categories1230Not measuredOnly DeepSeek V4 Flash 0731 measured
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 index01
General benchmarks for DeepSeek V4 Flash 0731 and GPT-5.2-Codex
BenchmarkDeepSeek V4 Flash 0731GPT-5.2-CodexLeader
MedScribe (Vals AI)80.4%Not measuredOnly DeepSeek V4 Flash 0731 measured
IFBenchNot measured77.6%Only GPT-5.2-Codex measured
Long context reasoning (AA-LCR)79.7%82.3%GPT-5.2-Codex
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.2-Codex
BenchmarkDeepSeek V4 Flash 0731GPT-5.2-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.2-Codex$0.0088Fits 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.2-Codex$0.130Fits 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.2-Codex$0.490Fits 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.2-Codex
SpecificationDeepSeek V4 Flash 0731OpenAI GPT-5.2-Codex
MakerDeepSeekOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJuly 31, 2026January 14, 2026
Context window1.05M400K
Input $/Mtok$0.14$1.75
Output $/Mtok$0.28$14.00
Coding index51.845.4
Independent measurements behind it43
Cost per solved task$0.01$0.43
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick DeepSeek V4 Flash 0731 for coding: it scores 51.8 on the Vibe Coding Index against 45.4 for GPT-5.2-Codex. Pick GPT-5.2-Codex for work measured by LiveCodeBench (Vals AI) or Long context reasoning (AA-LCR), where it leads.

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

DeepSeek V4 Flash 0731 costs $0.14 per million input tokens and $0.28 per million output tokens; GPT-5.2-Codex costs $1.75 and $14.00. Per solved SWE-bench Verified task, DeepSeek V4 Flash 0731 costs $0.01 and GPT-5.2-Codex $0.43.

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

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

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

8 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.2-Codex's on 3. 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-2-codex" title="DeepSeek V4 Flash 0731 vs GPT-5.2-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-2-codex">LLMBenchmark.ai, DeepSeek V4 Flash 0731 vs GPT-5.2-Codex</a></p>