Enter opens the highlighted result. Esc closes.

GPT-5.2 vs GPT-5.4

GPT-5.4 leads GPT-5.2 on coding, 64.4 to 55.9 on the Vibe Coding Index, at about the same output price ($15.00 vs $14.00 per million). Updated October 22, 2026; 100 benchmarks have a result for both.

GPT-5.2OpenAI
Coding
55.9
Overall
60.7
Output $/M
$14.00
22
GPT-5.4OpenAI
Coding
64.4
Overall
69.6
Output $/M
$15.00
76
vs boards won of 100 shared, 2 tied

GPT-5.2 or GPT-5.4: which to pick

Pick GPT-5.4 for coding: it scores 64.4 on the Vibe Coding Index against 55.9 for GPT-5.2.

Pick GPT-5.2 for output tokens 1.1x cheaper ($14.00 vs $15.00 per million) and work measured by LiveCodeBench (Vals AI) or Design Arena: agents building web apps, where it leads.

Shared results
100
GPT-5.2 only
14
GPT-5.4 only
10
Like-for-like categories
8 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
GPT-5.2 55.9 from 3 benchmarks, GPT-5.4 64.4 from 3 benchmarks.
Widest category
Math, 12.6 points apart on average over 7 shared benchmarks.
Widest single gap
ProofBench: GPT-5.2 15.0% against GPT-5.4 56.0%, 41.0 points apart on a 0 to 100 scale.
Output price
GPT-5.2 $14.00 against GPT-5.4 $15.00 per million output tokens, 1.1x apart.
Context window
GPT-5.2 takes 400K tokens, GPT-5.4 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
CategoryGPT-5.2BarsGPT-5.4Ties
Coding111
Intelligence02
Agentic work72
Reasoning1132 ties
Math16
Knowledge49
Web design35
General528
All shared boards22762 ties
CodingLike-for-likeSix of these boards feed the Vibe Coding Index111
Coding benchmarks for GPT-5.2 and GPT-5.4
BenchmarkGPT-5.2GPT-5.4Leader
SWE-bench Verified72.8%Not measuredOnly GPT-5.2 measured
SWE-bench Multilingual66.7%Not measuredOnly GPT-5.2 measured
LMArena WebDev14171464GPT-5.4
AA Coding IndexNot measured71.1Only GPT-5.4 measured
LiveCodeBench (Vals AI)85.4%84.1%GPT-5.2
SWE-bench Verified (Vals AI)75.8%78.2%GPT-5.4
Vibe Code Bench (Vals AI)53.5%67.4%GPT-5.4
Code migration (Vals AI)Not measured35.0%Only GPT-5.4 measured
ProgramBench (Vals AI)Not measured0.5%Only GPT-5.4 measured
SkillsBench (Vals AI)Not measured51.7%Only GPT-5.4 measured
LiveCodeBench (Artificial Analysis run)89.4%Not measuredOnly GPT-5.2 measured
Terminal-Bench Hard (Artificial Analysis run)47.0%57.6%GPT-5.4
Terminal-Bench64.9%81.8%GPT-5.4
GSO-Bench27.5%31.4%GPT-5.4
WeirdML72.2%77.7%GPT-5.4
MirrorCodeNot measured15.6%Only GPT-5.4 measured
ALE-Bench1293.51607.0GPT-5.4
LMArena Text: coding14421496GPT-5.4
LMArena Text: software and IT14341491GPT-5.4
LMArena WebDev: ReactNot measured1454Only GPT-5.4 measured
LMArena WebDev: HTML14271478GPT-5.4
LMArena WebDev: from an imageNot measured1436Only GPT-5.4 measured
Neither model has a result on the other 17 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-5.2 and GPT-5.4
BenchmarkGPT-5.2GPT-5.4Leader
AA Intelligence Index30.439.0GPT-5.4
Epoch Capabilities Index153.7157.3GPT-5.4
Agentic workLike-for-likePublic boards, shown as published, kept out of the index72
Agentic work benchmarks for GPT-5.2 and GPT-5.4
BenchmarkGPT-5.2GPT-5.4Leader
Design Arena: agents building web apps10861059GPT-5.2
Design Arena: agents building full-stack apps10431017GPT-5.2
Design Arena: agents building mobile apps10931087GPT-5.2
Design Arena: agents building Android apps10591031GPT-5.2
Design Arena: agents building Godot games11421135GPT-5.2
τ²-Bench Telecom84.8%87.1%GPT-5.4
APEX-AgentsNot measured52.4%Only GPT-5.4 measured
METR time horizons75.3%74.3%GPT-5.2
Remote Labor Index2.5%Not measuredOnly GPT-5.2 measured
GDPval49.7%Not measuredOnly GPT-5.2 measured
DeepResearch Bench41.1%35.1%GPT-5.2
PostTrainBenchNot measured19.0%Only GPT-5.4 measured
Vending-Bench 2$3,591$6,144GPT-5.4
Berkeley Function Calling Leaderboard (BFCL)55.9%Not measuredOnly GPT-5.2 measured
Neither model has a result on the other 27 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index113
Reasoning benchmarks for GPT-5.2 and GPT-5.4
BenchmarkGPT-5.2GPT-5.4Leader
GPQA Diamond91.7%91.7%Tie
MMMU Pro (Vals AI)86.7%87.5%GPT-5.4
GPQA Diamond (Artificial Analysis run)90.3%92.0%GPT-5.4
Humanity's Last Exam (Artificial Analysis run)37.7%43.7%GPT-5.4
GPQA Diamond (Epoch AI run)91.4%93.3%GPT-5.4
ARC-AGI86.2%93.7%GPT-5.4
ARC-AGI-252.9%74.0%GPT-5.4
SimpleBench45.8%Not measuredOnly GPT-5.2 measured
Chess puzzles48.0%48.0%Tie
Mystery game puzzles23.0%37.0%GPT-5.4
EBR-bench23.0%25.4%GPT-5.4
VPCT84.0%Not measuredOnly GPT-5.2 measured
LMArena Text: hard prompts14281485GPT-5.4
LMArena Text: expert14451507GPT-5.4
LMArena Text: hard prompts in English14311479GPT-5.4
LMArena Vision: diagrams12651327GPT-5.4
LMArena Vision: homework12761336GPT-5.4
Kagi LLM Benchmark73.3%63.8%GPT-5.2
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index16
Math benchmarks for GPT-5.2 and GPT-5.4
BenchmarkGPT-5.2GPT-5.4Leader
AIME96.9%96.7%GPT-5.2
MGSM (Vals AI)94.0%Not measuredOnly GPT-5.2 measured
AA Math Index99.0Not measuredOnly GPT-5.2 measured
AIME 2025 (Artificial Analysis run)99.0%Not measuredOnly GPT-5.2 measured
OTIS Mock AIME96.1%97.8%GPT-5.4
FrontierMath, tiers 1 to 367.4%78.6%GPT-5.4
FrontierMath, tier 431.7%49.0%GPT-5.4
ProofBench15.0%56.0%GPT-5.4
LMArena Text: math14401488GPT-5.4
LMArena Text: mathematical work14421497GPT-5.4
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index49
Knowledge benchmarks for GPT-5.2 and GPT-5.4
BenchmarkGPT-5.2GPT-5.4Leader
MMLU Pro86.2%87.5%GPT-5.4
LegalBench (Vals AI)82.8%86.0%GPT-5.4
CaseLaw (Vals AI)66.0%63.8%GPT-5.2
CorpFin (Vals AI)65.9%65.3%GPT-5.2
TaxEval (Vals AI)75.8%74.0%GPT-5.2
MortgageTax (Vals AI)67.1%68.3%GPT-5.4
MedQA (Vals AI)94.1%96.1%GPT-5.4
MedCode (Vals AI)49.8%41.3%GPT-5.2
MMLU Pro (Artificial Analysis run)87.4%Not measuredOnly GPT-5.2 measured
SimpleQA Verified37.1%45.1%GPT-5.4
LMArena Text: science14251479GPT-5.4
LMArena Text: medicine and healthcare14251458GPT-5.4
LMArena Text: legal and government14271486GPT-5.4
LMArena Text: business and finance14141474GPT-5.4
FACTS Benchmark Suite48.5%Not measuredOnly GPT-5.2 measured
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index35
Web design benchmarks for GPT-5.2 and GPT-5.4
BenchmarkGPT-5.2GPT-5.4Leader
Design Arena: websites11951198GPT-5.4
Design Arena: UI components11901212GPT-5.4
Design Arena: game dev11951194GPT-5.2
Design Arena: data viz12021196GPT-5.2
Design Arena: 3D10791065GPT-5.2
Design Arena: all code categories11701179GPT-5.4
Design Arena: SVG11391141GPT-5.4
Design Arena: ASCII art11521188GPT-5.4
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index528
General benchmarks for GPT-5.2 and GPT-5.4
BenchmarkGPT-5.2GPT-5.4Leader
SAGE (Vals AI)49.3%43.3%GPT-5.2
MedScribe (Vals AI)84.4%77.5%GPT-5.2
IFBench75.4%73.9%GPT-5.2
Long context reasoning (AA-LCR)82.7%82.0%GPT-5.2
DTBench90.9%94.4%GPT-5.4
LMCA43.9%52.0%GPT-5.4
CL-bench18.2%27.9%GPT-5.4
Furniture assembly38.3%37.5%GPT-5.2
CL-bench LifeNot measured21.7%Only GPT-5.4 measured
LMArena Text14161469GPT-5.4
LMArena Text: instruction following14091469GPT-5.4
LMArena Text: creative writing13761439GPT-5.4
LMArena Vision12461303GPT-5.4
LMArena Text: English14221467GPT-5.4
LMArena Text: non-English14051465GPT-5.4
LMArena Text: Chinese14471520GPT-5.4
LMArena Text: German14441472GPT-5.4
LMArena Text: Japanese14201485GPT-5.4
LMArena Text: Korean13741449GPT-5.4
LMArena Text: French14541493GPT-5.4
LMArena Text: Spanish14131452GPT-5.4
LMArena Text: Russian14151480GPT-5.4
LMArena Text: Polish14261472GPT-5.4
LMArena Text: multi-turn14191482GPT-5.4
LMArena Text: longer queries14131473GPT-5.4
LMArena Text: writing and language13921458GPT-5.4
LMArena Text: entertainment and media13781438GPT-5.4
LMArena Vision: English12431301GPT-5.4
LMArena Vision: Chinese13051354GPT-5.4
LMArena Vision: reading text12571312GPT-5.4
LMArena Vision: humor12271284GPT-5.4
LMArena Vision: captioning1267Not measuredOnly GPT-5.2 measured
LMArena Vision: recognizing things12321251GPT-5.4
LMArena Vision: creative writing12251283GPT-5.4
LMArena Document14051471GPT-5.4
Neither model has a result on the other 11 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-5.2 and GPT-5.4
BenchmarkGPT-5.2GPT-5.4Leader
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

