Enter opens the highlighted result. Esc closes.

Claude Sonnet 5.5 vs Grok 4.7

Claude Sonnet 5.5 leads Grok 4.7 on coding, 87.3 to 66.7 on the Vibe Coding Index, and Grok 4.7 costs 1.7x less per output token ($6.00 vs $10.00 per million). Updated October 22, 2026; 90 benchmarks have a result for both.

Claude Sonnet 5.5Anthropic
Coding
87.3
Overall
82.8
Output $/M
$10.00
85
Grok 4.7xAI
Coding
66.7
Overall
66.6
Output $/M
$6.00
5
vs boards won of 90 shared

Claude Sonnet 5.5 or Grok 4.7: which to pick

Pick Claude Sonnet 5.5 for coding: it scores 87.3 on the Vibe Coding Index against 66.7 for Grok 4.7.

Pick Grok 4.7 for output tokens 1.7x cheaper ($6.00 vs $10.00 per million) and work measured by CyberBench (Vals AI) or LiveBench research, where it leads.

Shared results
90
Claude Sonnet 5.5 only
6
Grok 4.7 only
9
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 Sonnet 5.5 87.3 from 5 benchmarks, Grok 4.7 66.7 from 5 benchmarks.
Widest category
Math, 33.6 points apart on average over 6 shared benchmarks.
Widest single gap
ProofBench: Claude Sonnet 5.5 100.0% against Grok 4.7 26.0%, 74.0 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 5.5 $10.00 against Grok 4.7 $6.00 per million output tokens, 1.7x apart.
Context window
Claude Sonnet 5.5 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 Sonnet 5.5BarsGrok 4.7Ties
Coding171
Intelligence20
Agentic work122
Reasoning110
Math60
Knowledge51
Web design70
General251
All shared boards855
CodingLike-for-likeSix of these boards feed the Vibe Coding Index171
Coding benchmarks for Claude Sonnet 5.5 and Grok 4.7
BenchmarkClaude Sonnet 5.5Grok 4.7Leader
LiveBench coding94.7%84.5%Claude Sonnet 5.5
LMArena WebDev17681637Claude Sonnet 5.5
Terminal-Bench 4 (Vals AI)64.1%28.8%Claude Sonnet 5.5
Vibe Code Bench (Vals AI)92.4%86.2%Claude Sonnet 5.5
Code migration (Vals AI)69.8%44.8%Claude Sonnet 5.5
ProgramBench (Vals AI)6.5%0.5%Claude Sonnet 5.5
IOI (Vals AI)83.1%57.7%Claude Sonnet 5.5
Terminal-Bench 2.1 (Vals AI)83.2%73.4%Claude Sonnet 5.5
SWE-bench Multimodal (Vals AI)58.3%42.9%Claude Sonnet 5.5
CyberBench (Vals AI)59.6%69.5%Grok 4.7
SciCode61.0%57.8%Claude Sonnet 5.5
FrontierCode52.1%47.6%Claude Sonnet 5.5
FrontierSWE61.9%29.5%Claude Sonnet 5.5
ALE-Bench1819.1Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: coding15131432Claude Sonnet 5.5
LMArena Text: software and IT15041421Claude Sonnet 5.5
LMArena WebDev: React18171663Claude Sonnet 5.5
LMArena WebDev: HTML17411627Claude Sonnet 5.5
LMArena WebDev: from an image17371586Claude Sonnet 5.5
SciCode13.8%Not measuredOnly Claude Sonnet 5.5 measured
Neither model has a result on the other 19 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Claude Sonnet 5.5 and Grok 4.7
BenchmarkClaude Sonnet 5.5Grok 4.7Leader
AA Intelligence Index56.046.4Claude Sonnet 5.5
Epoch Capabilities Index166.2154.4Claude Sonnet 5.5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index122
Agentic work benchmarks for Claude Sonnet 5.5 and Grok 4.7
BenchmarkClaude Sonnet 5.5Grok 4.7Leader
Design Arena: agents building web apps1305Not measuredOnly Claude Sonnet 5.5 measured
Design Arena: agents building mobile apps1260Not measuredOnly Claude Sonnet 5.5 measured
Design Arena: spreadsheets1260Not measuredOnly Claude Sonnet 5.5 measured
LiveBench research83.6%86.4%Grok 4.7
LiveBench browser84.0%60.0%Claude Sonnet 5.5
LiveBench long agentic78.8%50.1%Claude Sonnet 5.5
SREBench (Vals AI)30.1%3.8%Claude Sonnet 5.5
Finance Agent (Vals AI)58.1%52.3%Claude Sonnet 5.5
Tax Agent Bench (Vals AI)42.0%34.2%Claude Sonnet 5.5
Legal Research Bench (Vals AI)48.1%47.1%Claude Sonnet 5.5
Harvey's Legal Agent Benchmark (Vals AI)10.4%18.3%Grok 4.7
Excel Modeling Benchmark (Vals AI)75.7%67.0%Claude Sonnet 5.5
BioMysteryBench (Vals AI)81.1%69.3%Claude Sonnet 5.5
Terminal-Bench-Science (Vals AI)47.1%10.0%Claude Sonnet 5.5
Vals Science Index59.1%34.8%Claude Sonnet 5.5
Robo-bench (Vals AI)Not measured0.2%Only Grok 4.7 measured
APEX-Agents75.5%54.6%Claude Sonnet 5.5
SpireClimb1.3%Not measuredOnly Claude Sonnet 5.5 measured
Vending-Bench 2$11,165$10,537Claude Sonnet 5.5
Neither model has a result on the other 22 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index110
Reasoning benchmarks for Claude Sonnet 5.5 and Grok 4.7
BenchmarkClaude Sonnet 5.5Grok 4.7Leader
LiveBench reasoning91.6%82.7%Claude Sonnet 5.5
MysteryMechanism (Vals AI)49.1%25.2%Claude Sonnet 5.5
Humanity's Last Exam (Artificial Analysis run)55.0%43.1%Claude Sonnet 5.5
GPQA Diamond (Epoch AI run)95.6%92.7%Claude Sonnet 5.5
ARC-AGINot measured90.2%Only Grok 4.7 measured
ARC-AGI-2Not measured61.4%Only Grok 4.7 measured
Chess puzzles59.0%41.0%Claude Sonnet 5.5
Mystery game puzzles65.0%29.0%Claude Sonnet 5.5
LMArena Text: hard prompts14941415Claude Sonnet 5.5
LMArena Text: expert15311439Claude Sonnet 5.5
LMArena Text: hard prompts in English15021427Claude Sonnet 5.5
LMArena Vision: diagrams13291254Claude Sonnet 5.5
LMArena Vision: homework13311309Claude Sonnet 5.5
Neither model has a result on the other 9 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index60
Math benchmarks for Claude Sonnet 5.5 and Grok 4.7
BenchmarkClaude Sonnet 5.5Grok 4.7Leader
OTIS Mock AIME100.0%98.1%Claude Sonnet 5.5
FrontierMath, tiers 1 to 388.8%53.0%Claude Sonnet 5.5
FrontierMath, tier 480.5%17.1%Claude Sonnet 5.5
ProofBench100.0%26.0%Claude Sonnet 5.5
LMArena Text: math14971414Claude Sonnet 5.5
LMArena Text: mathematical work15101435Claude Sonnet 5.5
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index51
Knowledge benchmarks for Claude Sonnet 5.5 and Grok 4.7
BenchmarkClaude Sonnet 5.5Grok 4.7Leader
LegalBench (Vals AI)Not measured84.4%Only Grok 4.7 measured
MedCode (Vals AI)52.9%49.5%Claude Sonnet 5.5
SimpleQA Verified46.5%56.0%Grok 4.7
LMArena Text: science14831419Claude Sonnet 5.5
LMArena Text: medicine and healthcare14641395Claude Sonnet 5.5
LMArena Text: legal and government14831423Claude Sonnet 5.5
LMArena Text: business and finance14681389Claude Sonnet 5.5
Neither model has a result on the other 11 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index70
Web design benchmarks for Claude Sonnet 5.5 and Grok 4.7
BenchmarkClaude Sonnet 5.5Grok 4.7Leader
Design Arena: websites13261255Claude Sonnet 5.5
Design Arena: UI components13681275Claude Sonnet 5.5
Design Arena: game dev14711314Claude Sonnet 5.5
Design Arena: data viz13921238Claude Sonnet 5.5
Design Arena: 3D14451274Claude Sonnet 5.5
Design Arena: all code categories13641273Claude Sonnet 5.5
LiveBench design85.0%78.0%Claude Sonnet 5.5
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index251
General benchmarks for Claude Sonnet 5.5 and Grok 4.7
BenchmarkClaude Sonnet 5.5Grok 4.7Leader
Vals Index70.8%58.6%Claude Sonnet 5.5
LiveBench data analysis59.5%76.9%Grok 4.7
Public Benefits Bench (Vals AI)67.2%65.6%Claude Sonnet 5.5
SAGE (Vals AI)51.8%40.8%Claude Sonnet 5.5
MedScribe (Vals AI)91.1%89.4%Claude Sonnet 5.5
Long context reasoning (AA-LCR)82.7%80.0%Claude Sonnet 5.5
DTBench97.3%96.0%Claude Sonnet 5.5
LMCA68.3%49.4%Claude Sonnet 5.5
Furniture assembly75.0%20.8%Claude Sonnet 5.5
LMArena Text14731399Claude Sonnet 5.5
LMArena Text: instruction following14921406Claude Sonnet 5.5
LMArena Text: creative writing14671381Claude Sonnet 5.5
LMArena Vision12871231Claude Sonnet 5.5
LMArena Text: English14841411Claude Sonnet 5.5
LMArena Text: non-English14561386Claude Sonnet 5.5
LMArena Text: Chinese15351449Claude Sonnet 5.5
LMArena Text: GermanNot measured1366Only Grok 4.7 measured
LMArena Text: JapaneseNot measured1359Only Grok 4.7 measured
LMArena Text: KoreanNot measured1383Only Grok 4.7 measured
LMArena Text: French14991431Claude Sonnet 5.5
LMArena Text: Spanish14511406Claude Sonnet 5.5
LMArena Text: Russian14541399Claude Sonnet 5.5
LMArena Text: PolishNot measured1420Only Grok 4.7 measured
LMArena Text: multi-turn14651394Claude Sonnet 5.5
LMArena Text: longer queries14951416Claude Sonnet 5.5
LMArena Text: writing and language14741394Claude Sonnet 5.5
LMArena Text: entertainment and media14611376Claude Sonnet 5.5
LMArena Vision: English12891229Claude Sonnet 5.5
LMArena Vision: ChineseNot measured1250Only Grok 4.7 measured
LMArena Vision: reading text12971241Claude Sonnet 5.5
LMArena Vision: creative writing12421217Claude Sonnet 5.5
Neither model has a result on the other 15 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Sonnet 5.5 and Grok 4.7
BenchmarkClaude Sonnet 5.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 Sonnet 5.5$0.0070Fits in one request
Grok 4.7$0.0050Fits in one request

Grok 4.7 costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 5.5$0.130Fits in one request
Grok 4.7$0.118Fits in one request

Grok 4.7 costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 5.5$0.500Fits 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 Sonnet 5.5 and Grok 4.7
SpecificationAnthropic Claude Sonnet 5.5SpaceXAI Grok 4.7
MakerAnthropicxAI
WeightsNo public weights listedNo public weights listed
ReleasedSeptember 28, 2026September 21, 2026
Context window1M500K
Input $/Mtok$2.00$2.00
Output $/Mtok$10.00$6.00
Coding index87.366.7
Independent measurements behind it55
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 5.5 better than Grok 4.7 for coding?

Pick Claude Sonnet 5.5 for coding: it scores 87.3 on the Vibe Coding Index against 66.7 for Grok 4.7. Pick Grok 4.7 for output tokens 1.7x cheaper ($6.00 vs $10.00 per million) and work measured by CyberBench (Vals AI) or LiveBench research, where it leads.

Which is cheaper, Claude Sonnet 5.5 or Grok 4.7?

Claude Sonnet 5.5 costs $2.00 per million input tokens and $10.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 Sonnet 5.5 or Grok 4.7?

Claude Sonnet 5.5, with 1M tokens against 500K.

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

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