Enter opens the highlighted result. Esc closes.

GPT-4 vs GPT-5.2

GPT-5.2 leads GPT-4 on the Artificial Analysis Intelligence Index, 30.4 to 6.7, and GPT-5.2 costs 4.3x less per output token ($14.00 vs $60.00 per million). Updated October 21, 2026; 36 benchmarks have a result for both.

GPT-4OpenAI
Coding
No data
Overall
No data
Output $/M
$60.00
0
GPT-5.2OpenAI
Coding
55.9
Overall
60.7
Output $/M
$14.00
36
vs boards won of 36 shared

GPT-4 or GPT-5.2: which to pick

Only GPT-5.2 has a coding score, 55.9 on the Vibe Coding Index; GPT-4 has none, so the two cannot be ranked on coding.

Compare them on price, context and the boards below.

Shared results
36
GPT-4 only
9
GPT-5.2 only
78
Like-for-like categories
6 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-4 not benchmarked, GPT-5.2 55.9 from 3 benchmarks.
Widest category
Reasoning, 44.9 points apart on average over 4 shared benchmarks.
Widest single gap
GPQA Diamond (Artificial Analysis run): GPT-4 34.9% against GPT-5.2 90.3%, 55.4 points apart on a 0 to 100 scale.
Output price
GPT-4 $60.00 against GPT-5.2 $14.00 per million output tokens, 4.3x apart.
Context window
GPT-4 takes 8K 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-4BarsGPT-5.2Ties
Coding03
Intelligence02
Reasoning04
Math02
Knowledge05
General020
All shared boards036
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
Coding benchmarks for GPT-4 and GPT-5.2
BenchmarkGPT-4GPT-5.2Leader
SWE-bench Verified22.4%72.8%GPT-5.2
SWE-bench Lite39.7%Not measuredOnly GPT-4 measured
SWE-bench (full test set)12.5%Not measuredOnly GPT-4 measured
SWE-bench MultilingualNot measured66.7%Only GPT-5.2 measured
LMArena WebDevNot measured1417Only GPT-5.2 measured
AA Coding Index13.1Not measuredOnly GPT-4 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)Not measured89.4%Only GPT-5.2 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured47.0%Only GPT-5.2 measured
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: coding12091442GPT-5.2
LMArena Text: software and IT11951434GPT-5.2
LMArena WebDev: HTMLNot measured1427Only GPT-5.2 measured
Neither model has a result on the other 21 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-4 and GPT-5.2
BenchmarkGPT-4GPT-5.2Leader
AA Intelligence Index6.730.4GPT-5.2
Epoch Capabilities Index125.7153.7GPT-5.2
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
Agentic work benchmarks for GPT-4 and GPT-5.2
BenchmarkGPT-4GPT-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 measured1093Only GPT-5.2 measured
Design Arena: agents building Android appsNot measured1058Only GPT-5.2 measured
Design Arena: agents building Godot gamesNot measured1142Only GPT-5.2 measured
τ²-Bench TelecomNot measured84.8%Only GPT-5.2 measured
METR time horizonsNot measured75.3%Only GPT-5.2 measured
Remote Labor IndexNot measured2.5%Only GPT-5.2 measured
GDPvalNot measured49.7%Only GPT-5.2 measured
DeepResearch BenchNot measured41.1%Only GPT-5.2 measured
Vending-Bench 2Not measured$3,591Only GPT-5.2 measured
Berkeley Function Calling Leaderboard (BFCL)Not measured55.9%Only GPT-5.2 measured
Neither model has a result on the other 29 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for GPT-4 and GPT-5.2
BenchmarkGPT-4GPT-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)34.9%90.3%GPT-5.2
Humanity's Last Exam (Artificial Analysis run)Not measured37.7%Only GPT-5.2 measured
GPQA Diamond (Epoch AI run)Not measured91.4%Only GPT-5.2 measured
ARC-AGINot measured86.2%Only GPT-5.2 measured
ARC-AGI-2Not measured52.9%Only GPT-5.2 measured
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
BIG-Bench Hard75.1%Not measuredOnly GPT-4 measured
LMArena Text: hard prompts12001428GPT-5.2
LMArena Text: expert11491445GPT-5.2
LMArena Text: hard prompts in English12091431GPT-5.2
LMArena Vision: diagramsNot measured1265Only GPT-5.2 measured
LMArena Vision: homeworkNot measured1276Only GPT-5.2 measured
Kagi LLM BenchmarkNot measured73.3%Only GPT-5.2 measured
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for GPT-4 and GPT-5.2
BenchmarkGPT-4GPT-5.2Leader
AIMENot measured96.9%Only GPT-5.2 measured
MGSM (Vals AI)Not measured94.0%Only GPT-5.2 measured
AA Math IndexNot measured99.0Only GPT-5.2 measured
AIME 2025 (Artificial Analysis run)Not measured99.0%Only GPT-5.2 measured
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
GSM8K92.0%Not measuredOnly GPT-4 measured
LMArena Text: math12301440GPT-5.2
LMArena Text: mathematical work12281442GPT-5.2
Neither model has a result on the other 2 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for GPT-4 and GPT-5.2
BenchmarkGPT-4GPT-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)56.2%87.4%GPT-5.2
SimpleQA VerifiedNot measured37.1%Only GPT-5.2 measured
MMLU86.4%Not measuredOnly GPT-4 measured
AI2 Reasoning Challenge96.3%Not measuredOnly GPT-4 measured
LMArena Text: science11771425GPT-5.2
LMArena Text: medicine and healthcare11451425GPT-5.2
LMArena Text: legal and government11911427GPT-5.2
LMArena Text: business and finance11451414GPT-5.2
FACTS Benchmark SuiteNot measured48.5%Only GPT-5.2 measured
Neither model has a result on the other 1 board here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for GPT-4 and GPT-5.2
BenchmarkGPT-4GPT-5.2Leader
Design Arena: websitesNot measured1195Only GPT-5.2 measured
Design Arena: UI componentsNot measured1190Only GPT-5.2 measured
Design Arena: game devNot measured1195Only GPT-5.2 measured
Design Arena: data vizNot measured1202Only GPT-5.2 measured
Design Arena: 3DNot measured1079Only GPT-5.2 measured
Design Arena: all code categoriesNot measured1170Only GPT-5.2 measured
Design Arena: SVGNot measured1139Only GPT-5.2 measured
Design Arena: ASCII artNot measured1152Only 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 index020
General benchmarks for GPT-4 and GPT-5.2
BenchmarkGPT-4GPT-5.2Leader
SAGE (Vals AI)Not measured49.3%Only GPT-5.2 measured
MedScribe (Vals AI)Not measured84.4%Only GPT-5.2 measured
IFBench33.2%75.4%GPT-5.2
Long context reasoning (AA-LCR)Not measured82.7%Only GPT-5.2 measured
DTBench62.7%90.9%GPT-5.2
LMCA17.1%43.9%GPT-5.2
CL-benchNot measured18.2%Only GPT-5.2 measured
Furniture assemblyNot measured38.3%Only GPT-5.2 measured
HellaSwag95.3%Not measuredOnly GPT-4 measured
WinoGrande87.5%Not measuredOnly GPT-4 measured
LMArena Text12061416GPT-5.2
LMArena Text: instruction following12011409GPT-5.2
LMArena Text: creative writing11911376GPT-5.2
LMArena VisionNot measured1246Only GPT-5.2 measured
LMArena Text: English12201422GPT-5.2
LMArena Text: non-English11941405GPT-5.2
LMArena Text: Chinese11841447GPT-5.2
LMArena Text: German11981444GPT-5.2
LMArena Text: Japanese11371420GPT-5.2
LMArena Text: Korean10871374GPT-5.2
LMArena Text: French12201454GPT-5.2
LMArena Text: Spanish11971413GPT-5.2
LMArena Text: Russian11951415GPT-5.2
LMArena Text: Polish12651426GPT-5.2
LMArena Text: multi-turn12061419GPT-5.2
LMArena Text: longer queries11901413GPT-5.2
LMArena Text: writing and language12191392GPT-5.2
LMArena Text: entertainment and media11841378GPT-5.2
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 10 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-4 and GPT-5.2
BenchmarkGPT-4GPT-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-4$0.060Fits in one request
GPT-5.2$0.0088Fits in one request

GPT-5.2 costs less

Repository review

50K input + 3K output tokens

GPT-4$1.68Exceeds the context window
GPT-5.2$0.130Fits in one request

GPT-5.2 costs less

Agent loop

200K input + 10K output tokens

GPT-4$6.60Exceeds 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-4 and GPT-5.2
SpecificationOpenAI GPT-4OpenAI GPT-5.2
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedMay 28, 2023December 10, 2025
Context window8K400K
Input $/Mtok$30.00$1.75
Output $/Mtok$60.00$14.00
Coding indexNot benchmarked55.9
Independent measurements behind it03
Cost per solved taskNot computable$1.91
SourceOpenRouter listingOpenRouter listing

Questions

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

Only GPT-5.2 has a coding score, 55.9 on the Vibe Coding Index; GPT-4 has none, so the two cannot be ranked on coding. Compare them on price, context and the boards below.

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

GPT-4 costs $30.00 per million input tokens and $60.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-4 or GPT-5.2?

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

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

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

Compare next