Enter opens the highlighted result. Esc closes.

Claude Opus 4.7 vs Grok 4.5

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

Claude Opus 4.7Anthropic
Coding
67.5
Overall
71.6
Output $/M
$25.00
70
Grok 4.5xAI
Coding
58.6
Overall
62.1
Output $/M
$6.00
19
vs boards won of 90 shared, 1 tied

Claude Opus 4.7 or Grok 4.5: which to pick

Pick Claude Opus 4.7 for coding: it scores 67.5 on the Vibe Coding Index against 58.6 for Grok 4.5, though on 4 benchmarks against 6.

Pick Grok 4.5 for output tokens 4.2x cheaper ($6.00 vs $25.00 per million) and a lower cost per solved task ($0.62 against $2.95).

Shared results
90
Claude Opus 4.7 only
13
Grok 4.5 only
33
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.5 58.6 from 6 benchmarks.
Widest category
Math, 9.1 points apart on average over 6 shared benchmarks.
Widest single gap
Vending-Bench 2: Claude Opus 4.7 $10,937 against Grok 4.5 $3,887, 44.1 points apart on a 0 to 100 scale.
Output price
Claude Opus 4.7 $25.00 against Grok 4.5 $6.00 per million output tokens, 4.2x apart.
Context window
Claude Opus 4.7 takes 1M tokens, Grok 4.5 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.5Ties
Coding1041 tie
Intelligence20
Agentic work63
Reasoning96
Math60
Knowledge93
General283
All shared boards70191 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index104
Coding benchmarks for Claude Opus 4.7 and Grok 4.5
BenchmarkClaude Opus 4.7Grok 4.5Leader
LiveBench codingNot measured94.3%Only Grok 4.5 measured
LMArena WebDev15581553Claude Opus 4.7
AA Coding Index73.672.4Claude Opus 4.7
LiveCodeBench (Vals AI)85.1%87.3%Grok 4.5
SWE-bench Verified (Vals AI)82.0%86.6%Grok 4.5
Terminal-Bench 4 (Vals AI)Not measured8.6%Only Grok 4.5 measured
Vibe Code Bench (Vals AI)71.0%69.0%Claude Opus 4.7
Code migration (Vals AI)43.9%36.6%Claude Opus 4.7
ProgramBench (Vals AI)0.0%0.0%Tie
IOI (Vals AI)Not measured40.6%Only Grok 4.5 measured
Terminal-Bench 2.1 (Vals AI)68.5%67.8%Claude Opus 4.7
SkillsBench (Vals AI)Not measured66.0%Only Grok 4.5 measured
CyberBench (Vals AI)Not measured71.0%Only Grok 4.5 measured
SciCodeNot measured55.0%Only Grok 4.5 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%42.4%Grok 4.5
GSO-Bench44.1%Not measuredOnly Claude Opus 4.7 measured
WeirdML76.4%46.4%Claude Opus 4.7
MirrorCode31.1%Not measuredOnly Claude Opus 4.7 measured
ALE-BenchNot measured1309.3Only Grok 4.5 measured
LMArena Text: coding15191474Claude Opus 4.7
LMArena Text: software and IT15161471Claude Opus 4.7
LMArena WebDev: React15601556Claude Opus 4.7
LMArena WebDev: HTML15541567Grok 4.5
LMArena WebDev: from an image15771562Claude Opus 4.7
SciCodeNot measured6.5%Only Grok 4.5 measured
Neither model has a result on the other 12 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Claude Opus 4.7 and Grok 4.5
BenchmarkClaude Opus 4.7Grok 4.5Leader
AA Intelligence Index40.738.8Claude Opus 4.7
Epoch Capabilities Index156.8154.1Claude Opus 4.7
Agentic workLike-for-likePublic boards, shown as published, kept out of the index63
Agentic work benchmarks for Claude Opus 4.7 and Grok 4.5
BenchmarkClaude Opus 4.7Grok 4.5Leader
AA Agentic Index38.641.2Grok 4.5
Design Arena: agents building web appsNot measured1218Only Grok 4.5 measured
Design Arena: agents building full-stack appsNot measured1249Only Grok 4.5 measured
Design Arena: agents building mobile appsNot measured1220Only Grok 4.5 measured
Design Arena: agents building Android appsNot measured1236Only Grok 4.5 measured
Design Arena: agents building Godot gamesNot measured1229Only Grok 4.5 measured
Design Arena: agents building gamesNot measured1236Only Grok 4.5 measured
Design Arena: HTML slidesNot measured1205Only Grok 4.5 measured
Design Arena: PowerPoint slidesNot measured1230Only Grok 4.5 measured
LiveBench researchNot measured85.9%Only Grok 4.5 measured
LiveBench browserNot measured44.0%Only Grok 4.5 measured
LiveBench long agenticNot measured27.9%Only Grok 4.5 measured
SREBench (Vals AI)Not measured0.8%Only Grok 4.5 measured
Finance Agent (Vals AI)51.5%48.4%Claude Opus 4.7
Tax Agent Bench (Vals AI)23.7%24.9%Grok 4.5
Legal Research Bench (Vals AI)38.5%38.0%Claude Opus 4.7
Excel Modeling Benchmark (Vals AI)63.7%52.9%Claude Opus 4.7
Time Horizon Index (Vals AI)Not measured6.3%Only Grok 4.5 measured
τ²-Bench Telecom88.6%Not measuredOnly Claude Opus 4.7 measured
APEX-Agents49.2%56.2%Grok 4.5
OSWorld 2.018.2%Not measuredOnly Claude Opus 4.7 measured
PostTrainBench28.6%23.4%Claude Opus 4.7
Vending-Bench 2$10,937$3,887Claude Opus 4.7
LMArena Search12301216Claude Opus 4.7
Neither model has a result on the other 17 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index96
Reasoning benchmarks for Claude Opus 4.7 and Grok 4.5
BenchmarkClaude Opus 4.7Grok 4.5Leader
GPQA Diamond90.2%92.9%Grok 4.5
LiveBench reasoningNot measured87.2%Only Grok 4.5 measured
MMMU Pro (Vals AI)85.5%61.8%Claude Opus 4.7
GPQA Diamond (Artificial Analysis run)91.4%93.1%Grok 4.5
Humanity's Last Exam (Artificial Analysis run)42.3%42.7%Grok 4.5
GPQA Diamond (Epoch AI run)90.2%93.4%Grok 4.5
ARC-AGI93.5%87.2%Claude Opus 4.7
ARC-AGI-275.8%52.6%Claude Opus 4.7
SimpleBench61.7%70.0%Grok 4.5
Chess puzzles41.0%35.0%Claude Opus 4.7
Mystery game puzzles28.0%Not measuredOnly Claude Opus 4.7 measured
EBR-bench19.0%Not measuredOnly Claude Opus 4.7 measured
LMArena Text: hard prompts15061462Claude Opus 4.7
LMArena Text: expert15211465Claude Opus 4.7
LMArena Text: hard prompts in English15081464Claude Opus 4.7
LMArena Vision: diagrams13361304Claude Opus 4.7
LMArena Vision: homework13371295Claude Opus 4.7
Kagi LLM Benchmark80.7%83.5%Grok 4.5
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index60
Math benchmarks for Claude Opus 4.7 and Grok 4.5
BenchmarkClaude Opus 4.7Grok 4.5Leader
AIME96.3%Not measuredOnly Claude Opus 4.7 measured
OTIS Mock AIME97.8%97.8%Claude Opus 4.7
FrontierMath, tiers 1 to 370.2%57.2%Claude Opus 4.7
FrontierMath, tier 431.7%24.4%Claude Opus 4.7
ProofBench54.0%31.0%Claude Opus 4.7
LMArena Text: math14981460Claude Opus 4.7
LMArena Text: mathematical work15091482Claude 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 index93
Knowledge benchmarks for Claude Opus 4.7 and Grok 4.5
BenchmarkClaude Opus 4.7Grok 4.5Leader
MMLU Pro89.9%89.2%Claude Opus 4.7
LegalBench (Vals AI)85.3%86.0%Grok 4.5
CaseLaw (Vals AI)68.4%Not measuredOnly Claude Opus 4.7 measured
CorpFin (Vals AI)66.1%67.4%Grok 4.5
TaxEval (Vals AI)75.3%71.7%Claude Opus 4.7
MortgageTax (Vals AI)70.3%61.8%Claude Opus 4.7
MedCode (Vals AI)54.9%43.3%Claude Opus 4.7
SimpleQA Verified51.7%48.3%Claude Opus 4.7
LMArena Text: science15081464Claude Opus 4.7
LMArena Text: medicine and healthcare14951440Claude Opus 4.7
LMArena Text: legal and government15041463Claude Opus 4.7
LMArena Text: business and finance14901441Claude Opus 4.7
FACTS Benchmark Suite45.5%50.2%Grok 4.5
Neither model has a result on the other 5 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for Claude Opus 4.7 and Grok 4.5
BenchmarkClaude Opus 4.7Grok 4.5Leader
Design Arena: websitesNot measured1281Only Grok 4.5 measured
Design Arena: UI componentsNot measured1280Only Grok 4.5 measured
Design Arena: game devNot measured1264Only Grok 4.5 measured
Design Arena: data vizNot measured1266Only Grok 4.5 measured
Design Arena: 3DNot measured1257Only Grok 4.5 measured
Design Arena: all code categoriesNot measured1275Only Grok 4.5 measured
Design Arena: SVGNot measured1215Only Grok 4.5 measured
Design Arena: ASCII artNot measured1256Only Grok 4.5 measured
LiveBench designNot measured78.1%Only Grok 4.5 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index283
General benchmarks for Claude Opus 4.7 and Grok 4.5
BenchmarkClaude Opus 4.7Grok 4.5Leader
LiveBench data analysisNot measured73.0%Only Grok 4.5 measured
SAGE (Vals AI)56.1%35.0%Claude Opus 4.7
MedScribe (Vals AI)83.0%86.9%Grok 4.5
Vals Multimodal Index67.4%63.4%Claude Opus 4.7
IFBench58.6%Not measuredOnly Claude Opus 4.7 measured
Long context reasoning (AA-LCR)78.7%79.3%Grok 4.5
DTBench94.7%96.5%Grok 4.5
LMCA52.2%45.2%Claude Opus 4.7
Surface Evolver BenchNot measured74.4%Only Grok 4.5 measured
Furniture assembly33.3%22.5%Claude Opus 4.7
ExploitBench26.5%Not measuredOnly Claude Opus 4.7 measured
LMArena Text14901448Claude Opus 4.7
LMArena Text: instruction following14981445Claude Opus 4.7
LMArena Text: creative writing14861442Claude Opus 4.7
LMArena Vision13171287Claude Opus 4.7
LMArena Text: English14961453Claude Opus 4.7
LMArena Text: non-English14801440Claude Opus 4.7
LMArena Text: Chinese15311495Claude Opus 4.7
LMArena Text: German14951448Claude Opus 4.7
LMArena Text: Japanese14741430Claude Opus 4.7
LMArena Text: Korean14641406Claude Opus 4.7
LMArena Text: French15031457Claude Opus 4.7
LMArena Text: Spanish14941451Claude Opus 4.7
LMArena Text: Russian14941449Claude Opus 4.7
LMArena Text: Polish14891432Claude Opus 4.7
LMArena Text: multi-turn15051456Claude Opus 4.7
LMArena Text: longer queries15051462Claude Opus 4.7
LMArena Text: writing and language14921445Claude Opus 4.7
LMArena Text: entertainment and media14741434Claude Opus 4.7
LMArena Vision: English13221285Claude Opus 4.7
LMArena Vision: Chinese13711345Claude Opus 4.7
LMArena Vision: reading text13271293Claude Opus 4.7
LMArena Vision: humor13091276Claude Opus 4.7
LMArena Vision: recognizing things1278Not measuredOnly Claude Opus 4.7 measured
LMArena Vision: creative writing13261293Claude Opus 4.7
LMArena Document14951452Claude Opus 4.7
Neither model has a result on the other 10 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.5
BenchmarkClaude Opus 4.7Grok 4.5Leader
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.5$0.0050Fits in one request

Grok 4.5 costs less

Repository review

50K input + 3K output tokens

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

Grok 4.5 costs less

Agent loop

200K input + 10K output tokens

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

Grok 4.5 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.5
SpecificationAnthropic Claude Opus 4.7SpaceXAI Grok 4.5
MakerAnthropicxAI
WeightsNo public weights listedNo public weights listed
ReleasedApril 16, 2026July 8, 2026
Context window1M500K
Input $/Mtok$5.00$2.00
Output $/Mtok$25.00$6.00
Coding index67.558.6
Independent measurements behind it46
Cost per solved task$2.95$0.62
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Opus 4.7 better than Grok 4.5 for coding?

Pick Claude Opus 4.7 for coding: it scores 67.5 on the Vibe Coding Index against 58.6 for Grok 4.5, though on 4 benchmarks against 6. Pick Grok 4.5 for output tokens 4.2x cheaper ($6.00 vs $25.00 per million) and a lower cost per solved task ($0.62 against $2.95).

Which is cheaper, Claude Opus 4.7 or Grok 4.5?

Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; Grok 4.5 costs $2.00 and $6.00. Per solved SWE-bench Verified task, Claude Opus 4.7 costs $2.95 and Grok 4.5 $0.62.

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

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

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

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