LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

GPT-4o vs GPT-5.2

Updated October 21, 2026. 22 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

GPT-4oOpenAI
Coding
38.8
Overall
No data
Output $/M
$10.00
0
GPT-5.2OpenAI
Coding
58.9
Overall
30.4
Output $/M
$14.00
22
vs boards won of 22 shared

Decision reading

Pick GPT-5.2 for coding: it scores 58.9 on the Vibe Coding Index against 38.8 for GPT-4o.

Pick GPT-4o when output tokens cost 1.4x less.

Shared results
22
GPT-4o only
4
GPT-5.2 only
89
Like-for-like categories
7 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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-4o 38.8 from 1 benchmark, GPT-5.2 58.9 from 2 benchmarks.
Widest category
Math, 93.0 points apart on average over 2 shared benchmarks.
Widest single gap
AA Math Index: GPT-4o 6.0 against GPT-5.2 99.0, 93.0 points apart on a 0 to 100 scale.
Output price
GPT-4o $10.00 against GPT-5.2 $14.00 per million output tokens, 1.4x apart.
Context window
GPT-4o takes 128K tokens, GPT-5.2 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
CategoryGPT-4oBarsGPT-5.2Ties
Coding03
Agentic work02
Reasoning04
Math02
Knowledge01
Web design06
General04
All shared boards022
CodingLike-for-likeFour of these boards feed the Vibe Coding Index03
Coding benchmarks for GPT-4o and GPT-5.2
BenchmarkGPT-4oGPT-5.2Leader
SWE-bench Verified38.8%72.8%GPT-5.2
SWE-bench Lite38.0%Not measuredOnly GPT-4o measured
SWE-bench (full test set)18.8%Not measuredOnly GPT-4o measured
SWE-bench Multimodal30.4%Not measuredOnly GPT-4o measured
SWE-bench MultilingualNot measured66.7%Only GPT-5.2 measured
LMArena WebDevNot measured1417Only GPT-5.2 measured
LiveCodeBench (Vals AI)Not measured85.4%Only GPT-5.2 measured
SWE-bench Verified (Vals AI)Not measured75.8%Only GPT-5.2 measured
Vibe Code Bench (Vals AI)Not measured53.5%Only GPT-5.2 measured
LiveCodeBench (Artificial Analysis run)30.9%89.4%GPT-5.2
Terminal-Bench Hard (Artificial Analysis run)8.3%47.0%GPT-5.2
Terminal-BenchNot measured64.9%Only GPT-5.2 measured
GSO-BenchNot measured27.5%Only GPT-5.2 measured
WeirdMLNot measured72.2%Only GPT-5.2 measured
ALE-BenchNot measured1293.5Only GPT-5.2 measured
LMArena Text: codingNot measured1442Only GPT-5.2 measured
LMArena Text: software and ITNot measured1434Only GPT-5.2 measured
LMArena WebDev: HTMLNot measured1427Only GPT-5.2 measured
Neither model has a result on the other 20 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Intelligence benchmarks for GPT-4o and GPT-5.2
BenchmarkGPT-4oGPT-5.2Leader
AA Intelligence IndexNot measured30.4Only GPT-5.2 measured
Epoch Capabilities IndexNot measured153.7Only GPT-5.2 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
Agentic work benchmarks for GPT-4o and GPT-5.2
BenchmarkGPT-4oGPT-5.2Leader
Design Arena: agents building web appsNot measured1086Only GPT-5.2 measured
Design Arena: agents building full-stack appsNot measured1043Only GPT-5.2 measured
Design Arena: agents building mobile appsNot measured1094Only GPT-5.2 measured
Design Arena: agents building Android appsNot measured1064Only GPT-5.2 measured
Design Arena: agents building Godot gamesNot measured1142Only GPT-5.2 measured
τ²-Bench Telecom25.1%84.8%GPT-5.2
METR time horizonsNot measured75.3%Only GPT-5.2 measured
Remote Labor IndexNot measured2.5%Only GPT-5.2 measured
GDPval9.9%49.7%GPT-5.2
DeepResearch BenchNot measured41.1%Only GPT-5.2 measured
Vending-Bench 2Not measured$3,591Only GPT-5.2 measured
Neither model has a result on the other 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for GPT-4o and GPT-5.2
BenchmarkGPT-4oGPT-5.2Leader
GPQA DiamondNot measured91.7%Only GPT-5.2 measured
MMMU Pro (Vals AI)Not measured86.7%Only GPT-5.2 measured
GPQA Diamond (Artificial Analysis run)54.3%90.3%GPT-5.2
Humanity's Last Exam (Artificial Analysis run)2.4%37.7%GPT-5.2
GPQA Diamond (Epoch AI run)Not measured91.4%Only GPT-5.2 measured
ARC-AGI4.5%86.2%GPT-5.2
ARC-AGI-20.0%52.9%GPT-5.2
SimpleBenchNot measured45.8%Only GPT-5.2 measured
Chess puzzlesNot measured48.0%Only GPT-5.2 measured
Mystery game puzzlesNot measured23.0%Only GPT-5.2 measured
EBR-benchNot measured23.0%Only GPT-5.2 measured
VPCTNot measured84.0%Only GPT-5.2 measured
LMArena Text: hard promptsNot measured1428Only GPT-5.2 measured
LMArena Text: expertNot measured1445Only GPT-5.2 measured
LMArena Text: hard prompts in EnglishNot measured1431Only GPT-5.2 measured
LMArena Vision: diagramsNot measured1265Only GPT-5.2 measured
LMArena Vision: homeworkNot measured1276Only GPT-5.2 measured
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for GPT-4o and GPT-5.2
BenchmarkGPT-4oGPT-5.2Leader
AIMENot measured96.9%Only GPT-5.2 measured
MGSM (Vals AI)Not measured94.0%Only GPT-5.2 measured
AA Math Index6.099.0GPT-5.2
AIME 2025 (Artificial Analysis run)6.0%99.0%GPT-5.2
OTIS Mock AIMENot measured96.1%Only GPT-5.2 measured
FrontierMath, tiers 1 to 3Not measured67.4%Only GPT-5.2 measured
FrontierMath, tier 4Not measured31.7%Only GPT-5.2 measured
ProofBenchNot measured15.0%Only GPT-5.2 measured
LMArena Text: mathNot measured1440Only GPT-5.2 measured
LMArena Text: mathematical workNot measured1442Only GPT-5.2 measured
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index01
Knowledge benchmarks for GPT-4o and GPT-5.2
BenchmarkGPT-4oGPT-5.2Leader
MMLU ProNot measured86.2%Only GPT-5.2 measured
LegalBench (Vals AI)Not measured82.8%Only GPT-5.2 measured
CaseLaw (Vals AI)Not measured66.0%Only GPT-5.2 measured
CorpFin (Vals AI)Not measured65.9%Only GPT-5.2 measured
TaxEval (Vals AI)Not measured75.8%Only GPT-5.2 measured
MortgageTax (Vals AI)Not measured67.1%Only GPT-5.2 measured
MedQA (Vals AI)Not measured94.1%Only GPT-5.2 measured
MedCode (Vals AI)Not measured49.8%Only GPT-5.2 measured
MMLU Pro (Artificial Analysis run)74.8%87.4%GPT-5.2
SimpleQA VerifiedNot measured37.1%Only GPT-5.2 measured
MMLU88.1%Not measuredOnly GPT-4o measured
LMArena Text: scienceNot measured1425Only GPT-5.2 measured
LMArena Text: medicine and healthcareNot measured1425Only GPT-5.2 measured
LMArena Text: legal and governmentNot measured1427Only GPT-5.2 measured
LMArena Text: business and financeNot measured1414Only GPT-5.2 measured
Neither model has a result on the other 2 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index06
Web design benchmarks for GPT-4o and GPT-5.2
BenchmarkGPT-4oGPT-5.2Leader
Design Arena: websites8311196GPT-5.2
Design Arena: UI components8851190GPT-5.2
Design Arena: game dev9061196GPT-5.2
Design Arena: data viz8581202GPT-5.2
Design Arena: 3D8691079GPT-5.2
Design Arena: all code categories8611171GPT-5.2
Design Arena: SVGNot measured1137Only GPT-5.2 measured
Design Arena: ASCII artNot measured1153Only GPT-5.2 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index04
General benchmarks for GPT-4o and GPT-5.2
BenchmarkGPT-4oGPT-5.2Leader
SAGE (Vals AI)Not measured49.3%Only GPT-5.2 measured
MedScribe (Vals AI)Not measured84.4%Only GPT-5.2 measured
IFBench34.3%75.4%GPT-5.2
Long context reasoning (AA-LCR)49.3%82.7%GPT-5.2
DTBench64.5%90.9%GPT-5.2
LMCA16.6%43.9%GPT-5.2
CL-benchNot measured18.2%Only GPT-5.2 measured
Furniture assemblyNot measured38.3%Only GPT-5.2 measured
LMArena TextNot measured1416Only GPT-5.2 measured
LMArena Text: instruction followingNot measured1409Only GPT-5.2 measured
LMArena Text: creative writingNot measured1376Only GPT-5.2 measured
LMArena VisionNot measured1246Only GPT-5.2 measured
LMArena Text: EnglishNot measured1422Only GPT-5.2 measured
LMArena Text: non-EnglishNot measured1405Only GPT-5.2 measured
LMArena Text: ChineseNot measured1447Only GPT-5.2 measured
LMArena Text: GermanNot measured1444Only GPT-5.2 measured
LMArena Text: JapaneseNot measured1420Only GPT-5.2 measured
LMArena Text: KoreanNot measured1374Only GPT-5.2 measured
LMArena Text: FrenchNot measured1454Only GPT-5.2 measured
LMArena Text: SpanishNot measured1413Only GPT-5.2 measured
LMArena Text: RussianNot measured1415Only GPT-5.2 measured
LMArena Text: PolishNot measured1426Only GPT-5.2 measured
LMArena Text: multi-turnNot measured1419Only GPT-5.2 measured
LMArena Text: longer queriesNot measured1413Only GPT-5.2 measured
LMArena Text: writing and languageNot measured1392Only GPT-5.2 measured
LMArena Text: entertainment and mediaNot measured1378Only GPT-5.2 measured
LMArena Vision: EnglishNot measured1243Only GPT-5.2 measured
LMArena Vision: ChineseNot measured1305Only GPT-5.2 measured
LMArena Vision: reading textNot measured1257Only GPT-5.2 measured
LMArena Vision: humorNot measured1227Only GPT-5.2 measured
LMArena Vision: captioningNot measured1267Only GPT-5.2 measured
LMArena Vision: recognizing thingsNot measured1232Only GPT-5.2 measured
LMArena Vision: creative writingNot measured1225Only GPT-5.2 measured
LMArena DocumentNot measured1405Only GPT-5.2 measured
Neither model has a result on the other 12 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-4o and GPT-5.2
BenchmarkGPT-4oGPT-5.2Leader
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-4o$0.0075Fits in one request
GPT-5.2$0.0088Fits in one request

