Claude Sonnet 4.5 vs GPT-5.2
GPT-5.2 leads Claude Sonnet 4.5 on coding, 55.9 to 39.5 on the Vibe Coding Index, at about the same output price ($14.00 vs $15.00 per million). Updated October 21, 2026; 89 benchmarks have a result for both.
Claude Sonnet 4.5 or GPT-5.2: which to pick
Pick GPT-5.2 for coding: it scores 55.9 on the Vibe Coding Index against 39.5 for Claude Sonnet 4.5.
Pick Claude Sonnet 4.5 for a lower cost per solved task ($1.16 against $1.91) and a larger context window (1M against 400K tokens).
- Shared results
- 89
- Claude Sonnet 4.5 only
- 6
- GPT-5.2 only
- 25
- 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.
Coding
Vibe Coding Index, six public coding benchmarks
GPT-5.2
GPT-5.2 scores 55.9 against 39.5.
3 benchmarks behind each score
Intelligence
AA Intelligence Index
GPT-5.2
GPT-5.2 leads, 30.4 against 20.7.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Claude Sonnet 4.5 has a AA Agentic Index result, 15.8.
Directional only
Reasoning
GPQA Diamond
GPT-5.2
GPT-5.2 leads, 91.7% against 81.6%.
Same board, both measured
Math
AIME
GPT-5.2
GPT-5.2 leads, 96.9% against 88.2%.
Same board, both measured
Knowledge
MMLU Pro
Claude Sonnet 4.5
Claude Sonnet 4.5 leads, 87.4% against 86.2%.
Same board, both measured
Web design
Design Arena: websites
GPT-5.2
GPT-5.2 leads, 1195 against 1190.
Same board, both measured
Long documents
Listed context window
Claude Sonnet 4.5
Claude Sonnet 4.5 takes 1M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-5.2
Claude Sonnet 4.5 $0.011, GPT-5.2 $0.0088 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Claude Sonnet 4.5
Claude Sonnet 4.5 $1.16, GPT-5.2 $1.91.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Sonnet 4.5 39.5 from 3 benchmarks, GPT-5.2 55.9 from 3 benchmarks.
- Widest category
- Reasoning, 17.1 points apart on average over 14 shared benchmarks.
- Widest single gap
- VPCT: Claude Sonnet 4.5 39.8% against GPT-5.2 84.0%, 44.2 points apart on a 0 to 100 scale.
- Output price
- Claude Sonnet 4.5 $15.00 against GPT-5.2 $14.00 per million output tokens, 1.1x apart.
- Context window
- Claude Sonnet 4.5 takes 1M 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.
| Category | Claude Sonnet 4.5 | Bars | GPT-5.2 | Ties |
|---|---|---|---|---|
| Coding | 4 | 8 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 5 | 4 | ||
| Reasoning | 4 | 10 | ||
| Math | 4 | 4 | ||
| Knowledge | 7 | 7 | ||
| Web design | 3 | 5 | ||
| General | 16 | 6 | ||
| All shared boards | 43 | 46 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index48
| Benchmark | Claude Sonnet 4.5 | GPT-5.2 | Leader |
|---|---|---|---|
| SWE-bench Verified | 74.8% | 72.8% | Claude Sonnet 4.5 |
| SWE-bench Multilingual | 67.0% | 66.7% | Claude Sonnet 4.5 |
| LMArena WebDev | 1394 | 1417 | GPT-5.2 |
| AA Coding Index | 52.1 | Not measured | Only Claude Sonnet 4.5 measured |
| LiveCodeBench (Vals AI) | 73.0% | 85.4% | GPT-5.2 |
| SWE-bench Verified (Vals AI) | 70.0% | 75.8% | GPT-5.2 |
| Vibe Code Bench (Vals AI) | 22.6% | 53.5% | GPT-5.2 |
| LiveCodeBench (Artificial Analysis run) | Not measured | 89.4% | Only GPT-5.2 measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 47.0% | Only GPT-5.2 measured |
| Terminal-Bench | 46.5% | 64.9% | GPT-5.2 |
| GSO-Bench | 14.7% | 27.5% | GPT-5.2 |
| WeirdML | 47.7% | 72.2% | GPT-5.2 |
| Cybench | 60.0% | Not measured | Only Claude Sonnet 4.5 measured |
| ALE-Bench | Not measured | 1293.5 | Only GPT-5.2 measured |
| LMArena Text: coding | 1488 | 1442 | Claude Sonnet 4.5 |
| LMArena Text: software and IT | 1473 | 1434 | Claude Sonnet 4.5 |
| LMArena WebDev: React | 1386 | Not measured | Only Claude Sonnet 4.5 measured |
| LMArena WebDev: HTML | 1399 | 1427 | GPT-5.2 |
| Neither model has a result on the other 21 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Claude Sonnet 4.5 | GPT-5.2 | Leader |
|---|---|---|---|
| AA Intelligence Index | 20.7 | 30.4 | GPT-5.2 |
| Epoch Capabilities Index | 146.7 | 153.7 | GPT-5.2 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index54
| Benchmark | Claude Sonnet 4.5 | GPT-5.2 | Leader |
|---|---|---|---|
| AA Agentic Index | 15.8 | Not measured | Only Claude Sonnet 4.5 measured |
| Design Arena: agents building web apps | 1059 | 1086 | GPT-5.2 |
| Design Arena: agents building full-stack apps | 1050 | 1043 | Claude Sonnet 4.5 |
| Design Arena: agents building mobile apps | 1137 | 1093 | Claude Sonnet 4.5 |
| Design Arena: agents building Android apps | Not measured | 1058 | Only GPT-5.2 measured |
| Design Arena: agents building Godot games | Not measured | 1142 | Only GPT-5.2 measured |
| τ²-Bench Telecom | Not measured | 84.8% | Only GPT-5.2 measured |
| METR time horizons | 67.4% | 75.3% | GPT-5.2 |
| Remote Labor Index | 2.1% | 2.5% | GPT-5.2 |
| GDPval | 42.5% | 49.7% | GPT-5.2 |
| DeepResearch Bench | 52.6% | 41.1% | Claude Sonnet 4.5 |
| OSWorld | 62.9% | Not measured | Only Claude Sonnet 4.5 measured |
| Vending-Bench 2 | $3,839 | $3,591 | Claude Sonnet 4.5 |
| Berkeley Function Calling Leaderboard (BFCL) | 73.2% | 55.9% | Claude Sonnet 4.5 |
| Neither model has a result on the other 27 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index410
| Benchmark | Claude Sonnet 4.5 | GPT-5.2 | Leader |
|---|---|---|---|
| GPQA Diamond | 81.6% | 91.7% | GPT-5.2 |
| MMMU Pro (Vals AI) | 79.3% | 86.7% | GPT-5.2 |
| GPQA Diamond (Artificial Analysis run) | Not measured | 90.3% | Only GPT-5.2 measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 37.7% | Only GPT-5.2 measured |
| GPQA Diamond (Epoch AI run) | 82.3% | 91.4% | GPT-5.2 |
| ARC-AGI | 63.7% | 86.2% | GPT-5.2 |
| ARC-AGI-2 | 13.6% | 52.9% | GPT-5.2 |
| SimpleBench | 54.3% | 45.8% | Claude Sonnet 4.5 |
| Chess puzzles | 10.0% | 48.0% | GPT-5.2 |
| Mystery game puzzles | 17.0% | 23.0% | GPT-5.2 |
| EBR-bench | 2.4% | 23.0% | GPT-5.2 |
| VPCT | 39.8% | 84.0% | GPT-5.2 |
| LMArena Text: hard prompts | 1462 | 1428 | Claude Sonnet 4.5 |
| LMArena Text: expert | 1483 | 1445 | Claude Sonnet 4.5 |
| LMArena Text: hard prompts in English | 1471 | 1431 | Claude Sonnet 4.5 |
| LMArena Vision: diagrams | Not measured | 1265 | Only GPT-5.2 measured |
| LMArena Vision: homework | Not measured | 1276 | Only GPT-5.2 measured |
| Kagi LLM Benchmark | 57.9% | 73.3% | 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 index44
| Benchmark | Claude Sonnet 4.5 | GPT-5.2 | Leader |
|---|---|---|---|
| AIME | 88.2% | 96.9% | GPT-5.2 |
| MGSM (Vals AI) | 94.3% | 94.0% | Claude Sonnet 4.5 |
| AA Math Index | Not measured | 99.0 | Only GPT-5.2 measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 99.0% | Only GPT-5.2 measured |
| OTIS Mock AIME | 77.8% | 96.1% | GPT-5.2 |
| FrontierMath, tiers 1 to 3 | 23.9% | 67.4% | GPT-5.2 |
| FrontierMath, tier 4 | 2.4% | 31.7% | GPT-5.2 |
| ProofBench | 19.0% | 15.0% | Claude Sonnet 4.5 |
| MATH level 5 | 97.7% | Not measured | Only Claude Sonnet 4.5 measured |
| LMArena Text: math | 1449 | 1440 | Claude Sonnet 4.5 |
| LMArena Text: mathematical work | 1462 | 1442 | Claude Sonnet 4.5 |
| Neither model has a result on the other 2 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index77
| Benchmark | Claude Sonnet 4.5 | GPT-5.2 | Leader |
|---|---|---|---|
| MMLU Pro | 87.4% | 86.2% | Claude Sonnet 4.5 |
| LegalBench (Vals AI) | 84.1% | 82.8% | Claude Sonnet 4.5 |
| CaseLaw (Vals AI) | 62.2% | 66.0% | GPT-5.2 |
| CorpFin (Vals AI) | 62.0% | 65.9% | GPT-5.2 |
| TaxEval (Vals AI) | 73.3% | 75.8% | GPT-5.2 |
| MortgageTax (Vals AI) | 64.0% | 67.1% | GPT-5.2 |
| MedQA (Vals AI) | 94.7% | 94.1% | Claude Sonnet 4.5 |
| MedCode (Vals AI) | 44.1% | 49.8% | GPT-5.2 |
| MMLU Pro (Artificial Analysis run) | Not measured | 87.4% | Only GPT-5.2 measured |
| SimpleQA Verified | 30.7% | 37.1% | GPT-5.2 |
| LMArena Text: science | 1448 | 1425 | Claude Sonnet 4.5 |
| LMArena Text: medicine and healthcare | 1444 | 1425 | Claude Sonnet 4.5 |
| LMArena Text: legal and government | 1451 | 1427 | Claude Sonnet 4.5 |
| LMArena Text: business and finance | 1440 | 1414 | Claude Sonnet 4.5 |
| FACTS Benchmark Suite | 40.6% | 48.5% | GPT-5.2 |
| Neither model has a result on the other 3 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index35
| Benchmark | Claude Sonnet 4.5 | GPT-5.2 | Leader |
|---|---|---|---|
| Design Arena: websites | 1190 | 1195 | GPT-5.2 |
| Design Arena: UI components | 1173 | 1190 | GPT-5.2 |
| Design Arena: game dev | 1166 | 1195 | GPT-5.2 |
| Design Arena: data viz | 1167 | 1202 | GPT-5.2 |
| Design Arena: 3D | 1158 | 1079 | Claude Sonnet 4.5 |
| Design Arena: all code categories | 1183 | 1170 | Claude Sonnet 4.5 |
| Design Arena: SVG | 1115 | 1139 | GPT-5.2 |
| Design Arena: ASCII art | 1205 | 1152 | Claude Sonnet 4.5 |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index166
| Benchmark | Claude Sonnet 4.5 | GPT-5.2 | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 36.1% | 49.3% | GPT-5.2 |
| MedScribe (Vals AI) | 84.5% | 84.4% | Claude Sonnet 4.5 |
| IFBench | Not measured | 75.4% | Only GPT-5.2 measured |
| Long context reasoning (AA-LCR) | Not measured | 82.7% | Only GPT-5.2 measured |
| DTBench | 83.2% | 90.9% | GPT-5.2 |
| LMCA | 38.8% | 43.9% | GPT-5.2 |
| CL-bench | Not measured | 18.2% | Only GPT-5.2 measured |
| Furniture assembly | Not measured | 38.3% | Only GPT-5.2 measured |
| LMArena Text | 1438 | 1416 | Claude Sonnet 4.5 |
| LMArena Text: instruction following | 1459 | 1409 | Claude Sonnet 4.5 |
| LMArena Text: creative writing | 1442 | 1376 | Claude Sonnet 4.5 |
| LMArena Vision | Not measured | 1246 | Only GPT-5.2 measured |
| LMArena Text: English | 1450 | 1422 | Claude Sonnet 4.5 |
| LMArena Text: non-English | 1425 | 1405 | Claude Sonnet 4.5 |
| LMArena Text: Chinese | 1460 | 1447 | Claude Sonnet 4.5 |
| LMArena Text: German | 1427 | 1444 | GPT-5.2 |
| LMArena Text: Japanese | 1390 | 1420 | GPT-5.2 |
| LMArena Text: Korean | 1402 | 1374 | Claude Sonnet 4.5 |
| LMArena Text: French | 1459 | 1454 | Claude Sonnet 4.5 |
| LMArena Text: Spanish | 1458 | 1413 | Claude Sonnet 4.5 |
| LMArena Text: Russian | 1437 | 1415 | Claude Sonnet 4.5 |
| LMArena Text: Polish | 1423 | 1426 | GPT-5.2 |
| LMArena Text: multi-turn | 1465 | 1419 | Claude Sonnet 4.5 |
| LMArena Text: longer queries | 1475 | 1413 | Claude Sonnet 4.5 |
| LMArena Text: writing and language | 1442 | 1392 | Claude Sonnet 4.5 |
| LMArena Text: entertainment and media | 1428 | 1378 | Claude Sonnet 4.5 |
| LMArena Vision: English | Not measured | 1243 | Only GPT-5.2 measured |
| LMArena Vision: Chinese | Not measured | 1305 | Only GPT-5.2 measured |
| LMArena Vision: reading text | Not measured | 1257 | Only GPT-5.2 measured |
| LMArena Vision: humor | Not measured | 1227 | Only GPT-5.2 measured |
| LMArena Vision: captioning | Not measured | 1267 | Only GPT-5.2 measured |
| LMArena Vision: recognizing things | Not measured | 1232 | Only GPT-5.2 measured |
| LMArena Vision: creative writing | Not measured | 1225 | Only GPT-5.2 measured |
| LMArena Document | 1450 | 1405 | Claude Sonnet 4.5 |
| 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
| Benchmark | Claude Sonnet 4.5 | GPT-5.2 | Leader |
|---|---|---|---|
| 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 costs less
Repository review
50K input + 3K output tokens
GPT-5.2 costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | Anthropic Claude Sonnet 4.5 | OpenAI GPT-5.2 |
|---|---|---|
| Maker | Anthropic | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | September 29, 2025 | December 10, 2025 |
| Context window | 1M | 400K |
| Input $/Mtok | $3.00 | $1.75 |
| Output $/Mtok | $15.00 | $14.00 |
| Coding index | 39.5 | 55.9 |
| Independent measurements behind it | 3 | 3 |
| Cost per solved task | $1.16 | $1.91 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Sonnet 4.5 better than GPT-5.2 for coding?
Pick GPT-5.2 for coding: it scores 55.9 on the Vibe Coding Index against 39.5 for Claude Sonnet 4.5. Pick Claude Sonnet 4.5 for a lower cost per solved task ($1.16 against $1.91) and a larger context window (1M against 400K tokens).
Which is cheaper, Claude Sonnet 4.5 or GPT-5.2?
Claude Sonnet 4.5 costs $3.00 per million input tokens and $15.00 per million output tokens; GPT-5.2 costs $1.75 and $14.00. Per solved SWE-bench Verified task, Claude Sonnet 4.5 costs $1.16 and GPT-5.2 $1.91.
Which has the bigger context window, Claude Sonnet 4.5 or GPT-5.2?
Claude Sonnet 4.5, with 1M tokens against 400K.
How many benchmarks is the Claude Sonnet 4.5 vs GPT-5.2 comparison based on?
89 benchmarks have a result for both models as of October 21, 2026. Claude Sonnet 4.5's coding index rests on 3 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.