GPT-5.2$0.0088Fits in one request
GPT-5.4$0.010Fits in one request

GPT-5.2 costs less

Repository review

50K input + 3K output tokens

GPT-5.2$0.130Fits in one request
GPT-5.4$0.170Fits in one request

GPT-5.2 costs less

Agent loop

200K input + 10K output tokens

GPT-5.2$0.490Fits in one request
GPT-5.4$0.650Fits in one request

GPT-5.2 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 GPT-5.2 and GPT-5.4
SpecificationOpenAI GPT-5.2OpenAI GPT-5.4
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedDecember 10, 2025March 5, 2026
Context window400K1.05M
Input $/Mtok$1.75$2.50
Output $/Mtok$14.00$15.00
Coding index55.964.4
Independent measurements behind it33
Cost per solved task$1.91$1.02
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-5.2 better than GPT-5.4 for coding?

Pick GPT-5.4 for coding: it scores 64.4 on the Vibe Coding Index against 55.9 for GPT-5.2. Pick GPT-5.2 for output tokens 1.1x cheaper ($14.00 vs $15.00 per million) and work measured by LiveCodeBench (Vals AI) or Design Arena: agents building web apps, where it leads.

Which is cheaper, GPT-5.2 or GPT-5.4?

GPT-5.2 costs $1.75 per million input tokens and $14.00 per million output tokens; GPT-5.4 costs $2.50 and $15.00. Per solved SWE-bench Verified task, GPT-5.2 costs $1.91 and GPT-5.4 $1.02.

Which has the bigger context window, GPT-5.2 or GPT-5.4?

GPT-5.4, with 1.05M tokens against 400K.

How many benchmarks is the GPT-5.2 vs GPT-5.4 comparison based on?

100 benchmarks have a result for both models as of October 22, 2026. GPT-5.2's coding index rests on 3 independent benchmarks and GPT-5.4'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/gpt-5-2-vs-gpt-5-4" title="GPT-5.2 vs GPT-5.4, 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/gpt-5-2-vs-gpt-5-4">LLMBenchmark.ai, GPT-5.2 vs GPT-5.4</a></p>