Enter opens the highlighted result. Esc closes.

Claude Opus 4.6 vs Grok 4.7

Grok 4.7 leads Claude Opus 4.6 on coding, 66.7 to 57.2 on the Vibe Coding Index, and Grok 4.7 costs 4.2x less per output token ($6.00 vs $25.00 per million). Updated October 22, 2026; 70 benchmarks have a result for both.

Claude Opus 4.6Anthropic
Coding
57.2
Overall
66.0
Output $/M
$25.00
49
Grok 4.7xAI
Coding
66.7
Overall
66.6
Output $/M
$6.00
21
vs boards won of 70 shared

Claude Opus 4.6 or Grok 4.7: which to pick

Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 57.2 for Claude Opus 4.6.

Pick Claude Opus 4.6 for a larger context window (1M against 500K tokens) and work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Shared results
70
Claude Opus 4.6 only
40
Grok 4.7 only
29
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.

At a glance

Coding index
Claude Opus 4.6 57.2 from 4 benchmarks, Grok 4.7 66.7 from 5 benchmarks.
Widest category
Coding, 16.6 points apart on average over 8 shared benchmarks.
Widest single gap
FrontierCode: Claude Opus 4.6 26.6% against Grok 4.7 47.6%, 32.2 points apart on a 0 to 100 scale.
Output price
Claude Opus 4.6 $25.00 against Grok 4.7 $6.00 per million output tokens, 4.2x apart.
Context window
Claude Opus 4.6 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.

