Claude Sonnet 5.5 vs Grok 4.7
Claude Sonnet 5.5 leads Grok 4.7 on coding, 87.3 to 66.7 on the Vibe Coding Index, and Grok 4.7 costs 1.7x less per output token ($6.00 vs $10.00 per million). Updated October 22, 2026; 90 benchmarks have a result for both.
Claude Sonnet 5.5 or Grok 4.7: which to pick
Pick Claude Sonnet 5.5 for coding: it scores 87.3 on the Vibe Coding Index against 66.7 for Grok 4.7.
Pick Grok 4.7 for output tokens 1.7x cheaper ($6.00 vs $10.00 per million) and work measured by CyberBench (Vals AI) or LiveBench research, where it leads.
- Shared results
- 90
- Claude Sonnet 5.5 only
- 6
- Grok 4.7 only
- 9
- 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
Claude Sonnet 5.5
Claude Sonnet 5.5 scores 87.3 against 66.7.
5 benchmarks behind each score
Intelligence
AA Intelligence Index
Claude Sonnet 5.5
Claude Sonnet 5.5 leads, 56.0 against 46.4.
Same board, both measured
Web design
Design Arena: websites
Claude Sonnet 5.5
Claude Sonnet 5.5 leads, 1326 against 1255.
Same board, both measured
General
Vals Index
Claude Sonnet 5.5
Claude Sonnet 5.5 leads, 70.8% against 58.6%.
Same board, both measured
Long documents
Listed context window
Claude Sonnet 5.5
Claude Sonnet 5.5 takes 1M tokens against 500K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Grok 4.7
Claude Sonnet 5.5 $0.0070, Grok 4.7 $0.0050 per turn.
List prices
At a glance
- Coding index
- Claude Sonnet 5.5 87.3 from 5 benchmarks, Grok 4.7 66.7 from 5 benchmarks.
- Widest category
- Math, 33.6 points apart on average over 6 shared benchmarks.
- Widest single gap
- ProofBench: Claude Sonnet 5.5 100.0% against Grok 4.7 26.0%, 74.0 points apart on a 0 to 100 scale.
- Output price
- Claude Sonnet 5.5 $10.00 against Grok 4.7 $6.00 per million output tokens, 1.7x apart.
- Context window
- Claude Sonnet 5.5 takes 1M tokens, Grok 4.7 500K.
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 5.5 | Bars | Grok 4.7 | Ties |
|---|---|---|---|---|
| Coding | 17 | 1 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 12 | 2 | ||
| Reasoning | 11 | 0 | ||
| Math | 6 | 0 | ||
| Knowledge | 5 | 1 | ||
| Web design | 7 | 0 | ||
| General | 25 | 1 | ||
| All shared boards | 85 | 5 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index171
| Benchmark | Claude Sonnet 5.5 | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench coding | 94.7% | 84.5% | Claude Sonnet 5.5 |
| LMArena WebDev | 1768 | 1637 | Claude Sonnet 5.5 |
| Terminal-Bench 4 (Vals AI) | 64.1% | 28.8% | Claude Sonnet 5.5 |
| Vibe Code Bench (Vals AI) | 92.4% | 86.2% | Claude Sonnet 5.5 |
| Code migration (Vals AI) | 69.8% | 44.8% | Claude Sonnet 5.5 |
| ProgramBench (Vals AI) | 6.5% | 0.5% | Claude Sonnet 5.5 |
| IOI (Vals AI) | 83.1% | 57.7% | Claude Sonnet 5.5 |
| Terminal-Bench 2.1 (Vals AI) | 83.2% | 73.4% | Claude Sonnet 5.5 |
| SWE-bench Multimodal (Vals AI) | 58.3% | 42.9% | Claude Sonnet 5.5 |
| CyberBench (Vals AI) | 59.6% | 69.5% | Grok 4.7 |
| SciCode | 61.0% | 57.8% | Claude Sonnet 5.5 |
| FrontierCode | 52.1% | 47.6% | Claude Sonnet 5.5 |
| FrontierSWE | 61.9% | 29.5% | Claude Sonnet 5.5 |
| ALE-Bench | 1819.1 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: coding | 1513 | 1432 | Claude Sonnet 5.5 |
| LMArena Text: software and IT | 1504 | 1421 | Claude Sonnet 5.5 |
| LMArena WebDev: React | 1817 | 1663 | Claude Sonnet 5.5 |
| LMArena WebDev: HTML | 1741 | 1627 | Claude Sonnet 5.5 |
| LMArena WebDev: from an image | 1737 | 1586 | Claude Sonnet 5.5 |
| SciCode | 13.8% | Not measured | Only Claude Sonnet 5.5 measured |
| Neither model has a result on the other 19 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Sonnet 5.5 | Grok 4.7 | Leader |
|---|---|---|---|
| AA Intelligence Index | 56.0 | 46.4 | Claude Sonnet 5.5 |
| Epoch Capabilities Index | 166.2 | 154.4 | Claude Sonnet 5.5 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index122
| Benchmark | Claude Sonnet 5.5 | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | 1305 | Not measured | Only Claude Sonnet 5.5 measured |
| Design Arena: agents building mobile apps | 1260 | Not measured | Only Claude Sonnet 5.5 measured |
| Design Arena: spreadsheets | 1260 | Not measured | Only Claude Sonnet 5.5 measured |
| LiveBench research | 83.6% | 86.4% | Grok 4.7 |
| LiveBench browser | 84.0% | 60.0% | Claude Sonnet 5.5 |
| LiveBench long agentic | 78.8% | 50.1% | Claude Sonnet 5.5 |
| SREBench (Vals AI) | 30.1% | 3.8% | Claude Sonnet 5.5 |
| Finance Agent (Vals AI) | 58.1% | 52.3% | Claude Sonnet 5.5 |
| Tax Agent Bench (Vals AI) | 42.0% | 34.2% | Claude Sonnet 5.5 |
| Legal Research Bench (Vals AI) | 48.1% | 47.1% | Claude Sonnet 5.5 |
| Harvey's Legal Agent Benchmark (Vals AI) | 10.4% | 18.3% | Grok 4.7 |
| Excel Modeling Benchmark (Vals AI) | 75.7% | 67.0% | Claude Sonnet 5.5 |
| BioMysteryBench (Vals AI) | 81.1% | 69.3% | Claude Sonnet 5.5 |
| Terminal-Bench-Science (Vals AI) | 47.1% | 10.0% | Claude Sonnet 5.5 |
| Vals Science Index | 59.1% | 34.8% | Claude Sonnet 5.5 |
| Robo-bench (Vals AI) | Not measured | 0.2% | Only Grok 4.7 measured |
| APEX-Agents | 75.5% | 54.6% | Claude Sonnet 5.5 |
| SpireClimb | 1.3% | Not measured | Only Claude Sonnet 5.5 measured |
| Vending-Bench 2 | $11,165 | $10,537 | Claude Sonnet 5.5 |
| Neither model has a result on the other 22 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index110
| Benchmark | Claude Sonnet 5.5 | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench reasoning | 91.6% | 82.7% | Claude Sonnet 5.5 |
| MysteryMechanism (Vals AI) | 49.1% | 25.2% | Claude Sonnet 5.5 |
| Humanity's Last Exam (Artificial Analysis run) | 55.0% | 43.1% | Claude Sonnet 5.5 |
| GPQA Diamond (Epoch AI run) | 95.6% | 92.7% | Claude Sonnet 5.5 |
| ARC-AGI | Not measured | 90.2% | Only Grok 4.7 measured |
| ARC-AGI-2 | Not measured | 61.4% | Only Grok 4.7 measured |
| Chess puzzles | 59.0% | 41.0% | Claude Sonnet 5.5 |
| Mystery game puzzles | 65.0% | 29.0% | Claude Sonnet 5.5 |
| LMArena Text: hard prompts | 1494 | 1415 | Claude Sonnet 5.5 |
| LMArena Text: expert | 1531 | 1439 | Claude Sonnet 5.5 |
| LMArena Text: hard prompts in English | 1502 | 1427 | Claude Sonnet 5.5 |
| LMArena Vision: diagrams | 1329 | 1254 | Claude Sonnet 5.5 |
| LMArena Vision: homework | 1331 | 1309 | Claude Sonnet 5.5 |
| Neither model has a result on the other 9 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | Claude Sonnet 5.5 | Grok 4.7 | Leader |
|---|---|---|---|
| OTIS Mock AIME | 100.0% | 98.1% | Claude Sonnet 5.5 |
| FrontierMath, tiers 1 to 3 | 88.8% | 53.0% | Claude Sonnet 5.5 |
| FrontierMath, tier 4 | 80.5% | 17.1% | Claude Sonnet 5.5 |
| ProofBench | 100.0% | 26.0% | Claude Sonnet 5.5 |
| LMArena Text: math | 1497 | 1414 | Claude Sonnet 5.5 |
| LMArena Text: mathematical work | 1510 | 1435 | Claude Sonnet 5.5 |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index51
| Benchmark | Claude Sonnet 5.5 | Grok 4.7 | Leader |
|---|---|---|---|
| LegalBench (Vals AI) | Not measured | 84.4% | Only Grok 4.7 measured |
| MedCode (Vals AI) | 52.9% | 49.5% | Claude Sonnet 5.5 |
| SimpleQA Verified | 46.5% | 56.0% | Grok 4.7 |
| LMArena Text: science | 1483 | 1419 | Claude Sonnet 5.5 |
| LMArena Text: medicine and healthcare | 1464 | 1395 | Claude Sonnet 5.5 |
| LMArena Text: legal and government | 1483 | 1423 | Claude Sonnet 5.5 |
| LMArena Text: business and finance | 1468 | 1389 | Claude Sonnet 5.5 |
| Neither model has a result on the other 11 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index70
| Benchmark | Claude Sonnet 5.5 | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: websites | 1326 | 1255 | Claude Sonnet 5.5 |
| Design Arena: UI components | 1368 | 1275 | Claude Sonnet 5.5 |
| Design Arena: game dev | 1471 | 1314 | Claude Sonnet 5.5 |
| Design Arena: data viz | 1392 | 1238 | Claude Sonnet 5.5 |
| Design Arena: 3D | 1445 | 1274 | Claude Sonnet 5.5 |
| Design Arena: all code categories | 1364 | 1273 | Claude Sonnet 5.5 |
| LiveBench design | 85.0% | 78.0% | Claude Sonnet 5.5 |
| Neither model has a result on the other 2 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index251
| Benchmark | Claude Sonnet 5.5 | Grok 4.7 | Leader |
|---|---|---|---|
| Vals Index | 70.8% | 58.6% | Claude Sonnet 5.5 |
| LiveBench data analysis | 59.5% | 76.9% | Grok 4.7 |
| Public Benefits Bench (Vals AI) | 67.2% | 65.6% | Claude Sonnet 5.5 |
| SAGE (Vals AI) | 51.8% | 40.8% | Claude Sonnet 5.5 |
| MedScribe (Vals AI) | 91.1% | 89.4% | Claude Sonnet 5.5 |
| Long context reasoning (AA-LCR) | 82.7% | 80.0% | Claude Sonnet 5.5 |
| DTBench | 97.3% | 96.0% | Claude Sonnet 5.5 |
| LMCA | 68.3% | 49.4% | Claude Sonnet 5.5 |
| Furniture assembly | 75.0% | 20.8% | Claude Sonnet 5.5 |
| LMArena Text | 1473 | 1399 | Claude Sonnet 5.5 |
| LMArena Text: instruction following | 1492 | 1406 | Claude Sonnet 5.5 |
| LMArena Text: creative writing | 1467 | 1381 | Claude Sonnet 5.5 |
| LMArena Vision | 1287 | 1231 | Claude Sonnet 5.5 |
| LMArena Text: English | 1484 | 1411 | Claude Sonnet 5.5 |
| LMArena Text: non-English | 1456 | 1386 | Claude Sonnet 5.5 |
| LMArena Text: Chinese | 1535 | 1449 | Claude Sonnet 5.5 |
| LMArena Text: German | Not measured | 1366 | Only Grok 4.7 measured |
| LMArena Text: Japanese | Not measured | 1359 | Only Grok 4.7 measured |
| LMArena Text: Korean | Not measured | 1383 | Only Grok 4.7 measured |
| LMArena Text: French | 1499 | 1431 | Claude Sonnet 5.5 |
| LMArena Text: Spanish | 1451 | 1406 | Claude Sonnet 5.5 |
| LMArena Text: Russian | 1454 | 1399 | Claude Sonnet 5.5 |
| LMArena Text: Polish | Not measured | 1420 | Only Grok 4.7 measured |
| LMArena Text: multi-turn | 1465 | 1394 | Claude Sonnet 5.5 |
| LMArena Text: longer queries | 1495 | 1416 | Claude Sonnet 5.5 |
| LMArena Text: writing and language | 1474 | 1394 | Claude Sonnet 5.5 |
| LMArena Text: entertainment and media | 1461 | 1376 | Claude Sonnet 5.5 |
| LMArena Vision: English | 1289 | 1229 | Claude Sonnet 5.5 |
| LMArena Vision: Chinese | Not measured | 1250 | Only Grok 4.7 measured |
| LMArena Vision: reading text | 1297 | 1241 | Claude Sonnet 5.5 |
| LMArena Vision: creative writing | 1242 | 1217 | Claude Sonnet 5.5 |
| Neither model has a result on the other 15 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Sonnet 5.5 | Grok 4.7 | 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
Grok 4.7 costs less
Repository review
50K input + 3K output tokens
Grok 4.7 costs less
Agent loop
200K input + 10K output tokens
Grok 4.7 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 5.5 | SpaceXAI Grok 4.7 |
|---|---|---|
| Maker | Anthropic | xAI |
| Weights | No public weights listed | No public weights listed |
| Released | September 28, 2026 | September 21, 2026 |
| Context window | 1M | 500K |
| Input $/Mtok | $2.00 | $2.00 |
| Output $/Mtok | $10.00 | $6.00 |
| Coding index | 87.3 | 66.7 |
| Independent measurements behind it | 5 | 5 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Sonnet 5.5 better than Grok 4.7 for coding?
Pick Claude Sonnet 5.5 for coding: it scores 87.3 on the Vibe Coding Index against 66.7 for Grok 4.7. Pick Grok 4.7 for output tokens 1.7x cheaper ($6.00 vs $10.00 per million) and work measured by CyberBench (Vals AI) or LiveBench research, where it leads.
Which is cheaper, Claude Sonnet 5.5 or Grok 4.7?
Claude Sonnet 5.5 costs $2.00 per million input tokens and $10.00 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for neither of them.
Which has the bigger context window, Claude Sonnet 5.5 or Grok 4.7?
Claude Sonnet 5.5, with 1M tokens against 500K.
How many benchmarks is the Claude Sonnet 5.5 vs Grok 4.7 comparison based on?
90 benchmarks have a result for both models as of October 22, 2026. Claude Sonnet 5.5's coding index rests on 5 independent benchmarks and Grok 4.7's on 5. Where only one model has a result, the page says so instead of naming a winner.