GPT-4o costs less

Repository review

50K input + 3K output tokens

GPT-4o$0.155Fits in one request
GPT-5.2$0.130Fits in one request

GPT-5.2 costs less

Agent loop

200K input + 10K output tokens

GPT-4o$0.600Exceeds the context window
GPT-5.2$0.490Fits 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-4o and GPT-5.2
SpecificationOpenAI GPT-4oOpenAI GPT-5.2
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedMay 13, 2024December 10, 2025
Context window128K400K
Input $/Mtok$2.50$1.75
Output $/Mtok$10.00$14.00
Coding index38.858.9
Independent measurements behind it12
Cost per solved taskNot computable$1.91
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4o better than GPT-5.2 for coding?

Pick GPT-5.2 for coding: it scores 58.9 on the Vibe Coding Index against 38.8 for GPT-4o. Pick GPT-4o when output tokens cost 1.4x less.

Which is cheaper, GPT-4o or GPT-5.2?

GPT-4o costs $2.50 per million input tokens and $10.00 per million output tokens; GPT-5.2 costs $1.75 and $14.00. Cost per solved task is known for GPT-5.2 only.

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

GPT-5.2, with 400K tokens against 128K.

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

22 benchmarks have a result for both models as of October 21, 2026. GPT-4o's coding index rests on 1 independent benchmark and GPT-5.2's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next