Claude Sonnet 4.5 vs GPT-5.4
GPT-5.4 leads Claude Sonnet 4.5 on coding, 64.4 to 39.5 on the Vibe Coding Index, at about the same output price ($15.00 vs $15.00 per million). Updated October 22, 2026; 82 benchmarks have a result for both.
Claude Sonnet 4.5 or GPT-5.4: which to pick
Pick GPT-5.4 for coding: it scores 64.4 on the Vibe Coding Index against 39.5 for Claude Sonnet 4.5.
Pick Claude Sonnet 4.5 for work measured by Design Arena: agents building web apps or Design Arena: agents building full-stack apps, where it leads.
- Shared results
- 82
- Claude Sonnet 4.5 only
- 13
- GPT-5.4 only
- 28
- 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.4
GPT-5.4 scores 64.4 against 39.5.
3 benchmarks behind each score
Intelligence
AA Intelligence Index
GPT-5.4
GPT-5.4 leads, 39.0 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.4
GPT-5.4 leads, 91.7% against 81.6%.
Same board, both measured
Math
AIME
GPT-5.4
GPT-5.4 leads, 96.7% against 88.2%.
Same board, both measured
Knowledge
MMLU Pro
GPT-5.4
GPT-5.4 leads, 87.5% against 87.4%.
Same board, both measured
Web design
Design Arena: websites
GPT-5.4
GPT-5.4 leads, 1198 against 1189.
Same board, both measured
Long documents
Listed context window
GPT-5.4
GPT-5.4 takes 1.05M tokens against 1M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-5.4
Claude Sonnet 4.5 $0.011, GPT-5.4 $0.010 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-5.4
Claude Sonnet 4.5 $1.16, GPT-5.4 $1.02.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Sonnet 4.5 39.5 from 3 benchmarks, GPT-5.4 64.4 from 3 benchmarks.
- Widest category
- Math, 25.6 points apart on average over 7 shared benchmarks.
- Widest single gap
- ARC-AGI-2: Claude Sonnet 4.5 13.6% against GPT-5.4 74.0%, 60.3 points apart on a 0 to 100 scale.
- Output price
- Both cost $15.00 per million output tokens.
- Context window
- Claude Sonnet 4.5 takes 1M 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.
| Category | Claude Sonnet 4.5 | Bars | GPT-5.4 | Ties |
|---|---|---|---|---|
| Coding | 0 | 12 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 4 | 2 | ||
| Reasoning | 0 | 12 | ||
| Math | 0 | 7 | ||
| Knowledge | 1 | 12 | ||
| Web design | 3 | 5 | ||
| General | 4 | 18 | ||
| All shared boards | 12 | 70 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index012
| Benchmark | Claude Sonnet 4.5 | GPT-5.4 | Leader |
|---|---|---|---|
| SWE-bench Verified | 74.8% | Not measured | Only Claude Sonnet 4.5 measured |
| SWE-bench Multilingual | 67.0% | Not measured | Only Claude Sonnet 4.5 measured |
| LMArena WebDev | 1394 | 1464 | GPT-5.4 |
| AA Coding Index | 52.1 | 71.1 | GPT-5.4 |
| LiveCodeBench (Vals AI) | 73.0% | 84.1% | GPT-5.4 |
| SWE-bench Verified (Vals AI) | 70.0% | 78.2% | GPT-5.4 |
| Vibe Code Bench (Vals AI) | 22.6% | 67.4% | GPT-5.4 |
| Code migration (Vals AI) | Not measured | 35.0% | Only GPT-5.4 measured |
| ProgramBench (Vals AI) | Not measured | 0.5% | Only GPT-5.4 measured |
| SkillsBench (Vals AI) | Not measured | 51.7% | Only GPT-5.4 measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 57.6% | Only GPT-5.4 measured |
| Terminal-Bench | 46.5% | 81.8% | GPT-5.4 |
| GSO-Bench | 14.7% | 31.4% | GPT-5.4 |
| WeirdML | 47.7% | 77.7% | GPT-5.4 |
| MirrorCode | Not measured | 15.6% | Only GPT-5.4 measured |
| Cybench | 60.0% | Not measured | Only Claude Sonnet 4.5 measured |
| ALE-Bench | Not measured | 1607.0 | Only GPT-5.4 measured |
| LMArena Text: coding | 1488 | 1496 | GPT-5.4 |
| LMArena Text: software and IT | 1473 | 1491 | GPT-5.4 |
| LMArena WebDev: React | 1386 | 1454 | GPT-5.4 |
| LMArena WebDev: HTML | 1399 | 1478 | GPT-5.4 |
| LMArena WebDev: from an image | Not measured | 1436 | Only 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
| Benchmark | Claude Sonnet 4.5 | GPT-5.4 | Leader |
|---|---|---|---|
| AA Intelligence Index | 20.7 | 39.0 | GPT-5.4 |
| Epoch Capabilities Index | 146.7 | 157.3 | GPT-5.4 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index42
| Benchmark | Claude Sonnet 4.5 | GPT-5.4 | Leader |
|---|---|---|---|
| AA Agentic Index | 15.8 | Not measured | Only Claude Sonnet 4.5 measured |
| Design Arena: agents building web apps | 1060 | 1059 | Claude Sonnet 4.5 |
| Design Arena: agents building full-stack apps | 1050 | 1017 | Claude Sonnet 4.5 |
| Design Arena: agents building mobile apps | 1137 | 1087 | Claude Sonnet 4.5 |
| Design Arena: agents building Android apps | Not measured | 1031 | Only GPT-5.4 measured |
| Design Arena: agents building Godot games | Not measured | 1135 | Only GPT-5.4 measured |
| τ²-Bench Telecom | Not measured | 87.1% | Only GPT-5.4 measured |
| APEX-Agents | Not measured | 52.4% | Only GPT-5.4 measured |
| METR time horizons | 67.4% | 74.3% | GPT-5.4 |
| Remote Labor Index | 2.1% | Not measured | Only Claude Sonnet 4.5 measured |
| GDPval | 42.5% | Not measured | Only Claude Sonnet 4.5 measured |
| DeepResearch Bench | 52.6% | 35.1% | Claude Sonnet 4.5 |
| PostTrainBench | Not measured | 19.0% | Only GPT-5.4 measured |
| OSWorld | 62.9% | Not measured | Only Claude Sonnet 4.5 measured |
| Vending-Bench 2 | $3,839 | $6,144 | GPT-5.4 |
| Berkeley Function Calling Leaderboard (BFCL) | 73.2% | Not measured | Only Claude Sonnet 4.5 measured |
| Neither model has a result on the other 25 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index012
| Benchmark | Claude Sonnet 4.5 | GPT-5.4 | Leader |
|---|---|---|---|
| GPQA Diamond | 81.6% | 91.7% | GPT-5.4 |
| MMMU Pro (Vals AI) | 79.3% | 87.5% | GPT-5.4 |
| GPQA Diamond (Artificial Analysis run) | Not measured | 92.0% | Only GPT-5.4 measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 43.7% | Only GPT-5.4 measured |
| GPQA Diamond (Epoch AI run) | 82.3% | 93.3% | GPT-5.4 |
| ARC-AGI | 63.7% | 93.7% | GPT-5.4 |
| ARC-AGI-2 | 13.6% | 74.0% | GPT-5.4 |
| SimpleBench | 54.3% | Not measured | Only Claude Sonnet 4.5 measured |
| Chess puzzles | 10.0% | 48.0% | GPT-5.4 |
| Mystery game puzzles | 17.0% | 37.0% | GPT-5.4 |
| EBR-bench | 2.4% | 25.4% | GPT-5.4 |
| VPCT | 39.8% | Not measured | Only Claude Sonnet 4.5 measured |
| LMArena Text: hard prompts | 1462 | 1485 | GPT-5.4 |
| LMArena Text: expert | 1483 | 1507 | GPT-5.4 |
| LMArena Text: hard prompts in English | 1471 | 1479 | GPT-5.4 |
| LMArena Vision: diagrams | Not measured | 1327 | Only GPT-5.4 measured |
| LMArena Vision: homework | Not measured | 1336 | Only GPT-5.4 measured |
| Kagi LLM Benchmark | 57.9% | 63.8% | GPT-5.4 |
| Neither model has a result on the other 4 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index07
| Benchmark | Claude Sonnet 4.5 | GPT-5.4 | Leader |
|---|---|---|---|
| AIME | 88.2% | 96.7% | GPT-5.4 |
| MGSM (Vals AI) | 94.3% | Not measured | Only Claude Sonnet 4.5 measured |
| OTIS Mock AIME | 77.8% | 97.8% | GPT-5.4 |
| FrontierMath, tiers 1 to 3 | 23.9% | 78.6% | GPT-5.4 |
| FrontierMath, tier 4 | 2.4% | 49.0% | GPT-5.4 |
| ProofBench | 19.0% | 56.0% | GPT-5.4 |
| MATH level 5 | 97.7% | Not measured | Only Claude Sonnet 4.5 measured |
| LMArena Text: math | 1449 | 1488 | GPT-5.4 |
| LMArena Text: mathematical work | 1462 | 1497 | GPT-5.4 |
| Neither model has a result on the other 4 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index112
| Benchmark | Claude Sonnet 4.5 | GPT-5.4 | Leader |
|---|---|---|---|
| MMLU Pro | 87.4% | 87.5% | GPT-5.4 |
| LegalBench (Vals AI) | 84.1% | 86.0% | GPT-5.4 |
| CaseLaw (Vals AI) | 62.2% | 63.8% | GPT-5.4 |
| CorpFin (Vals AI) | 62.0% | 65.3% | GPT-5.4 |
| TaxEval (Vals AI) | 73.3% | 74.0% | GPT-5.4 |
| MortgageTax (Vals AI) | 64.0% | 68.3% | GPT-5.4 |
| MedQA (Vals AI) | 94.7% | 96.1% | GPT-5.4 |
| MedCode (Vals AI) | 44.1% | 41.3% | Claude Sonnet 4.5 |
| SimpleQA Verified | 30.7% | 45.1% | GPT-5.4 |
| LMArena Text: science | 1448 | 1479 | GPT-5.4 |
| LMArena Text: medicine and healthcare | 1444 | 1458 | GPT-5.4 |
| LMArena Text: legal and government | 1451 | 1486 | GPT-5.4 |
| LMArena Text: business and finance | 1440 | 1474 | GPT-5.4 |
| FACTS Benchmark Suite | 40.6% | Not measured | Only Claude Sonnet 4.5 measured |
| Neither model has a result on the other 4 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index35
| Benchmark | Claude Sonnet 4.5 | GPT-5.4 | Leader |
|---|---|---|---|
| Design Arena: websites | 1189 | 1198 | GPT-5.4 |
| Design Arena: UI components | 1170 | 1212 | GPT-5.4 |
| Design Arena: game dev | 1166 | 1194 | GPT-5.4 |
| Design Arena: data viz | 1167 | 1196 | GPT-5.4 |
| Design Arena: 3D | 1157 | 1065 | Claude Sonnet 4.5 |
| Design Arena: all code categories | 1182 | 1179 | Claude Sonnet 4.5 |
| Design Arena: SVG | 1115 | 1141 | GPT-5.4 |
| Design Arena: ASCII art | 1205 | 1188 | 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 index418
| Benchmark | Claude Sonnet 4.5 | GPT-5.4 | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 36.1% | 43.3% | GPT-5.4 |
| MedScribe (Vals AI) | 84.5% | 77.5% | Claude Sonnet 4.5 |
| IFBench | Not measured | 73.9% | Only GPT-5.4 measured |
| Long context reasoning (AA-LCR) | Not measured | 82.0% | Only GPT-5.4 measured |
| DTBench | 83.2% | 94.4% | GPT-5.4 |
| LMCA | 38.8% | 52.0% | GPT-5.4 |
| CL-bench | Not measured | 27.9% | Only GPT-5.4 measured |
| Furniture assembly | Not measured | 37.5% | Only GPT-5.4 measured |
| CL-bench Life | Not measured | 21.7% | Only GPT-5.4 measured |
| LMArena Text | 1438 | 1469 | GPT-5.4 |
| LMArena Text: instruction following | 1459 | 1469 | GPT-5.4 |
| LMArena Text: creative writing | 1442 | 1439 | Claude Sonnet 4.5 |
| LMArena Vision | Not measured | 1303 | Only GPT-5.4 measured |
| LMArena Text: English | 1450 | 1467 | GPT-5.4 |
| LMArena Text: non-English | 1425 | 1465 | GPT-5.4 |
| LMArena Text: Chinese | 1460 | 1520 | GPT-5.4 |
| LMArena Text: German | 1427 | 1472 | GPT-5.4 |
| LMArena Text: Japanese | 1390 | 1485 | GPT-5.4 |
| LMArena Text: Korean | 1402 | 1449 | GPT-5.4 |
| LMArena Text: French | 1459 | 1493 | GPT-5.4 |
| LMArena Text: Spanish | 1458 | 1452 | Claude Sonnet 4.5 |
| LMArena Text: Russian | 1437 | 1480 | GPT-5.4 |
| LMArena Text: Polish | 1423 | 1472 | GPT-5.4 |
| LMArena Text: multi-turn | 1465 | 1482 | GPT-5.4 |
| LMArena Text: longer queries | 1475 | 1473 | Claude Sonnet 4.5 |
| LMArena Text: writing and language | 1442 | 1458 | GPT-5.4 |
| LMArena Text: entertainment and media | 1428 | 1438 | GPT-5.4 |
| LMArena Vision: English | Not measured | 1301 | Only GPT-5.4 measured |
| LMArena Vision: Chinese | Not measured | 1354 | Only GPT-5.4 measured |
| LMArena Vision: reading text | Not measured | 1312 | Only GPT-5.4 measured |
| LMArena Vision: humor | Not measured | 1284 | Only GPT-5.4 measured |
| LMArena Vision: recognizing things | Not measured | 1251 | Only GPT-5.4 measured |
| LMArena Vision: creative writing | Not measured | 1283 | Only GPT-5.4 measured |
| LMArena Document | 1450 | 1471 | GPT-5.4 |
| 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.4 | 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.4 costs less
Repository review
50K input + 3K output tokens
GPT-5.4 costs less
Agent loop
200K input + 10K output tokens
GPT-5.4 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.4 |
|---|---|---|
| Maker | Anthropic | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | September 29, 2025 | March 5, 2026 |
| Context window | 1M | 1.05M |
| Input $/Mtok | $3.00 | $2.50 |
| Output $/Mtok | $15.00 | $15.00 |
| Coding index | 39.5 | 64.4 |
| Independent measurements behind it | 3 | 3 |
| Cost per solved task | $1.16 | $1.02 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Sonnet 4.5 better than GPT-5.4 for coding?
Pick GPT-5.4 for coding: it scores 64.4 on the Vibe Coding Index against 39.5 for Claude Sonnet 4.5. Pick Claude Sonnet 4.5 for work measured by Design Arena: agents building web apps or Design Arena: agents building full-stack apps, where it leads.
Which is cheaper, Claude Sonnet 4.5 or GPT-5.4?
Claude Sonnet 4.5 costs $3.00 per million input tokens and $15.00 per million output tokens; GPT-5.4 costs $2.50 and $15.00. Per solved SWE-bench Verified task, Claude Sonnet 4.5 costs $1.16 and GPT-5.4 $1.02.
Which has the bigger context window, Claude Sonnet 4.5 or GPT-5.4?
GPT-5.4, with 1.05M tokens against 1M.
How many benchmarks is the Claude Sonnet 4.5 vs GPT-5.4 comparison based on?
82 benchmarks have a result for both models as of October 22, 2026. Claude Sonnet 4.5'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.