Claude Sonnet 5 vs Grok 4.6
Grok 4.6 leads Claude Sonnet 5 on coding, 65.7 to 57.7 on the Vibe Coding Index, and Grok 4.6 costs 1.7x less per output token ($6.00 vs $10.00 per million). Updated October 22, 2026; 114 benchmarks have a result for both.
Claude Sonnet 5 or Grok 4.6: which to pick
Pick Grok 4.6 for coding: it scores 65.7 on the Vibe Coding Index against 57.7 for Claude Sonnet 5.
Pick Claude Sonnet 5 for a larger context window (1M against 500K tokens) and work measured by Vibe Code Bench (Vals AI) or CyberBench (Vals AI), where it leads.
- Shared results
- 114
- Claude Sonnet 5 only
- 7
- Grok 4.6 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
Grok 4.6
Grok 4.6 scores 65.7 against 57.7.
6 benchmarks behind each score
Intelligence
AA Intelligence Index
Grok 4.6
Grok 4.6 leads, 44.3 against 38.2.
Same board, both measured
Agentic work
AA Agentic Index
Grok 4.6
Grok 4.6 leads, 53.0 against 43.6.
Same board, both measured
Reasoning
GPQA Diamond
Grok 4.6
Grok 4.6 leads, 94.7% against 88.9%.
Same board, both measured
Knowledge
MMLU Pro
Grok 4.6
Grok 4.6 leads, 89.4% against 87.5%.
Same board, both measured
Web design
Design Arena: websites
Grok 4.6
Grok 4.6 leads, 1289 against 1274.
Same board, both measured
Long documents
Listed context window
Claude Sonnet 5
Claude Sonnet 5 takes 1M tokens against 500K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Grok 4.6
Claude Sonnet 5 $0.0070, Grok 4.6 $0.0050 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Grok 4.6
Claude Sonnet 5 $1.87, Grok 4.6 $0.82.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Sonnet 5 57.7 from 6 benchmarks, Grok 4.6 65.7 from 6 benchmarks.
- Widest category
- Math, 7.4 points apart on average over 6 shared benchmarks.
- Widest single gap
- ProofBench: Claude Sonnet 5 77.0% against Grok 4.6 51.0%, 26.0 points apart on a 0 to 100 scale.
- Output price
- Claude Sonnet 5 $10.00 against Grok 4.6 $6.00 per million output tokens, 1.7x apart.
- Context window
- Claude Sonnet 5 takes 1M tokens, Grok 4.6 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 | Bars | Grok 4.6 | Ties |
|---|---|---|---|---|
| Coding | 5 | 18 | ||
| Intelligence | 1 | 1 | ||
| Agentic work | 4 | 15 | ||
| Reasoning | 7 | 6 | ||
| Math | 3 | 3 | ||
| Knowledge | 8 | 3 | ||
| Web design | 1 | 8 | ||
| General | 22 | 9 | ||
| All shared boards | 51 | 63 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index518
| Benchmark | Claude Sonnet 5 | Grok 4.6 | Leader |
|---|---|---|---|
| LiveBench coding | 74.7% | 89.1% | Grok 4.6 |
| LMArena WebDev | 1540 | 1617 | Grok 4.6 |
| AA Coding Index | 71.5 | 76.8 | Grok 4.6 |
| LiveCodeBench (Vals AI) | 82.4% | 88.2% | Grok 4.6 |
| SWE-bench Verified (Vals AI) | 79.6% | 95.6% | Grok 4.6 |
| Terminal-Bench 4 (Vals AI) | 10.6% | 17.2% | Grok 4.6 |
| Vibe Code Bench (Vals AI) | 81.3% | 76.2% | Claude Sonnet 5 |
| Code migration (Vals AI) | 44.4% | 44.6% | Grok 4.6 |
| ProgramBench (Vals AI) | 0.0% | 1.0% | Grok 4.6 |
| IOI (Vals AI) | 45.0% | 47.6% | Grok 4.6 |
| Terminal-Bench 2.1 (Vals AI) | 74.5% | 78.3% | Grok 4.6 |
| Vibe Code Bench 1-100 (Vals AI) | 13.8% | 14.8% | Grok 4.6 |
| SkillsBench (Vals AI) | 46.5% | 55.8% | Grok 4.6 |
| CyberBench (Vals AI) | 70.3% | 67.7% | Claude Sonnet 5 |
| SciCode | 54.3% | 56.5% | Grok 4.6 |
| FrontierCode | 42.7% | 48.0% | Grok 4.6 |
| FrontierSWE | Not measured | 25.3% | Only Grok 4.6 measured |
| GSO-Bench | 37.3% | Not measured | Only Claude Sonnet 5 measured |
| WeirdML | 68.8% | 67.3% | Claude Sonnet 5 |
| ALE-Bench | 1463.1 | 1508.1 | Grok 4.6 |
| LMArena Text: coding | 1483 | 1466 | Claude Sonnet 5 |
| LMArena Text: software and IT | 1474 | 1457 | Claude Sonnet 5 |
| LMArena WebDev: React | 1541 | 1631 | Grok 4.6 |
| LMArena WebDev: HTML | 1527 | 1597 | Grok 4.6 |
| LMArena WebDev: from an image | 1540 | 1603 | Grok 4.6 |
| SciCode | 10.7% | Not measured | Only Claude Sonnet 5 measured |
| Neither model has a result on the other 13 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | Claude Sonnet 5 | Grok 4.6 | Leader |
|---|---|---|---|
| AA Intelligence Index | 38.2 | 44.3 | Grok 4.6 |
| Epoch Capabilities Index | 156.9 | 156.6 | Claude Sonnet 5 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index415
| Benchmark | Claude Sonnet 5 | Grok 4.6 | Leader |
|---|---|---|---|
| AA Agentic Index | 43.6 | 53.0 | Grok 4.6 |
| Design Arena: agents building web apps | 1245 | 1248 | Grok 4.6 |
| Design Arena: agents building full-stack apps | 1249 | 1264 | Grok 4.6 |
| Design Arena: agents building mobile apps | 1215 | 1234 | Grok 4.6 |
| Design Arena: agents building Android apps | 1227 | 1291 | Grok 4.6 |
| Design Arena: agents building Godot games | 1225 | 1276 | Grok 4.6 |
| Design Arena: agents building games | 1227 | 1209 | Claude Sonnet 5 |
| Design Arena: HTML slides | 1168 | 1250 | Grok 4.6 |
| Design Arena: PowerPoint slides | 1191 | 1237 | Grok 4.6 |
| Design Arena: spreadsheets | 1035 | Not measured | Only Claude Sonnet 5 measured |
| LiveBench research | 82.8% | 84.5% | Grok 4.6 |
| LiveBench browser | 72.0% | 64.0% | Claude Sonnet 5 |
| LiveBench long agentic | 39.0% | 40.7% | Grok 4.6 |
| SREBench (Vals AI) | 0.4% | Not measured | Only Claude Sonnet 5 measured |
| Finance Agent (Vals AI) | 53.9% | 53.7% | Claude Sonnet 5 |
| Tax Agent Bench (Vals AI) | 29.4% | 33.1% | Grok 4.6 |
| Legal Research Bench (Vals AI) | 41.8% | 48.1% | Grok 4.6 |
| Excel Modeling Benchmark (Vals AI) | 66.3% | 62.7% | Claude Sonnet 5 |
| BioMysteryBench (Vals AI) | Not measured | 72.2% | Only Grok 4.6 measured |
| Terminal-Bench-Science (Vals AI) | 5.7% | 11.4% | Grok 4.6 |
| Vals Science Index | Not measured | 38.1% | Only Grok 4.6 measured |
| Time Horizon Index (Vals AI) | Not measured | 5.8% | Only Grok 4.6 measured |
| APEX-Agents | 54.5% | 65.3% | Grok 4.6 |
| Vending-Bench 2 | $6,378 | $9,047 | Grok 4.6 |
| Neither model has a result on the other 17 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index76
| Benchmark | Claude Sonnet 5 | Grok 4.6 | Leader |
|---|---|---|---|
| GPQA Diamond | 88.9% | 94.7% | Grok 4.6 |
| LiveBench reasoning | 88.7% | 91.2% | Grok 4.6 |
| MysteryMechanism (Vals AI) | Not measured | 30.6% | Only Grok 4.6 measured |
| MMMU Pro (Vals AI) | 83.0% | Not measured | Only Claude Sonnet 5 measured |
| GPQA Diamond (Artificial Analysis run) | 91.1% | 94.9% | Grok 4.6 |
| Humanity's Last Exam (Artificial Analysis run) | 41.3% | 44.1% | Grok 4.6 |
| GPQA Diamond (Epoch AI run) | 90.5% | 94.0% | Grok 4.6 |
| ARC-AGI | Not measured | 87.5% | Only Grok 4.6 measured |
| ARC-AGI-2 | Not measured | 67.1% | Only Grok 4.6 measured |
| SimpleBench | 60.6% | 75.9% | Grok 4.6 |
| Chess puzzles | 45.0% | 33.0% | Claude Sonnet 5 |
| Mystery game puzzles | 35.0% | 34.0% | Claude Sonnet 5 |
| EBR-bench | Not measured | 30.5% | Only Grok 4.6 measured |
| LMArena Text: hard prompts | 1461 | 1448 | Claude Sonnet 5 |
| LMArena Text: expert | 1489 | 1469 | Claude Sonnet 5 |
| LMArena Text: hard prompts in English | 1464 | 1445 | Claude Sonnet 5 |
| LMArena Vision: diagrams | 1293 | 1285 | Claude Sonnet 5 |
| LMArena Vision: homework | 1311 | 1283 | Claude Sonnet 5 |
| Neither model has a result on the other 4 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index33
| Benchmark | Claude Sonnet 5 | Grok 4.6 | Leader |
|---|---|---|---|
| OTIS Mock AIME | 94.7% | 99.2% | Grok 4.6 |
| FrontierMath, tiers 1 to 3 | 65.6% | 66.0% | Grok 4.6 |
| FrontierMath, tier 4 | 29.3% | 31.7% | Grok 4.6 |
| ProofBench | 77.0% | 51.0% | Claude Sonnet 5 |
| LMArena Text: math | 1467 | 1417 | Claude Sonnet 5 |
| LMArena Text: mathematical work | 1481 | 1464 | Claude Sonnet 5 |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index83
| Benchmark | Claude Sonnet 5 | Grok 4.6 | Leader |
|---|---|---|---|
| MMLU Pro | 87.5% | 89.4% | Grok 4.6 |
| LegalBench (Vals AI) | 83.9% | 86.3% | Grok 4.6 |
| CorpFin (Vals AI) | 67.0% | 66.2% | Claude Sonnet 5 |
| TaxEval (Vals AI) | 75.6% | 71.1% | Claude Sonnet 5 |
| MortgageTax (Vals AI) | 70.0% | 64.2% | Claude Sonnet 5 |
| MedCode (Vals AI) | 47.5% | 44.7% | Claude Sonnet 5 |
| SimpleQA Verified | 33.7% | 49.3% | Grok 4.6 |
| LMArena Text: science | 1460 | 1437 | Claude Sonnet 5 |
| LMArena Text: medicine and healthcare | 1442 | 1420 | Claude Sonnet 5 |
| LMArena Text: legal and government | 1454 | 1429 | Claude Sonnet 5 |
| LMArena Text: business and finance | 1436 | 1416 | Claude Sonnet 5 |
| Neither model has a result on the other 7 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index18
| Benchmark | Claude Sonnet 5 | Grok 4.6 | Leader |
|---|---|---|---|
| Design Arena: websites | 1274 | 1289 | Grok 4.6 |
| Design Arena: UI components | 1277 | 1294 | Grok 4.6 |
| Design Arena: game dev | 1277 | 1296 | Grok 4.6 |
| Design Arena: data viz | 1251 | 1282 | Grok 4.6 |
| Design Arena: 3D | 1261 | 1277 | Grok 4.6 |
| Design Arena: all code categories | 1275 | 1292 | Grok 4.6 |
| Design Arena: SVG | 1192 | 1240 | Grok 4.6 |
| Design Arena: ASCII art | 1207 | 1279 | Grok 4.6 |
| LiveBench design | 82.0% | 79.8% | Claude Sonnet 5 |
GeneralLike-for-likePublic boards, shown as published, kept out of the index229
| Benchmark | Claude Sonnet 5 | Grok 4.6 | Leader |
|---|---|---|---|
| LiveBench data analysis | 71.7% | 75.3% | Grok 4.6 |
| Public Benefits Bench (Vals AI) | 66.0% | 66.8% | Grok 4.6 |
| SAGE (Vals AI) | 48.9% | 28.9% | Claude Sonnet 5 |
| MedScribe (Vals AI) | 76.0% | 86.5% | Grok 4.6 |
| Vals Multimodal Index | 68.8% | Not measured | Only Claude Sonnet 5 measured |
| Long context reasoning (AA-LCR) | 82.0% | 81.0% | Claude Sonnet 5 |
| DTBench | 92.5% | 97.3% | Grok 4.6 |
| LMCA | 50.0% | 48.5% | Claude Sonnet 5 |
| Surface Evolver Bench | 60.0% | Not measured | Only Claude Sonnet 5 measured |
| Furniture assembly | Not measured | 40.0% | Only Grok 4.6 measured |
| LMArena Text | 1442 | 1429 | Claude Sonnet 5 |
| LMArena Text: instruction following | 1452 | 1431 | Claude Sonnet 5 |
| LMArena Text: creative writing | 1416 | 1426 | Grok 4.6 |
| LMArena Vision | 1273 | 1263 | Claude Sonnet 5 |
| LMArena Text: English | 1450 | 1433 | Claude Sonnet 5 |
| LMArena Text: non-English | 1431 | 1420 | Claude Sonnet 5 |
| LMArena Text: Chinese | 1478 | 1476 | Claude Sonnet 5 |
| LMArena Text: German | 1442 | 1426 | Claude Sonnet 5 |
| LMArena Text: Japanese | 1422 | 1378 | Claude Sonnet 5 |
| LMArena Text: Korean | 1412 | 1391 | Claude Sonnet 5 |
| LMArena Text: French | 1463 | 1455 | Claude Sonnet 5 |
| LMArena Text: Spanish | 1438 | 1414 | Claude Sonnet 5 |
| LMArena Text: Russian | 1450 | 1421 | Claude Sonnet 5 |
| LMArena Text: Polish | 1425 | 1430 | Grok 4.6 |
| LMArena Text: multi-turn | 1453 | 1425 | Claude Sonnet 5 |
| LMArena Text: longer queries | 1462 | 1456 | Claude Sonnet 5 |
| LMArena Text: writing and language | 1436 | 1429 | Claude Sonnet 5 |
| LMArena Text: entertainment and media | 1411 | 1421 | Grok 4.6 |
| LMArena Vision: English | 1275 | 1270 | Claude Sonnet 5 |
| LMArena Vision: Chinese | 1331 | 1289 | Claude Sonnet 5 |
| LMArena Vision: reading text | 1288 | 1272 | Claude Sonnet 5 |
| LMArena Vision: humor | 1261 | 1270 | Grok 4.6 |
| LMArena Vision: creative writing | 1246 | 1262 | Grok 4.6 |
| LMArena Document | 1466 | 1452 | Claude Sonnet 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 5 | Grok 4.6 | 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.6 costs less
Repository review
50K input + 3K output tokens
Grok 4.6 costs less
Agent loop
200K input + 10K output tokens
Grok 4.6 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 | SpaceXAI Grok 4.6 |
|---|---|---|
| Maker | Anthropic | xAI |
| Weights | No public weights listed | No public weights listed |
| Released | June 30, 2026 | August 12, 2026 |
| Context window | 1M | 500K |
| Input $/Mtok | $2.00 | $2.00 |
| Output $/Mtok | $10.00 | $6.00 |
| Coding index | 57.7 | 65.7 |
| Independent measurements behind it | 6 | 6 |
| Cost per solved task | $1.87 | $0.82 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Sonnet 5 better than Grok 4.6 for coding?
Pick Grok 4.6 for coding: it scores 65.7 on the Vibe Coding Index against 57.7 for Claude Sonnet 5. Pick Claude Sonnet 5 for a larger context window (1M against 500K tokens) and work measured by Vibe Code Bench (Vals AI) or CyberBench (Vals AI), where it leads.
Which is cheaper, Claude Sonnet 5 or Grok 4.6?
Claude Sonnet 5 costs $2.00 per million input tokens and $10.00 per million output tokens; Grok 4.6 costs $2.00 and $6.00. Per solved SWE-bench Verified task, Claude Sonnet 5 costs $1.87 and Grok 4.6 $0.82.
Which has the bigger context window, Claude Sonnet 5 or Grok 4.6?
Claude Sonnet 5, with 1M tokens against 500K.
How many benchmarks is the Claude Sonnet 5 vs Grok 4.6 comparison based on?
114 benchmarks have a result for both models as of October 22, 2026. Claude Sonnet 5's coding index rests on 6 independent benchmarks and Grok 4.6's on 6. Where only one model has a result, the page says so instead of naming a winner.