Claude Sonnet 4.6 vs GPT-5.4
GPT-5.4 leads Claude Sonnet 4.6 on coding, 64.4 to 57.3 on the Vibe Coding Index, at about the same output price ($15.00 vs $15.00 per million). Updated October 22, 2026; 96 benchmarks have a result for both.
Claude Sonnet 4.6 or GPT-5.4: which to pick
Pick GPT-5.4 for coding: it scores 64.4 on the Vibe Coding Index against 57.3 for Claude Sonnet 4.6, though on 3 benchmarks against 5.
Pick Claude Sonnet 4.6 for work measured by LMArena WebDev or Code migration (Vals AI), where it leads.
- Shared results
- 96
- Claude Sonnet 4.6 only
- 22
- GPT-5.4 only
- 14
- 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 57.3.
5 and 3 benchmarks behind the scores
Intelligence
AA Intelligence Index
GPT-5.4
GPT-5.4 leads, 39.0 against 30.1.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Claude Sonnet 4.6 has a AA Agentic Index result, 31.8.
Directional only
Reasoning
GPQA Diamond
GPT-5.4
GPT-5.4 leads, 91.7% against 85.6%.
Same board, both measured
Math
AIME
GPT-5.4
GPT-5.4 leads, 96.7% against 92.3%.
Same board, both measured
Knowledge
MMLU Pro
GPT-5.4
GPT-5.4 leads, 87.5% against 87.3%.
Same board, both measured
Web design
Design Arena: websites
Claude Sonnet 4.6
Claude Sonnet 4.6 leads, 1284 against 1198.
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.6 $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.6 $1.68, GPT-5.4 $1.02.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Sonnet 4.6 57.3 from 5 benchmarks, GPT-5.4 64.4 from 3 benchmarks.
- Widest category
- Agentic work, 14.7 points apart on average over 9 shared benchmarks.
- Widest single gap
- Terminal-Bench: Claude Sonnet 4.6 53.4% against GPT-5.4 81.8%, 28.4 points apart on a 0 to 100 scale.
- Output price
- Both cost $15.00 per million output tokens.
- Context window
- Claude Sonnet 4.6 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.6 | Bars | GPT-5.4 | Ties |
|---|---|---|---|---|
| Coding | 7 | 8 | 1 tie | |
| Intelligence | 0 | 2 | ||
| Agentic work | 7 | 2 | ||
| Reasoning | 1 | 13 | ||
| Math | 0 | 5 | ||
| Knowledge | 3 | 9 | ||
| Web design | 8 | 0 | ||
| General | 6 | 24 | ||
| All shared boards | 32 | 63 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index78
| Benchmark | Claude Sonnet 4.6 | GPT-5.4 | Leader |
|---|---|---|---|
| LiveBench coding | 66.6% | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena WebDev | 1523 | 1464 | Claude Sonnet 4.6 |
| AA Coding Index | 63.0 | 71.1 | GPT-5.4 |
| LiveCodeBench (Vals AI) | 82.1% | 84.1% | GPT-5.4 |
| SWE-bench Verified (Vals AI) | 77.4% | 78.2% | GPT-5.4 |
| Vibe Code Bench (Vals AI) | 55.8% | 67.4% | GPT-5.4 |
| Code migration (Vals AI) | 39.9% | 35.0% | Claude Sonnet 4.6 |
| ProgramBench (Vals AI) | 0.5% | 0.5% | Tie |
| Terminal-Bench 2.1 (Vals AI) | 57.3% | Not measured | Only Claude Sonnet 4.6 measured |
| SkillsBench (Vals AI) | 49.0% | 51.7% | GPT-5.4 |
| SciCode | 50.1% | Not measured | Only Claude Sonnet 4.6 measured |
| Terminal-Bench Hard (Artificial Analysis run) | 53.0% | 57.6% | GPT-5.4 |
| Terminal-Bench | 53.4% | 81.8% | GPT-5.4 |
| FrontierCode | 24.3% | Not measured | Only Claude Sonnet 4.6 measured |
| GSO-Bench | Not measured | 31.4% | Only GPT-5.4 measured |
| WeirdML | 66.1% | 77.7% | GPT-5.4 |
| MirrorCode | Not measured | 15.6% | Only GPT-5.4 measured |
| ALE-Bench | Not measured | 1607.0 | Only GPT-5.4 measured |
| LMArena Text: coding | 1503 | 1496 | Claude Sonnet 4.6 |
| LMArena Text: software and IT | 1491 | 1491 | Claude Sonnet 4.6 |
| LMArena WebDev: React | 1512 | 1454 | Claude Sonnet 4.6 |
| LMArena WebDev: HTML | 1527 | 1478 | Claude Sonnet 4.6 |
| LMArena WebDev: from an image | 1529 | 1436 | Claude Sonnet 4.6 |
| Neither model has a result on the other 16 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Claude Sonnet 4.6 | GPT-5.4 | Leader |
|---|---|---|---|
| AA Intelligence Index | 30.1 | 39.0 | GPT-5.4 |
| Epoch Capabilities Index | 152.8 | 157.3 | GPT-5.4 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index72
| Benchmark | Claude Sonnet 4.6 | GPT-5.4 | Leader |
|---|---|---|---|
| AA Agentic Index | 31.8 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: agents building web apps | 1190 | 1059 | Claude Sonnet 4.6 |
| Design Arena: agents building full-stack apps | 1213 | 1017 | Claude Sonnet 4.6 |
| Design Arena: agents building mobile apps | 1212 | 1087 | Claude Sonnet 4.6 |
| Design Arena: agents building Android apps | 1197 | 1031 | Claude Sonnet 4.6 |
| Design Arena: agents building Godot games | 1226 | 1135 | Claude Sonnet 4.6 |
| Design Arena: agents building games | 1177 | Not measured | Only Claude Sonnet 4.6 measured |
| LiveBench research | 63.6% | Not measured | Only Claude Sonnet 4.6 measured |
| LiveBench browser | 68.0% | Not measured | Only Claude Sonnet 4.6 measured |
| LiveBench long agentic | 23.1% | Not measured | Only Claude Sonnet 4.6 measured |
| Finance Agent (Vals AI) | 51.0% | Not measured | Only Claude Sonnet 4.6 measured |
| Tax Agent Bench (Vals AI) | 25.8% | Not measured | Only Claude Sonnet 4.6 measured |
| Legal Research Bench (Vals AI) | 38.5% | Not measured | Only Claude Sonnet 4.6 measured |
| Excel Modeling Benchmark (Vals AI) | 60.2% | Not measured | Only Claude Sonnet 4.6 measured |
| τ²-Bench Telecom | 79.5% | 87.1% | GPT-5.4 |
| APEX-Agents | 43.0% | 52.4% | GPT-5.4 |
| METR time horizons | Not measured | 74.3% | Only GPT-5.4 measured |
| OSWorld 2.0 | 9.3% | Not measured | Only Claude Sonnet 4.6 measured |
| DeepResearch Bench | 54.9% | 35.1% | Claude Sonnet 4.6 |
| PostTrainBench | Not measured | 19.0% | Only GPT-5.4 measured |
| OSWorld | 72.1% | Not measured | Only Claude Sonnet 4.6 measured |
| Vending-Bench 2 | $7,204 | $6,144 | Claude Sonnet 4.6 |
| Neither model has a result on the other 19 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index113
| Benchmark | Claude Sonnet 4.6 | GPT-5.4 | Leader |
|---|---|---|---|
| GPQA Diamond | 85.6% | 91.7% | GPT-5.4 |
| LiveBench reasoning | 86.4% | Not measured | Only Claude Sonnet 4.6 measured |
| MMMU Pro (Vals AI) | 83.6% | 87.5% | GPT-5.4 |
| GPQA Diamond (Artificial Analysis run) | 87.5% | 92.0% | GPT-5.4 |
| Humanity's Last Exam (Artificial Analysis run) | 33.6% | 43.7% | GPT-5.4 |
| GPQA Diamond (Epoch AI run) | 87.4% | 93.3% | GPT-5.4 |
| ARC-AGI | 86.5% | 93.7% | GPT-5.4 |
| ARC-AGI-2 | 60.4% | 74.0% | GPT-5.4 |
| Chess puzzles | 23.0% | 48.0% | GPT-5.4 |
| Mystery game puzzles | 16.0% | 37.0% | GPT-5.4 |
| EBR-bench | Not measured | 25.4% | Only GPT-5.4 measured |
| LMArena Text: hard prompts | 1485 | 1485 | GPT-5.4 |
| LMArena Text: expert | 1500 | 1507 | GPT-5.4 |
| LMArena Text: hard prompts in English | 1493 | 1479 | Claude Sonnet 4.6 |
| LMArena Vision: diagrams | 1306 | 1327 | GPT-5.4 |
| LMArena Vision: homework | 1311 | 1336 | GPT-5.4 |
| Kagi LLM Benchmark | Not measured | 63.8% | Only GPT-5.4 measured |
| Neither model has a result on the other 5 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index05
| Benchmark | Claude Sonnet 4.6 | GPT-5.4 | Leader |
|---|---|---|---|
| AIME | 92.3% | 96.7% | GPT-5.4 |
| OTIS Mock AIME | 85.8% | 97.8% | GPT-5.4 |
| FrontierMath, tiers 1 to 3 | Not measured | 78.6% | Only GPT-5.4 measured |
| FrontierMath, tier 4 | Not measured | 49.0% | Only GPT-5.4 measured |
| ProofBench | 45.0% | 56.0% | GPT-5.4 |
| LMArena Text: math | 1462 | 1488 | GPT-5.4 |
| LMArena Text: mathematical work | 1483 | 1497 | GPT-5.4 |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index39
| Benchmark | Claude Sonnet 4.6 | GPT-5.4 | Leader |
|---|---|---|---|
| MMLU Pro | 87.3% | 87.5% | GPT-5.4 |
| LegalBench (Vals AI) | 82.1% | 86.0% | GPT-5.4 |
| CaseLaw (Vals AI) | 64.0% | 63.8% | Claude Sonnet 4.6 |
| CorpFin (Vals AI) | 65.3% | 65.3% | Claude Sonnet 4.6 |
| TaxEval (Vals AI) | 77.1% | 74.0% | Claude Sonnet 4.6 |
| MortgageTax (Vals AI) | 67.7% | 68.3% | GPT-5.4 |
| MedQA (Vals AI) | 92.1% | 96.1% | GPT-5.4 |
| MedCode (Vals AI) | Not measured | 41.3% | Only GPT-5.4 measured |
| SimpleQA Verified | 35.5% | 45.1% | GPT-5.4 |
| LMArena Text: science | 1474 | 1479 | GPT-5.4 |
| LMArena Text: medicine and healthcare | 1451 | 1458 | GPT-5.4 |
| LMArena Text: legal and government | 1470 | 1486 | GPT-5.4 |
| LMArena Text: business and finance | 1464 | 1474 | GPT-5.4 |
| FACTS Benchmark Suite | 37.0% | Not measured | Only Claude Sonnet 4.6 measured |
| Neither model has a result on the other 4 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index80
| Benchmark | Claude Sonnet 4.6 | GPT-5.4 | Leader |
|---|---|---|---|
| Design Arena: websites | 1284 | 1198 | Claude Sonnet 4.6 |
| Design Arena: UI components | 1269 | 1212 | Claude Sonnet 4.6 |
| Design Arena: game dev | 1258 | 1194 | Claude Sonnet 4.6 |
| Design Arena: data viz | 1278 | 1196 | Claude Sonnet 4.6 |
| Design Arena: 3D | 1234 | 1065 | Claude Sonnet 4.6 |
| Design Arena: all code categories | 1275 | 1179 | Claude Sonnet 4.6 |
| Design Arena: SVG | 1196 | 1141 | Claude Sonnet 4.6 |
| Design Arena: ASCII art | 1235 | 1188 | Claude Sonnet 4.6 |
| LiveBench design | 71.8% | Not measured | Only Claude Sonnet 4.6 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index624
| Benchmark | Claude Sonnet 4.6 | GPT-5.4 | Leader |
|---|---|---|---|
| LiveBench data analysis | 76.1% | Not measured | Only Claude Sonnet 4.6 measured |
| Public Benefits Bench (Vals AI) | 62.5% | Not measured | Only Claude Sonnet 4.6 measured |
| SAGE (Vals AI) | 46.6% | 43.3% | Claude Sonnet 4.6 |
| MedScribe (Vals AI) | Not measured | 77.5% | Only GPT-5.4 measured |
| Vals Multimodal Index | 60.6% | Not measured | Only Claude Sonnet 4.6 measured |
| IFBench | 56.6% | 73.9% | GPT-5.4 |
| Long context reasoning (AA-LCR) | 80.0% | 82.0% | GPT-5.4 |
| DTBench | 89.9% | 94.4% | GPT-5.4 |
| LMCA | 46.5% | 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 |
| ExploitBench | 23.6% | Not measured | Only Claude Sonnet 4.6 measured |
| CL-bench Life | Not measured | 21.7% | Only GPT-5.4 measured |
| LMArena Text | 1458 | 1469 | GPT-5.4 |
| LMArena Text: instruction following | 1476 | 1469 | Claude Sonnet 4.6 |
| LMArena Text: creative writing | 1435 | 1439 | GPT-5.4 |
| LMArena Vision | 1283 | 1303 | GPT-5.4 |
| LMArena Text: English | 1472 | 1467 | Claude Sonnet 4.6 |
| LMArena Text: non-English | 1440 | 1465 | GPT-5.4 |
| LMArena Text: Chinese | 1491 | 1520 | GPT-5.4 |
| LMArena Text: German | 1428 | 1472 | GPT-5.4 |
| LMArena Text: Japanese | 1420 | 1485 | GPT-5.4 |
| LMArena Text: Korean | 1410 | 1449 | GPT-5.4 |
| LMArena Text: French | 1465 | 1493 | GPT-5.4 |
| LMArena Text: Spanish | 1464 | 1452 | Claude Sonnet 4.6 |
| LMArena Text: Russian | 1440 | 1480 | GPT-5.4 |
| LMArena Text: Polish | 1443 | 1472 | GPT-5.4 |
| LMArena Text: multi-turn | 1464 | 1482 | GPT-5.4 |
| LMArena Text: longer queries | 1479 | 1473 | Claude Sonnet 4.6 |
| LMArena Text: writing and language | 1444 | 1458 | GPT-5.4 |
| LMArena Text: entertainment and media | 1431 | 1438 | GPT-5.4 |
| LMArena Vision: English | 1298 | 1301 | GPT-5.4 |
| LMArena Vision: Chinese | 1307 | 1354 | GPT-5.4 |
| LMArena Vision: reading text | 1296 | 1312 | GPT-5.4 |
| LMArena Vision: humor | 1248 | 1284 | GPT-5.4 |
| LMArena Vision: recognizing things | 1195 | 1251 | GPT-5.4 |
| LMArena Vision: creative writing | 1272 | 1283 | GPT-5.4 |
| LMArena Document | 1482 | 1471 | Claude Sonnet 4.6 |
| Neither model has a result on the other 8 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Sonnet 4.6 | 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.6 | OpenAI GPT-5.4 |
|---|---|---|
| Maker | Anthropic | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | February 17, 2026 | March 5, 2026 |
| Context window | 1M | 1.05M |
| Input $/Mtok | $3.00 | $2.50 |
| Output $/Mtok | $15.00 | $15.00 |
| Coding index | 57.3 | 64.4 |
| Independent measurements behind it | 5 | 3 |
| Cost per solved task | $1.68 | $1.02 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Sonnet 4.6 better than GPT-5.4 for coding?
Pick GPT-5.4 for coding: it scores 64.4 on the Vibe Coding Index against 57.3 for Claude Sonnet 4.6, though on 3 benchmarks against 5. Pick Claude Sonnet 4.6 for work measured by LMArena WebDev or Code migration (Vals AI), where it leads.
Which is cheaper, Claude Sonnet 4.6 or GPT-5.4?
Claude Sonnet 4.6 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.6 costs $1.68 and GPT-5.4 $1.02.
Which has the bigger context window, Claude Sonnet 4.6 or GPT-5.4?
GPT-5.4, with 1.05M tokens against 1M.
How many benchmarks is the Claude Sonnet 4.6 vs GPT-5.4 comparison based on?
96 benchmarks have a result for both models as of October 22, 2026. Claude Sonnet 4.6's coding index rests on 5 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.