LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

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.

Claude Opus 4.1Anthropic
Coding
27.2
Overall
22.8
Output $/M
$75.00
22
Grok 4.7xAI
Coding
75.0
Overall
46.4
Output $/M
$6.00
27
vs boards won of 49 shared

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.

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.

Boards won, where both have a result
CategoryClaude Opus 4.1BarsGrok 4.7Ties
Coding22
Intelligence02
Reasoning23
Math14
Knowledge33
Web design06
General147
All shared boards2227
CodingLike-for-likeFour of these boards feed the Vibe Coding Index22
Coding benchmarks for Claude Opus 4.1 and Grok 4.7
BenchmarkClaude Opus 4.1Grok 4.7Leader
LiveBench codingNot measured84.5%Only Grok 4.7 measured
LMArena WebDev13901637Grok 4.7
LiveCodeBench (Vals AI)66.5%Not measuredOnly Claude Opus 4.1 measured
Terminal-Bench 4 (Vals AI)Not measured28.8%Only Grok 4.7 measured
Vibe Code Bench (Vals AI)Not measured86.2%Only Grok 4.7 measured
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-Bench38.0%Not measuredOnly Claude Opus 4.1 measured
FrontierCodeNot measured47.6%Only Grok 4.7 measured
FrontierSWENot measured29.5%Only Grok 4.7 measured
WeirdML45.9%Not measuredOnly Claude Opus 4.1 measured
Cybench42.0%Not measuredOnly Claude Opus 4.1 measured
LMArena Text: coding14791432Claude Opus 4.1
LMArena Text: software and IT14561421Claude Opus 4.1
LMArena WebDev: ReactNot measured1663Only Grok 4.7 measured
LMArena WebDev: HTML13991627Grok 4.7
LMArena WebDev: from an imageNot measured1586Only 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
Intelligence benchmarks for Claude Opus 4.1 and Grok 4.7
BenchmarkClaude Opus 4.1Grok 4.7Leader
AA Intelligence Index22.846.4Grok 4.7
Epoch Capabilities Index144.1154.4Grok 4.7
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index18 boards, none shared
Agentic work benchmarks for Claude Opus 4.1 and Grok 4.7
BenchmarkClaude Opus 4.1Grok 4.7Leader
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
APEX-AgentsNot measured54.6%Only Grok 4.7 measured
METR time horizons66.8%Not measuredOnly Claude Opus 4.1 measured
GDPval43.6%Not measuredOnly Claude Opus 4.1 measured
DeepResearch Bench48.3%Not measuredOnly Claude Opus 4.1 measured
Vending-Bench 2Not measured$10,537Only 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
Reasoning benchmarks for Claude Opus 4.1 and Grok 4.7
BenchmarkClaude Opus 4.1Grok 4.7Leader
GPQA Diamond76.3%Not measuredOnly Claude Opus 4.1 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)77.5%Not measuredOnly Claude Opus 4.1 measured
Humanity's Last Exam (Artificial Analysis run)Not measured43.1%Only Grok 4.7 measured
GPQA Diamond (Epoch AI run)77.3%92.7%Grok 4.7
ARC-AGINot measured90.2%Only Grok 4.7 measured
ARC-AGI-2Not measured61.4%Only Grok 4.7 measured
SimpleBench60.0%Not measuredOnly Claude Opus 4.1 measured
Chess puzzlesNot measured41.0%Only Grok 4.7 measured
Mystery game puzzles21.0%29.0%Grok 4.7
EBR-bench7.9%Not measuredOnly Claude Opus 4.1 measured
VPCT35.0%Not measuredOnly Claude Opus 4.1 measured
LMArena Text: hard prompts14421415Claude Opus 4.1
LMArena Text: expert14381439Grok 4.7
LMArena Text: hard prompts in English14511427Claude Opus 4.1
LMArena Vision: diagramsNot measured1254Only Grok 4.7 measured
LMArena Vision: homeworkNot measured1309Only 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
Math benchmarks for Claude Opus 4.1 and Grok 4.7
BenchmarkClaude Opus 4.1Grok 4.7Leader
AIME78.2%Not measuredOnly Claude Opus 4.1 measured
MATH 500 (Vals AI)95.4%Not measuredOnly Claude Opus 4.1 measured
MGSM (Vals AI)94.4%Not measuredOnly Claude Opus 4.1 measured
OTIS Mock AIME68.9%98.1%Grok 4.7
FrontierMath, tiers 1 to 312.6%53.0%Grok 4.7
FrontierMath, tier 42.4%17.1%Grok 4.7
ProofBenchNot measured26.0%Only Grok 4.7 measured
LMArena Text: math14311414Claude Opus 4.1
LMArena Text: mathematical work14341435Grok 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
Knowledge benchmarks for Claude Opus 4.1 and Grok 4.7
BenchmarkClaude Opus 4.1Grok 4.7Leader
MMLU Pro87.9%Not measuredOnly Claude Opus 4.1 measured
LegalBench (Vals AI)83.5%84.4%Grok 4.7
TaxEval (Vals AI)73.7%Not measuredOnly Claude Opus 4.1 measured
MortgageTax (Vals AI)61.1%Not measuredOnly Claude Opus 4.1 measured
MedQA (Vals AI)93.6%Not measuredOnly Claude Opus 4.1 measured
MedCode (Vals AI)47.2%49.5%Grok 4.7
SimpleQA VerifiedNot measured56.0%Only Grok 4.7 measured
LMArena Text: science14221419Claude Opus 4.1
LMArena Text: medicine and healthcare14161395Claude Opus 4.1
LMArena Text: legal and government14211423Grok 4.7
LMArena Text: business and finance14061389Claude 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
Web design benchmarks for Claude Opus 4.1 and Grok 4.7
BenchmarkClaude Opus 4.1Grok 4.7Leader
Design Arena: websites11771255Grok 4.7
Design Arena: UI components11641271Grok 4.7
Design Arena: game dev11721314Grok 4.7
Design Arena: data viz11661227Grok 4.7
Design Arena: 3D11531269Grok 4.7
Design Arena: all code categories11711271Grok 4.7
Design Arena: SVG1152Not measuredOnly Claude Opus 4.1 measured
Design Arena: ASCII art1167Not measuredOnly Claude Opus 4.1 measured
LiveBench designNot measured78.0%Only Grok 4.7 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index147
General benchmarks for Claude Opus 4.1 and Grok 4.7
BenchmarkClaude Opus 4.1Grok 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)31.4%40.8%Grok 4.7
MedScribe (Vals AI)73.9%89.4%Grok 4.7
Long context reasoning (AA-LCR)Not measured80.0%Only Grok 4.7 measured
DTBench80.0%96.0%Grok 4.7
LMCA37.1%49.4%Grok 4.7
Creative writing (Lech Mazur)84.7%Not measuredOnly Claude Opus 4.1 measured
Furniture assemblyNot measured20.8%Only Grok 4.7 measured
LMArena Text14191399Claude Opus 4.1
LMArena Text: instruction following14351406Claude Opus 4.1
LMArena Text: creative writing14121381Claude Opus 4.1
LMArena VisionNot measured1231Only Grok 4.7 measured
LMArena Text: English14331411Claude Opus 4.1
LMArena Text: non-English14051386Claude Opus 4.1
LMArena Text: Chinese14271449Grok 4.7
LMArena Text: German14131366Claude Opus 4.1
LMArena Text: Japanese13771359Claude Opus 4.1
LMArena Text: Korean13811383Grok 4.7
LMArena Text: French14331431Claude Opus 4.1
LMArena Text: Spanish14481406Claude Opus 4.1
LMArena Text: Russian14221399Claude Opus 4.1
LMArena Text: Polish14131420Grok 4.7
LMArena Text: multi-turn14441394Claude Opus 4.1
LMArena Text: longer queries14551416Claude Opus 4.1
LMArena Text: writing and language14181394Claude Opus 4.1
LMArena Text: entertainment and media13981376Claude Opus 4.1
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
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
Image generation benchmarks for Claude Opus 4.1 and Grok 4.7
BenchmarkClaude Opus 4.1Grok 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.1$0.052Fits 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.1$0.975Fits 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.1$3.75Exceeds 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.1 and Grok 4.7
SpecificationAnthropic Claude Opus 4.1SpaceXAI Grok 4.7
MakerAnthropicxAI
WeightsNo public weights listedNo public weights listed
ReleasedAugust 5, 2025September 21, 2026
Context window200K500K
Input $/Mtok$15.00$2.00
Output $/Mtok$75.00$6.00
Coding index27.275.0
Independent measurements behind it12
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter 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.

Compare next