Enter opens the highlighted result. Esc closes.

Claude Opus 4.5 vs Grok 4.7

Grok 4.7 leads Claude Opus 4.5 on coding, 66.7 to 44.0 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; 60 benchmarks have a result for both.

Claude Opus 4.5Anthropic
Coding
44.0
Overall
55.7
Output $/M
$25.00
33
Grok 4.7xAI
Coding
66.7
Overall
66.6
Output $/M
$6.00
27
vs boards won of 60 shared

Claude Opus 4.5 or Grok 4.7: which to pick

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

Pick Claude Opus 4.5 for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Shared results
60
Claude Opus 4.5 only
48
Grok 4.7 only
39
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.5 44.0 from 3 benchmarks, Grok 4.7 66.7 from 5 benchmarks.
Widest category
Agentic work, 34.8 points apart on average over 1 shared benchmark.
Widest single gap
Vibe Code Bench (Vals AI): Claude Opus 4.5 20.6% against Grok 4.7 86.2%, 65.5 points apart on a 0 to 100 scale.
Output price
Claude Opus 4.5 $25.00 against Grok 4.7 $6.00 per million output tokens, 4.2x apart.
Context window
Claude Opus 4.5 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.

Boards won, where both have a result
CategoryClaude Opus 4.5BarsGrok 4.7Ties
Coding24
Intelligence02
Agentic work01
Reasoning36
Math33
Knowledge52
Web design15
General194
All shared boards3327
CodingLike-for-likeSix of these boards feed the Vibe Coding Index24
Coding benchmarks for Claude Opus 4.5 and Grok 4.7
BenchmarkClaude Opus 4.5Grok 4.7Leader
SWE-bench Verified79.2%Not measuredOnly Claude Opus 4.5 measured
SWE-bench (full test set)52.6%Not measuredOnly Claude Opus 4.5 measured
SWE-bench Multilingual70.7%Not measuredOnly Claude Opus 4.5 measured
LiveBench codingNot measured84.5%Only Grok 4.7 measured
LMArena WebDev14941637Grok 4.7
LiveCodeBench (Vals AI)83.7%Not measuredOnly Claude Opus 4.5 measured
SWE-bench Verified (Vals AI)76.4%Not measuredOnly Claude Opus 4.5 measured
Terminal-Bench 4 (Vals AI)Not measured28.8%Only Grok 4.7 measured
Vibe Code Bench (Vals AI)20.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
LiveCodeBench (Artificial Analysis run)87.1%Not measuredOnly Claude Opus 4.5 measured
SciCodeNot measured57.8%Only Grok 4.7 measured
Terminal-Bench Hard (Artificial Analysis run)47.0%Not measuredOnly Claude Opus 4.5 measured
Terminal-Bench63.1%Not measuredOnly Claude Opus 4.5 measured
FrontierCodeNot measured47.6%Only Grok 4.7 measured
FrontierSWENot measured29.5%Only Grok 4.7 measured
GSO-Bench26.5%Not measuredOnly Claude Opus 4.5 measured
WeirdML63.7%Not measuredOnly Claude Opus 4.5 measured
Cybench82.0%Not measuredOnly Claude Opus 4.5 measured
LMArena Text: coding15031432Claude Opus 4.5
LMArena Text: software and IT14831421Claude Opus 4.5
LMArena WebDev: React14781663Grok 4.7
LMArena WebDev: HTML15101627Grok 4.7
LMArena WebDev: from an imageNot measured1586Only Grok 4.7 measured
Neither model has a result on the other 10 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Claude Opus 4.5 and Grok 4.7
BenchmarkClaude Opus 4.5Grok 4.7Leader
AA Intelligence Index29.146.4Grok 4.7
Epoch Capabilities Index150.1154.4Grok 4.7
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Claude Opus 4.5 and Grok 4.7
BenchmarkClaude Opus 4.5Grok 4.7Leader
Design Arena: agents building web apps1159Not measuredOnly Claude Opus 4.5 measured
Design Arena: agents building full-stack apps1156Not measuredOnly Claude Opus 4.5 measured
Design Arena: agents building mobile apps1189Not measuredOnly Claude Opus 4.5 measured
Design Arena: agents building Android apps1176Not measuredOnly Claude Opus 4.5 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 Telecom89.5%Not measuredOnly Claude Opus 4.5 measured
APEX-AgentsNot measured54.6%Only Grok 4.7 measured
METR time horizons75.0%Not measuredOnly Claude Opus 4.5 measured
Remote Labor Index3.8%Not measuredOnly Claude Opus 4.5 measured
GDPval45.5%Not measuredOnly Claude Opus 4.5 measured
BALROG43.5%Not measuredOnly Claude Opus 4.5 measured
DeepResearch Bench54.8%Not measuredOnly Claude Opus 4.5 measured
OSWorld66.3%Not measuredOnly Claude Opus 4.5 measured
Vending-Bench 2$4,967$10,537Grok 4.7
Berkeley Function Calling Leaderboard (BFCL)77.5%Not measuredOnly Claude Opus 4.5 measured
Neither model has a result on the other 14 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index36
Reasoning benchmarks for Claude Opus 4.5 and Grok 4.7
BenchmarkClaude Opus 4.5Grok 4.7Leader
GPQA Diamond85.9%Not measuredOnly Claude Opus 4.5 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.0%Not measuredOnly Claude Opus 4.5 measured
GPQA Diamond (Artificial Analysis run)86.6%Not measuredOnly Claude Opus 4.5 measured
Humanity's Last Exam (Artificial Analysis run)30.1%43.1%Grok 4.7
GPQA Diamond (Epoch AI run)86.0%92.7%Grok 4.7
ARC-AGI80.0%90.2%Grok 4.7
ARC-AGI-237.6%61.4%Grok 4.7
SimpleBench62.0%Not measuredOnly Claude Opus 4.5 measured
Chess puzzles14.0%41.0%Grok 4.7
Mystery game puzzles22.0%29.0%Grok 4.7
EBR-bench14.3%Not measuredOnly Claude Opus 4.5 measured
VPCT40.0%Not measuredOnly Claude Opus 4.5 measured
LMArena Text: hard prompts14761415Claude Opus 4.5
LMArena Text: expert14871439Claude Opus 4.5
LMArena Text: hard prompts in English14821427Claude Opus 4.5
LMArena Vision: diagramsNot measured1254Only Grok 4.7 measured
LMArena Vision: homeworkNot measured1309Only Grok 4.7 measured
Kagi LLM Benchmark80.2%Not measuredOnly Claude Opus 4.5 measured
Neither model has a result on the other 2 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index33
Math benchmarks for Claude Opus 4.5 and Grok 4.7
BenchmarkClaude Opus 4.5Grok 4.7Leader
AIME95.4%Not measuredOnly Claude Opus 4.5 measured
MGSM (Vals AI)95.2%Not measuredOnly Claude Opus 4.5 measured
AA Math Index91.3Not measuredOnly Claude Opus 4.5 measured
AIME 2025 (Artificial Analysis run)91.3%Not measuredOnly Claude Opus 4.5 measured
OTIS Mock AIME86.1%98.1%Grok 4.7
FrontierMath, tiers 1 to 334.4%53.0%Grok 4.7
FrontierMath, tier 44.9%17.1%Grok 4.7
ProofBench36.0%26.0%Claude Opus 4.5
LMArena Text: math14631414Claude Opus 4.5
LMArena Text: mathematical work14681435Claude Opus 4.5
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index52
Knowledge benchmarks for Claude Opus 4.5 and Grok 4.7
BenchmarkClaude Opus 4.5Grok 4.7Leader
MMLU Pro87.3%Not measuredOnly Claude Opus 4.5 measured
LegalBench (Vals AI)84.6%84.4%Claude Opus 4.5
CaseLaw (Vals AI)62.6%Not measuredOnly Claude Opus 4.5 measured
CorpFin (Vals AI)65.1%Not measuredOnly Claude Opus 4.5 measured
TaxEval (Vals AI)74.9%Not measuredOnly Claude Opus 4.5 measured
MortgageTax (Vals AI)68.7%Not measuredOnly Claude Opus 4.5 measured
MedQA (Vals AI)95.9%Not measuredOnly Claude Opus 4.5 measured
MedCode (Vals AI)49.2%49.5%Grok 4.7
MMLU Pro (Artificial Analysis run)89.5%Not measuredOnly Claude Opus 4.5 measured
SimpleQA Verified45.7%56.0%Grok 4.7
GeoBench75.0%Not measuredOnly Claude Opus 4.5 measured
LMArena Text: science14541419Claude Opus 4.5
LMArena Text: medicine and healthcare14441395Claude Opus 4.5
LMArena Text: legal and government14591423Claude Opus 4.5
LMArena Text: business and finance14481389Claude Opus 4.5
FACTS Benchmark Suite43.9%Not measuredOnly Claude Opus 4.5 measured
Neither model has a result on the other 2 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index15
Web design benchmarks for Claude Opus 4.5 and Grok 4.7
BenchmarkClaude Opus 4.5Grok 4.7Leader
Design Arena: websites12471255Grok 4.7
Design Arena: UI components12351275Grok 4.7
Design Arena: game dev12281314Grok 4.7
Design Arena: data viz12431238Claude Opus 4.5
Design Arena: 3D12131274Grok 4.7
Design Arena: all code categories12421273Grok 4.7
Design Arena: SVG1180Not measuredOnly Claude Opus 4.5 measured
Design Arena: ASCII art1190Not measuredOnly Claude Opus 4.5 measured
LiveBench designNot measured78.0%Only Grok 4.7 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index194
General benchmarks for Claude Opus 4.5 and Grok 4.7
BenchmarkClaude Opus 4.5Grok 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)52.1%40.8%Claude Opus 4.5
MedScribe (Vals AI)85.3%89.4%Grok 4.7
IFBench58.0%Not measuredOnly Claude Opus 4.5 measured
Long context reasoning (AA-LCR)77.3%80.0%Grok 4.7
DTBench89.9%96.0%Grok 4.7
LMCA44.5%49.4%Grok 4.7
CL-bench21.1%Not measuredOnly Claude Opus 4.5 measured
Furniture assembly28.3%20.8%Claude Opus 4.5
LMArena Text14511399Claude Opus 4.5
LMArena Text: instruction following14781406Claude Opus 4.5
LMArena Text: creative writing14451381Claude Opus 4.5
LMArena VisionNot measured1231Only Grok 4.7 measured
LMArena Text: English14611411Claude Opus 4.5
LMArena Text: non-English14381386Claude Opus 4.5
LMArena Text: Chinese14701449Claude Opus 4.5
LMArena Text: German14491366Claude Opus 4.5
LMArena Text: Japanese14171359Claude Opus 4.5
LMArena Text: Korean14241383Claude Opus 4.5
LMArena Text: French14711431Claude Opus 4.5
LMArena Text: Spanish14571406Claude Opus 4.5
LMArena Text: Russian14471399Claude Opus 4.5
LMArena Text: Polish14391420Claude Opus 4.5
LMArena Text: multi-turn14661394Claude Opus 4.5
LMArena Text: longer queries14791416Claude Opus 4.5
LMArena Text: writing and language14521394Claude Opus 4.5
LMArena Text: entertainment and media14341376Claude Opus 4.5
LMArena Vision: EnglishNot measured1229Only Grok 4.7 measured
LMArena Vision: ChineseNot measured1250Only Grok 4.7 measured
LMArena Vision: reading textNot measured1241Only Grok 4.7 measured
LMArena Vision: creative writingNot measured1217Only Grok 4.7 measured
LMArena Document1462Not measuredOnly Claude Opus 4.5 measured
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
Image generation benchmarks for Claude Opus 4.5 and Grok 4.7
BenchmarkClaude Opus 4.5Grok 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.5$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.5$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.5$1.25Exceeds the context window
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.5 and Grok 4.7
SpecificationAnthropic Claude Opus 4.5SpaceXAI Grok 4.7
MakerAnthropicxAI
WeightsNo public weights listedNo public weights listed
ReleasedNovember 24, 2025September 21, 2026
Context window200K500K
Input $/Mtok$5.00$2.00
Output $/Mtok$25.00$6.00
Coding index44.066.7
Independent measurements behind it35
Cost per solved task$1.37Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Opus 4.5 better than Grok 4.7 for coding?

Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 44.0 for Claude Opus 4.5. Pick Claude Opus 4.5 for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Which is cheaper, Claude Opus 4.5 or Grok 4.7?

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

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

Grok 4.7, with 500K tokens against 200K.

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

60 benchmarks have a result for both models as of October 22, 2026. Claude Opus 4.5's coding index rests on 3 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-5-vs-grok-4-7" title="Claude Opus 4.5 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-5-vs-grok-4-7">LLMBenchmark.ai, Claude Opus 4.5 vs Grok 4.7</a></p>