Enter opens the highlighted result. Esc closes.

Claude Opus 4.7 vs Grok 4.7

Claude Opus 4.7 leads Grok 4.7 on coding, 67.5 to 66.7 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 21, 2026; 71 benchmarks have a result for both.

Claude Opus 4.7Anthropic
Coding
67.5
Overall
71.6
Output $/M
$25.00
47
Grok 4.7xAI
Coding
66.7
Overall
66.6
Output $/M
$6.00
23
vs boards won of 71 shared, 1 tied

Claude Opus 4.7 or Grok 4.7: which to pick

Claude Opus 4.7 and Grok 4.7 are level for coding, 67.5 against 66.7 on the Vibe Coding Index, so price and context decide.

Pick Grok 4.7 for output tokens 4.2x cheaper ($6.00 vs $25.00 per million) and work measured by LMArena WebDev or Vibe Code Bench (Vals AI), where it leads. Pick Claude Opus 4.7 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
71
Claude Opus 4.7 only
32
Grok 4.7 only
28
Like-for-like categories
7 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.7 67.5 from 4 benchmarks, Grok 4.7 66.7 from 5 benchmarks.
Widest category
Math, 14.4 points apart on average over 6 shared benchmarks.
Widest single gap
ProofBench: Claude Opus 4.7 54.0% against Grok 4.7 26.0%, 28.0 points apart on a 0 to 100 scale.
Output price
Claude Opus 4.7 $25.00 against Grok 4.7 $6.00 per million output tokens, 4.2x apart.
Context window
Claude Opus 4.7 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.7BarsGrok 4.7Ties
Coding29
Intelligence11
Agentic work15
Reasoning731 tie
Math51
Knowledge61
General253
All shared boards47231 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index29
Coding benchmarks for Claude Opus 4.7 and Grok 4.7
BenchmarkClaude Opus 4.7Grok 4.7Leader
LiveBench codingNot measured84.5%Only Grok 4.7 measured
LMArena WebDev15581637Grok 4.7
AA Coding Index73.6Not measuredOnly Claude Opus 4.7 measured
LiveCodeBench (Vals AI)85.1%Not measuredOnly Claude Opus 4.7 measured
SWE-bench Verified (Vals AI)82.0%Not measuredOnly Claude Opus 4.7 measured
Terminal-Bench 4 (Vals AI)Not measured28.8%Only Grok 4.7 measured
Vibe Code Bench (Vals AI)71.0%86.2%Grok 4.7
Code migration (Vals AI)43.9%44.8%Grok 4.7
ProgramBench (Vals AI)0.0%0.5%Grok 4.7
IOI (Vals AI)Not measured57.7%Only Grok 4.7 measured
Terminal-Bench 2.1 (Vals AI)68.5%73.4%Grok 4.7
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)54.5%Not measuredOnly Claude Opus 4.7 measured
Terminal-Bench80.2%Not measuredOnly Claude Opus 4.7 measured
FrontierCode38.5%47.6%Grok 4.7
FrontierSWENot measured29.5%Only Grok 4.7 measured
GSO-Bench44.1%Not measuredOnly Claude Opus 4.7 measured
WeirdML76.4%Not measuredOnly Claude Opus 4.7 measured
MirrorCode31.1%Not measuredOnly Claude Opus 4.7 measured
LMArena Text: coding15191432Claude Opus 4.7
LMArena Text: software and IT15161421Claude Opus 4.7
LMArena WebDev: React15601663Grok 4.7
LMArena WebDev: HTML15541627Grok 4.7
LMArena WebDev: from an image15771586Grok 4.7
Neither model has a result on the other 13 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for Claude Opus 4.7 and Grok 4.7
BenchmarkClaude Opus 4.7Grok 4.7Leader
AA Intelligence Index40.746.4Grok 4.7
Epoch Capabilities Index156.8154.4Claude Opus 4.7
Agentic workLike-for-likePublic boards, shown as published, kept out of the index15
Agentic work benchmarks for Claude Opus 4.7 and Grok 4.7
BenchmarkClaude Opus 4.7Grok 4.7Leader
AA Agentic Index38.6Not measuredOnly Claude Opus 4.7 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)51.5%52.3%Grok 4.7
Tax Agent Bench (Vals AI)23.7%34.2%Grok 4.7
Legal Research Bench (Vals AI)38.5%47.1%Grok 4.7
Harvey's Legal Agent Benchmark (Vals AI)Not measured18.3%Only Grok 4.7 measured
Excel Modeling Benchmark (Vals AI)63.7%67.0%Grok 4.7
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 Telecom88.6%Not measuredOnly Claude Opus 4.7 measured
APEX-Agents49.2%54.6%Grok 4.7
OSWorld 2.018.2%Not measuredOnly Claude Opus 4.7 measured
PostTrainBench28.6%Not measuredOnly Claude Opus 4.7 measured
Vending-Bench 2$10,937$10,537Claude Opus 4.7
LMArena Search1230Not measuredOnly Claude Opus 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 index73
Reasoning benchmarks for Claude Opus 4.7 and Grok 4.7
BenchmarkClaude Opus 4.7Grok 4.7Leader
GPQA Diamond90.2%Not measuredOnly Claude Opus 4.7 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)85.5%Not measuredOnly Claude Opus 4.7 measured
GPQA Diamond (Artificial Analysis run)91.4%Not measuredOnly Claude Opus 4.7 measured
Humanity's Last Exam (Artificial Analysis run)42.3%43.1%Grok 4.7
GPQA Diamond (Epoch AI run)90.2%92.7%Grok 4.7
ARC-AGI93.5%90.2%Claude Opus 4.7
ARC-AGI-275.8%61.4%Claude Opus 4.7
SimpleBench61.7%Not measuredOnly Claude Opus 4.7 measured
Chess puzzles41.0%41.0%Tie
Mystery game puzzles28.0%29.0%Grok 4.7
EBR-bench19.0%Not measuredOnly Claude Opus 4.7 measured
LMArena Text: hard prompts15061415Claude Opus 4.7
LMArena Text: expert15211439Claude Opus 4.7
LMArena Text: hard prompts in English15081427Claude Opus 4.7
LMArena Vision: diagrams13361254Claude Opus 4.7
LMArena Vision: homework13371309Claude Opus 4.7
Kagi LLM Benchmark80.7%Not measuredOnly Claude Opus 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 index51
Math benchmarks for Claude Opus 4.7 and Grok 4.7
BenchmarkClaude Opus 4.7Grok 4.7Leader
AIME96.3%Not measuredOnly Claude Opus 4.7 measured
OTIS Mock AIME97.8%98.1%Grok 4.7
FrontierMath, tiers 1 to 370.2%53.0%Claude Opus 4.7
FrontierMath, tier 431.7%17.1%Claude Opus 4.7
ProofBench54.0%26.0%Claude Opus 4.7
LMArena Text: math14981414Claude Opus 4.7
LMArena Text: mathematical work15091435Claude Opus 4.7
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index61
Knowledge benchmarks for Claude Opus 4.7 and Grok 4.7
BenchmarkClaude Opus 4.7Grok 4.7Leader
MMLU Pro89.9%Not measuredOnly Claude Opus 4.7 measured
LegalBench (Vals AI)85.3%84.4%Claude Opus 4.7
CaseLaw (Vals AI)68.4%Not measuredOnly Claude Opus 4.7 measured
CorpFin (Vals AI)66.1%Not measuredOnly Claude Opus 4.7 measured
TaxEval (Vals AI)75.3%Not measuredOnly Claude Opus 4.7 measured
MortgageTax (Vals AI)70.3%Not measuredOnly Claude Opus 4.7 measured
MedCode (Vals AI)54.9%49.5%Claude Opus 4.7
SimpleQA Verified51.7%56.0%Grok 4.7
LMArena Text: science15081419Claude Opus 4.7
LMArena Text: medicine and healthcare14951395Claude Opus 4.7
LMArena Text: legal and government15041423Claude Opus 4.7
LMArena Text: business and finance14901389Claude Opus 4.7
FACTS Benchmark Suite45.5%Not measuredOnly Claude Opus 4.7 measured
Neither model has a result on the other 5 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Web design benchmarks for Claude Opus 4.7 and Grok 4.7
BenchmarkClaude Opus 4.7Grok 4.7Leader
Design Arena: websitesNot measured1254Only Grok 4.7 measured
Design Arena: UI componentsNot measured1275Only Grok 4.7 measured
Design Arena: game devNot measured1313Only Grok 4.7 measured
Design Arena: data vizNot measured1235Only Grok 4.7 measured
Design Arena: 3DNot measured1270Only Grok 4.7 measured
Design Arena: all code categoriesNot measured1271Only Grok 4.7 measured
LiveBench designNot measured78.0%Only Grok 4.7 measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index253
General benchmarks for Claude Opus 4.7 and Grok 4.7
BenchmarkClaude Opus 4.7Grok 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)56.1%40.8%Claude Opus 4.7
MedScribe (Vals AI)83.0%89.4%Grok 4.7
Vals Multimodal Index67.4%Not measuredOnly Claude Opus 4.7 measured
IFBench58.6%Not measuredOnly Claude Opus 4.7 measured
Long context reasoning (AA-LCR)78.7%80.0%Grok 4.7
DTBench94.7%96.0%Grok 4.7
LMCA52.2%49.4%Claude Opus 4.7
Furniture assembly33.3%20.8%Claude Opus 4.7
ExploitBench26.5%Not measuredOnly Claude Opus 4.7 measured
LMArena Text14901399Claude Opus 4.7
LMArena Text: instruction following14981406Claude Opus 4.7
LMArena Text: creative writing14861381Claude Opus 4.7
LMArena Vision13171231Claude Opus 4.7
LMArena Text: English14961411Claude Opus 4.7
LMArena Text: non-English14801386Claude Opus 4.7
LMArena Text: Chinese15311449Claude Opus 4.7
LMArena Text: German14951366Claude Opus 4.7
LMArena Text: Japanese14741359Claude Opus 4.7
LMArena Text: Korean14641383Claude Opus 4.7
LMArena Text: French15031431Claude Opus 4.7
LMArena Text: Spanish14941406Claude Opus 4.7
LMArena Text: Russian14941399Claude Opus 4.7
LMArena Text: Polish14891420Claude Opus 4.7
LMArena Text: multi-turn15051394Claude Opus 4.7
LMArena Text: longer queries15051416Claude Opus 4.7
LMArena Text: writing and language14921394Claude Opus 4.7
LMArena Text: entertainment and media14741376Claude Opus 4.7
LMArena Vision: English13221229Claude Opus 4.7
LMArena Vision: Chinese13711250Claude Opus 4.7
LMArena Vision: reading text13271241Claude Opus 4.7
LMArena Vision: humor1309Not measuredOnly Claude Opus 4.7 measured
LMArena Vision: recognizing things1278Not measuredOnly Claude Opus 4.7 measured
LMArena Vision: creative writing13261217Claude Opus 4.7
LMArena Document1495Not measuredOnly Claude Opus 4.7 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.7 and Grok 4.7
BenchmarkClaude Opus 4.7Grok 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.7$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.7$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.7$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.7 and Grok 4.7
SpecificationAnthropic Claude Opus 4.7SpaceXAI Grok 4.7
MakerAnthropicxAI
WeightsNo public weights listedNo public weights listed
ReleasedApril 16, 2026September 21, 2026
Context window1M500K
Input $/Mtok$5.00$2.00
Output $/Mtok$25.00$6.00
Coding index67.566.7
Independent measurements behind it45
Cost per solved task$2.95Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Opus 4.7 better than Grok 4.7 for coding?

Claude Opus 4.7 and Grok 4.7 are level for coding, 67.5 against 66.7 on the Vibe Coding Index, so price and context decide. Pick Grok 4.7 for output tokens 4.2x cheaper ($6.00 vs $25.00 per million) and work measured by LMArena WebDev or Vibe Code Bench (Vals AI), where it leads. Pick Claude Opus 4.7 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.7 or Grok 4.7?

Claude Opus 4.7 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.7 only.

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

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

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

71 benchmarks have a result for both models as of October 21, 2026. Claude Opus 4.7'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-7-vs-grok-4-7" title="Claude Opus 4.7 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-7-vs-grok-4-7">LLMBenchmark.ai, Claude Opus 4.7 vs Grok 4.7</a></p>