Claude Opus 4.1 vs Grok 4.7
Updated October 21, 2026. 49 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick Grok 4.7 for coding: it scores 75.0 on the Vibe Coding Index against 27.2 for Claude Opus 4.1.
Pick Claude Opus 4.1 when what matters is LMArena Text: coding or LMArena Text: software and IT, where it leads.
- Shared results
- 49
- Claude Opus 4.1 only
- 22
- Grok 4.7 only
- 50
- Like-for-like categories
- 7 of 9
Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.
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, four public coding benchmarks
Grok 4.7
Grok 4.7 scores 75.0 against 27.2.
1 and 2 benchmarks behind the scores
Intelligence
AA Intelligence Index
Grok 4.7
Grok 4.7 leads, 46.4 against 22.8.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only Claude Opus 4.1 has a GPQA Diamond result, 76.3%.
Directional only
Math
AIME
No call
Only Claude Opus 4.1 has a AIME result, 78.2%.
Directional only
Knowledge
MMLU Pro
No call
Only Claude Opus 4.1 has a MMLU Pro result, 87.9%.
Directional only
Web design
Design Arena: websites
Grok 4.7
Grok 4.7 leads, 1255 against 1177.
Same board, both measured
General
Vals Index
No call
Only Grok 4.7 has a Vals Index result, 58.6%.
Directional only
Long documents
Listed context window
Grok 4.7
Grok 4.7 takes 500K tokens against 200K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Grok 4.7
Claude Opus 4.1 $0.052, Grok 4.7 $0.0050 per turn.
List prices
At a glance
- Coding index
- Claude Opus 4.1 27.2 from 1 benchmark, Grok 4.7 75.0 from 2 benchmarks.
- Widest category
- Coding, 20.6 points apart on average over 4 shared benchmarks.
- Widest single gap
- FrontierMath, tiers 1 to 3: Claude Opus 4.1 12.6% against Grok 4.7 53.0%, 40.4 points apart on a 0 to 100 scale.
- Output price
- Claude Opus 4.1 $75.00 against Grok 4.7 $6.00 per million output tokens, 12.5x apart.
- Context window
- Claude Opus 4.1 takes 200K 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 Opus 4.1 | Bars | Grok 4.7 | Ties |
|---|---|---|---|---|
| Coding | 2 | 2 | ||
| Intelligence | 0 | 2 | ||
| Reasoning | 2 | 3 | ||
| Math | 1 | 4 | ||
| Knowledge | 3 | 3 | ||
| Web design | 0 | 6 | ||
| General | 14 | 7 | ||
| All shared boards | 22 | 27 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index22
| Benchmark | Claude Opus 4.1 | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench coding | Not measured | 84.5% | Only Grok 4.7 measured |
| LMArena WebDev | 1390 | 1637 | Grok 4.7 |
| LiveCodeBench (Vals AI) | 66.5% | Not measured | Only Claude Opus 4.1 measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 28.8% | Only Grok 4.7 measured |
| Vibe Code Bench (Vals AI) | Not measured | 86.2% | Only Grok 4.7 measured |
| Code migration (Vals AI) | Not measured | 44.8% | Only Grok 4.7 measured |
| ProgramBench (Vals AI) | Not measured | 0.5% | Only Grok 4.7 measured |
| IOI (Vals AI) | Not measured | 57.7% | Only Grok 4.7 measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 73.4% | Only Grok 4.7 measured |
| SWE-bench Multimodal (Vals AI) | Not measured | 42.9% | Only Grok 4.7 measured |
| CyberBench (Vals AI) | Not measured | 69.5% | Only Grok 4.7 measured |
| SciCode | Not measured | 57.8% | Only Grok 4.7 measured |
| Terminal-Bench | 38.0% | Not measured | Only Claude Opus 4.1 measured |
| FrontierCode | Not measured | 47.6% | Only Grok 4.7 measured |
| FrontierSWE | Not measured | 29.5% | Only Grok 4.7 measured |
| WeirdML | 45.9% | Not measured | Only Claude Opus 4.1 measured |
| Cybench | 42.0% | Not measured | Only Claude Opus 4.1 measured |
| LMArena Text: coding | 1479 | 1432 | Claude Opus 4.1 |
| LMArena Text: software and IT | 1456 | 1421 | Claude Opus 4.1 |
| LMArena WebDev: React | Not measured | 1663 | Only Grok 4.7 measured |
| LMArena WebDev: HTML | 1399 | 1627 | Grok 4.7 |
| LMArena WebDev: from an image | Not measured | 1586 | Only Grok 4.7 measured |
| 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 Opus 4.1 | Grok 4.7 | Leader |
|---|---|---|---|
| AA Intelligence Index | 22.8 | 46.4 | Grok 4.7 |
| Epoch Capabilities Index | 144.1 | 154.4 | Grok 4.7 |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index18 boards, none shared
| Benchmark | Claude Opus 4.1 | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench research | Not measured | 86.4% | Only Grok 4.7 measured |
| LiveBench browser | Not measured | 60.0% | Only Grok 4.7 measured |
| LiveBench long agentic | Not measured | 50.1% | Only Grok 4.7 measured |
| SREBench (Vals AI) | Not measured | 3.8% | Only Grok 4.7 measured |
| Finance Agent (Vals AI) | Not measured | 52.3% | Only Grok 4.7 measured |
| Tax Agent Bench (Vals AI) | Not measured | 34.2% | Only Grok 4.7 measured |
| Legal Research Bench (Vals AI) | Not measured | 47.1% | Only Grok 4.7 measured |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 18.3% | Only Grok 4.7 measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 67.0% | Only Grok 4.7 measured |
| BioMysteryBench (Vals AI) | Not measured | 69.3% | Only Grok 4.7 measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 10.0% | Only Grok 4.7 measured |
| Vals Science Index | Not measured | 34.8% | Only Grok 4.7 measured |
| Robo-bench (Vals AI) | Not measured | 0.2% | Only Grok 4.7 measured |
| APEX-Agents | Not measured | 54.6% | Only Grok 4.7 measured |
| METR time horizons | 66.8% | Not measured | Only Claude Opus 4.1 measured |
| GDPval | 43.6% | Not measured | Only Claude Opus 4.1 measured |
| DeepResearch Bench | 48.3% | Not measured | Only Claude Opus 4.1 measured |
| Vending-Bench 2 | Not measured | $10,537 | Only Grok 4.7 measured |
| Neither model has a result on the other 21 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index23
| Benchmark | Claude Opus 4.1 | Grok 4.7 | Leader |
|---|---|---|---|
| GPQA Diamond | 76.3% | Not measured | Only Claude Opus 4.1 measured |
| LiveBench reasoning | Not measured | 82.7% | Only Grok 4.7 measured |
| MysteryMechanism (Vals AI) | Not measured | 25.2% | Only Grok 4.7 measured |
| MMMU Pro (Vals AI) | 77.5% | Not measured | Only Claude Opus 4.1 measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 43.1% | Only Grok 4.7 measured |
| GPQA Diamond (Epoch AI run) | 77.3% | 92.7% | Grok 4.7 |
| ARC-AGI | Not measured | 90.2% | Only Grok 4.7 measured |
| ARC-AGI-2 | Not measured | 61.4% | Only Grok 4.7 measured |
| SimpleBench | 60.0% | Not measured | Only Claude Opus 4.1 measured |
| Chess puzzles | Not measured | 41.0% | Only Grok 4.7 measured |
| Mystery game puzzles | 21.0% | 29.0% | Grok 4.7 |
| EBR-bench | 7.9% | Not measured | Only Claude Opus 4.1 measured |
| VPCT | 35.0% | Not measured | Only Claude Opus 4.1 measured |
| LMArena Text: hard prompts | 1442 | 1415 | Claude Opus 4.1 |
| LMArena Text: expert | 1438 | 1439 | Grok 4.7 |
| LMArena Text: hard prompts in English | 1451 | 1427 | Claude Opus 4.1 |
| LMArena Vision: diagrams | Not measured | 1254 | Only Grok 4.7 measured |
| LMArena Vision: homework | Not measured | 1309 | Only Grok 4.7 measured |
| Neither model has a result on the other 3 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index14
| Benchmark | Claude Opus 4.1 | Grok 4.7 | Leader |
|---|---|---|---|
| AIME | 78.2% | Not measured | Only Claude Opus 4.1 measured |
| MATH 500 (Vals AI) | 95.4% | Not measured | Only Claude Opus 4.1 measured |
| MGSM (Vals AI) | 94.4% | Not measured | Only Claude Opus 4.1 measured |
| OTIS Mock AIME | 68.9% | 98.1% | Grok 4.7 |
| FrontierMath, tiers 1 to 3 | 12.6% | 53.0% | Grok 4.7 |
| FrontierMath, tier 4 | 2.4% | 17.1% | Grok 4.7 |
| ProofBench | Not measured | 26.0% | Only Grok 4.7 measured |
| LMArena Text: math | 1431 | 1414 | Claude Opus 4.1 |
| LMArena Text: mathematical work | 1434 | 1435 | Grok 4.7 |
| Neither model has a result on the other 4 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index33
| Benchmark | Claude Opus 4.1 | Grok 4.7 | Leader |
|---|---|---|---|
| MMLU Pro | 87.9% | Not measured | Only Claude Opus 4.1 measured |
| LegalBench (Vals AI) | 83.5% | 84.4% | Grok 4.7 |
| TaxEval (Vals AI) | 73.7% | Not measured | Only Claude Opus 4.1 measured |
| MortgageTax (Vals AI) | 61.1% | Not measured | Only Claude Opus 4.1 measured |
| MedQA (Vals AI) | 93.6% | Not measured | Only Claude Opus 4.1 measured |
| MedCode (Vals AI) | 47.2% | 49.5% | Grok 4.7 |
| SimpleQA Verified | Not measured | 56.0% | Only Grok 4.7 measured |
| LMArena Text: science | 1422 | 1419 | Claude Opus 4.1 |
| LMArena Text: medicine and healthcare | 1416 | 1395 | Claude Opus 4.1 |
| LMArena Text: legal and government | 1421 | 1423 | Grok 4.7 |
| LMArena Text: business and finance | 1406 | 1389 | Claude Opus 4.1 |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | Claude Opus 4.1 | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: websites | 1177 | 1255 | Grok 4.7 |
| Design Arena: UI components | 1164 | 1271 | Grok 4.7 |
| Design Arena: game dev | 1172 | 1314 | Grok 4.7 |
| Design Arena: data viz | 1166 | 1227 | Grok 4.7 |
| Design Arena: 3D | 1153 | 1269 | Grok 4.7 |
| Design Arena: all code categories | 1171 | 1271 | Grok 4.7 |
| Design Arena: SVG | 1152 | Not measured | Only Claude Opus 4.1 measured |
| Design Arena: ASCII art | 1167 | Not measured | Only Claude Opus 4.1 measured |
| LiveBench design | Not measured | 78.0% | Only Grok 4.7 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index147
| Benchmark | Claude Opus 4.1 | Grok 4.7 | Leader |
|---|---|---|---|
| Vals Index | Not measured | 58.6% | Only Grok 4.7 measured |
| LiveBench data analysis | Not measured | 76.9% | Only Grok 4.7 measured |
| Public Benefits Bench (Vals AI) | Not measured | 65.6% | Only Grok 4.7 measured |
| SAGE (Vals AI) | 31.4% | 40.8% | Grok 4.7 |
| MedScribe (Vals AI) | 73.9% | 89.4% | Grok 4.7 |
| Long context reasoning (AA-LCR) | Not measured | 80.0% | Only Grok 4.7 measured |
| DTBench | 80.0% | 96.0% | Grok 4.7 |
| LMCA | 37.1% | 49.4% | Grok 4.7 |
| Creative writing (Lech Mazur) | 84.7% | Not measured | Only Claude Opus 4.1 measured |
| Furniture assembly | Not measured | 20.8% | Only Grok 4.7 measured |
| LMArena Text | 1419 | 1399 | Claude Opus 4.1 |
| LMArena Text: instruction following | 1435 | 1406 | Claude Opus 4.1 |
| LMArena Text: creative writing | 1412 | 1381 | Claude Opus 4.1 |
| LMArena Vision | Not measured | 1231 | Only Grok 4.7 measured |
| LMArena Text: English | 1433 | 1411 | Claude Opus 4.1 |
| LMArena Text: non-English | 1405 | 1386 | Claude Opus 4.1 |
| LMArena Text: Chinese | 1427 | 1449 | Grok 4.7 |
| LMArena Text: German | 1413 | 1366 | Claude Opus 4.1 |
| LMArena Text: Japanese | 1377 | 1359 | Claude Opus 4.1 |
| LMArena Text: Korean | 1381 | 1383 | Grok 4.7 |
| LMArena Text: French | 1433 | 1431 | Claude Opus 4.1 |
| LMArena Text: Spanish | 1448 | 1406 | Claude Opus 4.1 |
| LMArena Text: Russian | 1422 | 1399 | Claude Opus 4.1 |
| LMArena Text: Polish | 1413 | 1420 | Grok 4.7 |
| LMArena Text: multi-turn | 1444 | 1394 | Claude Opus 4.1 |
| LMArena Text: longer queries | 1455 | 1416 | Claude Opus 4.1 |
| LMArena Text: writing and language | 1418 | 1394 | Claude Opus 4.1 |
| LMArena Text: entertainment and media | 1398 | 1376 | Claude Opus 4.1 |
| LMArena Vision: English | Not measured | 1229 | Only Grok 4.7 measured |
| LMArena Vision: Chinese | Not measured | 1250 | Only Grok 4.7 measured |
| LMArena Vision: reading text | Not measured | 1241 | Only Grok 4.7 measured |
| LMArena Vision: creative writing | Not measured | 1217 | Only Grok 4.7 measured |
| Neither model has a result on the other 14 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Opus 4.1 | 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 Opus 4.1 | SpaceXAI Grok 4.7 |
|---|---|---|
| Maker | Anthropic | xAI |
| Weights | No public weights listed | No public weights listed |
| Released | August 5, 2025 | September 21, 2026 |
| Context window | 200K | 500K |
| Input $/Mtok | $15.00 | $2.00 |
| Output $/Mtok | $75.00 | $6.00 |
| Coding index | 27.2 | 75.0 |
| Independent measurements behind it | 1 | 2 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Opus 4.1 better than Grok 4.7 for coding?
Pick Grok 4.7 for coding: it scores 75.0 on the Vibe Coding Index against 27.2 for Claude Opus 4.1. Pick Claude Opus 4.1 when what matters is LMArena Text: coding or LMArena Text: software and IT, where it leads.
Which is cheaper, Claude Opus 4.1 or Grok 4.7?
Claude Opus 4.1 costs $15.00 per million input tokens and $75.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 Opus 4.1 or Grok 4.7?
Grok 4.7, with 500K tokens against 200K.
How many benchmarks is the Claude Opus 4.1 vs Grok 4.7 comparison based on?
49 benchmarks have a result for both models as of October 21, 2026. Claude Opus 4.1's coding index rests on 1 independent benchmark and Grok 4.7's on 2. Where only one model has a result, the page says so instead of naming a winner.