Boards won, where both have a result
CategoryClaude Opus 4.6BarsGrok 4.7Ties
Coding26
Intelligence11
Agentic work02
Reasoning74
Math51
Knowledge52
Web design42
General253
All shared boards4921
CodingLike-for-likeSix of these boards feed the Vibe Coding Index26
Coding benchmarks for Claude Opus 4.6 and Grok 4.7
BenchmarkClaude Opus 4.6Grok 4.7Leader
SWE-bench Verified75.6%Not measuredOnly Claude Opus 4.6 measured
SWE-bench Multilingual72.0%Not measuredOnly Claude Opus 4.6 measured
LiveBench codingNot measured84.5%Only Grok 4.7 measured
LMArena WebDev15471637Grok 4.7
LiveCodeBench (Vals AI)84.7%Not measuredOnly Claude Opus 4.6 measured
SWE-bench Verified (Vals AI)78.2%Not measuredOnly Claude Opus 4.6 measured
Terminal-Bench 4 (Vals AI)Not measured28.8%Only Grok 4.7 measured
Vibe Code Bench (Vals AI)57.6%86.2%Grok 4.7
Code migration (Vals AI)Not measured44.8%Only Grok 4.7 measured
ProgramBench (Vals AI)Not measured0.5%Only Grok 4.7 measured
IOI (Vals AI)Not measured57.7%Only Grok 4.7 measured
Terminal-Bench 2.1 (Vals AI)Not measured73.4%Only Grok 4.7 measured
SWE-bench Multimodal (Vals AI)Not measured42.9%Only Grok 4.7 measured
CyberBench (Vals AI)Not measured69.5%Only Grok 4.7 measured
SciCodeNot measured57.8%Only Grok 4.7 measured
Terminal-Bench Hard (Artificial Analysis run)48.5%Not measuredOnly Claude Opus 4.6 measured
Terminal-Bench79.8%Not measuredOnly Claude Opus 4.6 measured
FrontierCode26.6%47.6%Grok 4.7
FrontierSWENot measured29.5%Only Grok 4.7 measured
GSO-Bench41.2%Not measuredOnly Claude Opus 4.6 measured
WeirdML78.0%Not measuredOnly Claude Opus 4.6 measured
Cybench93.0%Not measuredOnly Claude Opus 4.6 measured
LMArena Text: coding15341432Claude Opus 4.6
LMArena Text: software and IT15271421Claude Opus 4.6
LMArena WebDev: React15391663Grok 4.7
LMArena WebDev: HTML15591627Grok 4.7
LMArena WebDev: from an image15431586Grok 4.7
Neither model has a result on the other 12 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for Claude Opus 4.6 and Grok 4.7
BenchmarkClaude Opus 4.6Grok 4.7Leader
AA Intelligence Index31.946.4Grok 4.7
Epoch Capabilities Index155.7154.4Claude Opus 4.6
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
Agentic work benchmarks for Claude Opus 4.6 and Grok 4.7
BenchmarkClaude Opus 4.6Grok 4.7Leader
Design Arena: agents building web apps1206Not measuredOnly Claude Opus 4.6 measured
Design Arena: agents building full-stack apps1220Not measuredOnly Claude Opus 4.6 measured
Design Arena: agents building mobile apps1207Not measuredOnly Claude Opus 4.6 measured
Design Arena: agents building Android apps1197Not measuredOnly Claude Opus 4.6 measured
Design Arena: agents building games1212Not measuredOnly Claude Opus 4.6 measured
LiveBench researchNot measured86.4%Only Grok 4.7 measured
LiveBench browserNot measured60.0%Only Grok 4.7 measured
LiveBench long agenticNot measured50.1%Only Grok 4.7 measured
SREBench (Vals AI)Not measured3.8%Only Grok 4.7 measured
Finance Agent (Vals AI)Not measured52.3%Only Grok 4.7 measured
Tax Agent Bench (Vals AI)Not measured34.2%Only Grok 4.7 measured
Legal Research Bench (Vals AI)Not measured47.1%Only Grok 4.7 measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured18.3%Only Grok 4.7 measured
Excel Modeling Benchmark (Vals AI)Not measured67.0%Only Grok 4.7 measured
BioMysteryBench (Vals AI)Not measured69.3%Only Grok 4.7 measured
Terminal-Bench-Science (Vals AI)Not measured10.0%Only Grok 4.7 measured
Vals Science IndexNot measured34.8%Only Grok 4.7 measured
Robo-bench (Vals AI)Not measured0.2%Only Grok 4.7 measured
τ²-Bench Telecom92.1%Not measuredOnly Claude Opus 4.6 measured
APEX-Agents46.3%54.6%Grok 4.7
METR time horizons78.9%Not measuredOnly Claude Opus 4.6 measured
Remote Labor Index4.2%Not measuredOnly Claude Opus 4.6 measured
DeepResearch Bench55.3%Not measuredOnly Claude Opus 4.6 measured
Vending-Bench 2$8,018$10,537Grok 4.7
Neither model has a result on the other 17 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index74
Reasoning benchmarks for Claude Opus 4.6 and Grok 4.7
BenchmarkClaude Opus 4.6Grok 4.7Leader
GPQA Diamond89.7%Not measuredOnly Claude Opus 4.6 measured
LiveBench reasoningNot measured82.7%Only Grok 4.7 measured
MysteryMechanism (Vals AI)Not measured25.2%Only Grok 4.7 measured
MMMU Pro (Vals AI)83.9%Not measuredOnly Claude Opus 4.6 measured
GPQA Diamond (Artificial Analysis run)89.6%Not measuredOnly Claude Opus 4.6 measured
Humanity's Last Exam (Artificial Analysis run)39.9%43.1%Grok 4.7
GPQA Diamond (Epoch AI run)90.5%92.7%Grok 4.7
ARC-AGI94.0%90.2%Claude Opus 4.6
ARC-AGI-269.2%61.4%Claude Opus 4.6
SimpleBench67.6%Not measuredOnly Claude Opus 4.6 measured
Chess puzzles21.0%41.0%Grok 4.7
Mystery game puzzles25.0%29.0%Grok 4.7
EBR-bench12.7%Not measuredOnly Claude Opus 4.6 measured
LMArena Text: hard prompts15251415Claude Opus 4.6
LMArena Text: expert15441439Claude Opus 4.6
LMArena Text: hard prompts in English15301427Claude Opus 4.6
LMArena Vision: diagrams13401254Claude Opus 4.6
LMArena Vision: homework13371309Claude Opus 4.6
Kagi LLM Benchmark83.6%Not measuredOnly Claude Opus 4.6 measured
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index51
Math benchmarks for Claude Opus 4.6 and Grok 4.7
BenchmarkClaude Opus 4.6Grok 4.7Leader
AIME95.6%Not measuredOnly Claude Opus 4.6 measured
OTIS Mock AIME94.4%98.1%Grok 4.7
FrontierMath, tiers 1 to 366.0%53.0%Claude Opus 4.6
FrontierMath, tier 426.8%17.1%Claude Opus 4.6
ProofBench50.0%26.0%Claude Opus 4.6
LMArena Text: math15181414Claude Opus 4.6
LMArena Text: mathematical work15251435Claude Opus 4.6
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index52
Knowledge benchmarks for Claude Opus 4.6 and Grok 4.7
BenchmarkClaude Opus 4.6Grok 4.7Leader
MMLU Pro89.1%Not measuredOnly Claude Opus 4.6 measured
LegalBench (Vals AI)85.3%84.4%Claude Opus 4.6
CaseLaw (Vals AI)62.1%Not measuredOnly Claude Opus 4.6 measured
CorpFin (Vals AI)67.0%Not measuredOnly Claude Opus 4.6 measured
TaxEval (Vals AI)76.0%Not measuredOnly Claude Opus 4.6 measured
MortgageTax (Vals AI)68.5%Not measuredOnly Claude Opus 4.6 measured
MedQA (Vals AI)95.4%Not measuredOnly Claude Opus 4.6 measured
MedCode (Vals AI)49.1%49.5%Grok 4.7
SimpleQA Verified47.0%56.0%Grok 4.7
LMArena Text: science15191419Claude Opus 4.6
LMArena Text: medicine and healthcare15041395Claude Opus 4.6
LMArena Text: legal and government15121423Claude Opus 4.6
LMArena Text: business and finance14971389Claude Opus 4.6
FACTS Benchmark Suite41.5%Not measuredOnly Claude Opus 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 index42
Web design benchmarks for Claude Opus 4.6 and Grok 4.7
BenchmarkClaude Opus 4.6Grok 4.7Leader
Design Arena: websites12911255Claude Opus 4.6
Design Arena: UI components12811275Claude Opus 4.6
Design Arena: game dev12771314Grok 4.7
Design Arena: data viz12791238Claude Opus 4.6
Design Arena: 3D12731274Grok 4.7
Design Arena: all code categories12881273Claude Opus 4.6
Design Arena: SVG1227Not measuredOnly Claude Opus 4.6 measured
Design Arena: ASCII art1255Not measuredOnly Claude Opus 4.6 measured
LiveBench designNot measured78.0%Only Grok 4.7 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index253
General benchmarks for Claude Opus 4.6 and Grok 4.7
BenchmarkClaude Opus 4.6Grok 4.7Leader
Vals IndexNot measured58.6%Only Grok 4.7 measured
LiveBench data analysisNot measured76.9%Only Grok 4.7 measured
Public Benefits Bench (Vals AI)Not measured65.6%Only Grok 4.7 measured
SAGE (Vals AI)51.6%40.8%Claude Opus 4.6
MedScribe (Vals AI)86.7%89.4%Grok 4.7
IFBench53.1%Not measuredOnly Claude Opus 4.6 measured
Long context reasoning (AA-LCR)78.0%80.0%Grok 4.7
DTBench91.2%96.0%Grok 4.7
LMCA55.8%49.4%Claude Opus 4.6
CL-bench20.7%Not measuredOnly Claude Opus 4.6 measured
Furniture assembly28.3%20.8%Claude Opus 4.6
CL-bench Life17.0%Not measuredOnly Claude Opus 4.6 measured
LMArena Text15011399Claude Opus 4.6
LMArena Text: instruction following15211406Claude Opus 4.6
LMArena Text: creative writing15051381Claude Opus 4.6
LMArena Vision13161231Claude Opus 4.6
LMArena Text: English15111411Claude Opus 4.6
LMArena Text: non-English14881386Claude Opus 4.6
LMArena Text: Chinese15511449Claude Opus 4.6
LMArena Text: German15001366Claude Opus 4.6
LMArena Text: Japanese14881359Claude Opus 4.6
LMArena Text: Korean14641383Claude Opus 4.6
LMArena Text: French15121431Claude Opus 4.6
LMArena Text: Spanish15101406Claude Opus 4.6
LMArena Text: Russian14971399Claude Opus 4.6
LMArena Text: Polish14991420Claude Opus 4.6
LMArena Text: multi-turn15111394Claude Opus 4.6
LMArena Text: longer queries15181416Claude Opus 4.6
LMArena Text: writing and language15021394Claude Opus 4.6
LMArena Text: entertainment and media14921376Claude Opus 4.6
LMArena Vision: English13241229Claude Opus 4.6
LMArena Vision: Chinese13701250Claude Opus 4.6
LMArena Vision: reading text13261241Claude Opus 4.6
LMArena Vision: humor1314Not measuredOnly Claude Opus 4.6 measured
LMArena Vision: recognizing things1274Not measuredOnly Claude Opus 4.6 measured
LMArena Vision: creative writing13311217Claude Opus 4.6
LMArena Document1507Not measuredOnly Claude Opus 4.6 measured
Neither model has a result on the other 9 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Opus 4.6 and Grok 4.7
BenchmarkClaude Opus 4.6Grok 4.7Leader
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

Claude Opus 4.6$0.018Fits in one request
Grok 4.7$0.0050Fits in one request

Grok 4.7 costs less

Repository review

50K input + 3K output tokens

Claude Opus 4.6$0.325Fits in one request
Grok 4.7$0.118Fits in one request

Grok 4.7 costs less

Agent loop

200K input + 10K output tokens

Claude Opus 4.6$1.25Fits in one request
Grok 4.7$0.460Fits in one request

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.

Specifications of Claude Opus 4.6 and Grok 4.7
SpecificationAnthropic Claude Opus 4.6SpaceXAI Grok 4.7
MakerAnthropicxAI
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 4, 2026September 21, 2026
Context window1M500K
Input $/Mtok$5.00$2.00
Output $/Mtok$25.00$6.00
Coding index57.266.7
Independent measurements behind it45
Cost per solved task$1.56Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Opus 4.6 better than Grok 4.7 for coding?

Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 57.2 for Claude Opus 4.6. Pick Claude Opus 4.6 for a larger context window (1M against 500K tokens) and work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Which is cheaper, Claude Opus 4.6 or Grok 4.7?

Claude Opus 4.6 costs $5.00 per million input tokens and $25.00 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for Claude Opus 4.6 only.

Which has the bigger context window, Claude Opus 4.6 or Grok 4.7?

Claude Opus 4.6, with 1M tokens against 500K.

How many benchmarks is the Claude Opus 4.6 vs Grok 4.7 comparison based on?

70 benchmarks have a result for both models as of October 22, 2026. Claude Opus 4.6's coding index rests on 4 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.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/claude-opus-4-6-vs-grok-4-7" title="Claude Opus 4.6 vs Grok 4.7, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/claude-opus-4-6-vs-grok-4-7">LLMBenchmark.ai, Claude Opus 4.6 vs Grok 4.7</a></p>