Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.5 vs Grok 4.6

Grok 4.6 leads Claude Sonnet 4.5 on coding, 65.7 to 39.5 on the Vibe Coding Index, and Grok 4.6 costs 2.5x less per output token ($6.00 vs $15.00 per million). Updated October 22, 2026; 75 benchmarks have a result for both.

Claude Sonnet 4.5Anthropic
Coding
39.5
Overall
49.5
Output $/M
$15.00
27
Grok 4.6xAI
Coding
65.7
Overall
67.4
Output $/M
$6.00
48
vs boards won of 75 shared

Claude Sonnet 4.5 or Grok 4.6: which to pick

Pick Grok 4.6 for coding: it scores 65.7 on the Vibe Coding Index against 39.5 for Claude Sonnet 4.5.

Pick Claude Sonnet 4.5 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
75
Claude Sonnet 4.5 only
20
Grok 4.6 only
48
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 4.5 39.5 from 3 benchmarks, Grok 4.6 65.7 from 6 benchmarks.
Widest category
Agentic work, 26.4 points apart on average over 5 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): Claude Sonnet 4.5 22.6% against Grok 4.6 76.2%, 53.6 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.5 $15.00 against Grok 4.6 $6.00 per million output tokens, 2.5x apart.
Context window
Claude Sonnet 4.5 takes 1M tokens, Grok 4.6 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 4.5BarsGrok 4.6Ties
Coding28
Intelligence02
Agentic work05
Reasoning38
Math15
Knowledge56
Web design08
General166
All shared boards2748
CodingLike-for-likeSix of these boards feed the Vibe Coding Index28
Coding benchmarks for Claude Sonnet 4.5 and Grok 4.6
BenchmarkClaude Sonnet 4.5Grok 4.6Leader
SWE-bench Verified74.8%Not measuredOnly Claude Sonnet 4.5 measured
SWE-bench Multilingual67.0%Not measuredOnly Claude Sonnet 4.5 measured
LiveBench codingNot measured89.1%Only Grok 4.6 measured
LMArena WebDev13941617Grok 4.6
AA Coding Index52.176.8Grok 4.6
LiveCodeBench (Vals AI)73.0%88.2%Grok 4.6
SWE-bench Verified (Vals AI)70.0%95.6%Grok 4.6
Terminal-Bench 4 (Vals AI)Not measured17.2%Only Grok 4.6 measured
Vibe Code Bench (Vals AI)22.6%76.2%Grok 4.6
Code migration (Vals AI)Not measured44.6%Only Grok 4.6 measured
ProgramBench (Vals AI)Not measured1.0%Only Grok 4.6 measured
IOI (Vals AI)Not measured47.6%Only Grok 4.6 measured
Terminal-Bench 2.1 (Vals AI)Not measured78.3%Only Grok 4.6 measured
Vibe Code Bench 1-100 (Vals AI)Not measured14.8%Only Grok 4.6 measured
SkillsBench (Vals AI)Not measured55.8%Only Grok 4.6 measured
CyberBench (Vals AI)Not measured67.7%Only Grok 4.6 measured
SciCodeNot measured56.5%Only Grok 4.6 measured
Terminal-Bench46.5%Not measuredOnly Claude Sonnet 4.5 measured
FrontierCodeNot measured48.0%Only Grok 4.6 measured
FrontierSWENot measured25.3%Only Grok 4.6 measured
GSO-Bench14.7%Not measuredOnly Claude Sonnet 4.5 measured
WeirdML47.7%67.3%Grok 4.6
Cybench60.0%Not measuredOnly Claude Sonnet 4.5 measured
ALE-BenchNot measured1508.1Only Grok 4.6 measured
LMArena Text: coding14881466Claude Sonnet 4.5
LMArena Text: software and IT14731457Claude Sonnet 4.5
LMArena WebDev: React13861631Grok 4.6
LMArena WebDev: HTML13991597Grok 4.6
LMArena WebDev: from an imageNot measured1603Only Grok 4.6 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 Sonnet 4.5 and Grok 4.6
BenchmarkClaude Sonnet 4.5Grok 4.6Leader
AA Intelligence Index20.744.3Grok 4.6
Epoch Capabilities Index146.7156.6Grok 4.6
Agentic workLike-for-likePublic boards, shown as published, kept out of the index05
Agentic work benchmarks for Claude Sonnet 4.5 and Grok 4.6
BenchmarkClaude Sonnet 4.5Grok 4.6Leader
AA Agentic Index15.853.0Grok 4.6
Design Arena: agents building web apps10601248Grok 4.6
Design Arena: agents building full-stack apps10501264Grok 4.6
Design Arena: agents building mobile apps11371234Grok 4.6
Design Arena: agents building Android appsNot measured1291Only Grok 4.6 measured
Design Arena: agents building Godot gamesNot measured1276Only Grok 4.6 measured
Design Arena: agents building gamesNot measured1209Only Grok 4.6 measured
Design Arena: HTML slidesNot measured1250Only Grok 4.6 measured
Design Arena: PowerPoint slidesNot measured1237Only Grok 4.6 measured
LiveBench researchNot measured84.5%Only Grok 4.6 measured
LiveBench browserNot measured64.0%Only Grok 4.6 measured
LiveBench long agenticNot measured40.7%Only Grok 4.6 measured
Finance Agent (Vals AI)Not measured53.7%Only Grok 4.6 measured
Tax Agent Bench (Vals AI)Not measured33.1%Only Grok 4.6 measured
Legal Research Bench (Vals AI)Not measured48.1%Only Grok 4.6 measured
Excel Modeling Benchmark (Vals AI)Not measured62.7%Only Grok 4.6 measured
BioMysteryBench (Vals AI)Not measured72.2%Only Grok 4.6 measured
Terminal-Bench-Science (Vals AI)Not measured11.4%Only Grok 4.6 measured
Vals Science IndexNot measured38.1%Only Grok 4.6 measured
Time Horizon Index (Vals AI)Not measured5.8%Only Grok 4.6 measured
APEX-AgentsNot measured65.3%Only Grok 4.6 measured
METR time horizons67.4%Not measuredOnly Claude Sonnet 4.5 measured
Remote Labor Index2.1%Not measuredOnly Claude Sonnet 4.5 measured
GDPval42.5%Not measuredOnly Claude Sonnet 4.5 measured
DeepResearch Bench52.6%Not measuredOnly Claude Sonnet 4.5 measured
OSWorld62.9%Not measuredOnly Claude Sonnet 4.5 measured
Vending-Bench 2$3,839$9,047Grok 4.6
Berkeley Function Calling Leaderboard (BFCL)73.2%Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 13 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index38
Reasoning benchmarks for Claude Sonnet 4.5 and Grok 4.6
BenchmarkClaude Sonnet 4.5Grok 4.6Leader
GPQA Diamond81.6%94.7%Grok 4.6
LiveBench reasoningNot measured91.2%Only Grok 4.6 measured
MysteryMechanism (Vals AI)Not measured30.6%Only Grok 4.6 measured
MMMU Pro (Vals AI)79.3%Not measuredOnly Claude Sonnet 4.5 measured
GPQA Diamond (Artificial Analysis run)Not measured94.9%Only Grok 4.6 measured
Humanity's Last Exam (Artificial Analysis run)Not measured44.1%Only Grok 4.6 measured
GPQA Diamond (Epoch AI run)82.3%94.0%Grok 4.6
ARC-AGI63.7%87.5%Grok 4.6
ARC-AGI-213.6%67.1%Grok 4.6
SimpleBench54.3%75.9%Grok 4.6
Chess puzzles10.0%33.0%Grok 4.6
Mystery game puzzles17.0%34.0%Grok 4.6
EBR-bench2.4%30.5%Grok 4.6
VPCT39.8%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: hard prompts14621448Claude Sonnet 4.5
LMArena Text: expert14831469Claude Sonnet 4.5
LMArena Text: hard prompts in English14711445Claude Sonnet 4.5
LMArena Vision: diagramsNot measured1285Only Grok 4.6 measured
LMArena Vision: homeworkNot measured1283Only Grok 4.6 measured
Kagi LLM Benchmark57.9%Not measuredOnly Claude Sonnet 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 index15
Math benchmarks for Claude Sonnet 4.5 and Grok 4.6
BenchmarkClaude Sonnet 4.5Grok 4.6Leader
AIME88.2%Not measuredOnly Claude Sonnet 4.5 measured
MGSM (Vals AI)94.3%Not measuredOnly Claude Sonnet 4.5 measured
OTIS Mock AIME77.8%99.2%Grok 4.6
FrontierMath, tiers 1 to 323.9%66.0%Grok 4.6
FrontierMath, tier 42.4%31.7%Grok 4.6
ProofBench19.0%51.0%Grok 4.6
MATH level 597.7%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: math14491417Claude Sonnet 4.5
LMArena Text: mathematical work14621464Grok 4.6
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index56
Knowledge benchmarks for Claude Sonnet 4.5 and Grok 4.6
BenchmarkClaude Sonnet 4.5Grok 4.6Leader
MMLU Pro87.4%89.4%Grok 4.6
LegalBench (Vals AI)84.1%86.3%Grok 4.6
CaseLaw (Vals AI)62.2%Not measuredOnly Claude Sonnet 4.5 measured
CorpFin (Vals AI)62.0%66.2%Grok 4.6
TaxEval (Vals AI)73.3%71.1%Claude Sonnet 4.5
MortgageTax (Vals AI)64.0%64.2%Grok 4.6
MedQA (Vals AI)94.7%Not measuredOnly Claude Sonnet 4.5 measured
MedCode (Vals AI)44.1%44.7%Grok 4.6
SimpleQA Verified30.7%49.3%Grok 4.6
LMArena Text: science14481437Claude Sonnet 4.5
LMArena Text: medicine and healthcare14441420Claude Sonnet 4.5
LMArena Text: legal and government14511429Claude Sonnet 4.5
LMArena Text: business and finance14401416Claude Sonnet 4.5
FACTS Benchmark Suite40.6%Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index08
Web design benchmarks for Claude Sonnet 4.5 and Grok 4.6
BenchmarkClaude Sonnet 4.5Grok 4.6Leader
Design Arena: websites11891289Grok 4.6
Design Arena: UI components11701294Grok 4.6
Design Arena: game dev11661296Grok 4.6
Design Arena: data viz11671282Grok 4.6
Design Arena: 3D11571277Grok 4.6
Design Arena: all code categories11821292Grok 4.6
Design Arena: SVG11151240Grok 4.6
Design Arena: ASCII art12051279Grok 4.6
LiveBench designNot measured79.8%Only Grok 4.6 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index166
General benchmarks for Claude Sonnet 4.5 and Grok 4.6
BenchmarkClaude Sonnet 4.5Grok 4.6Leader
LiveBench data analysisNot measured75.3%Only Grok 4.6 measured
Public Benefits Bench (Vals AI)Not measured66.8%Only Grok 4.6 measured
SAGE (Vals AI)36.1%28.9%Claude Sonnet 4.5
MedScribe (Vals AI)84.5%86.5%Grok 4.6
Long context reasoning (AA-LCR)Not measured81.0%Only Grok 4.6 measured
DTBench83.2%97.3%Grok 4.6
LMCA38.8%48.5%Grok 4.6
Furniture assemblyNot measured40.0%Only Grok 4.6 measured
LMArena Text14381429Claude Sonnet 4.5
LMArena Text: instruction following14591431Claude Sonnet 4.5
LMArena Text: creative writing14421426Claude Sonnet 4.5
LMArena VisionNot measured1263Only Grok 4.6 measured
LMArena Text: English14501433Claude Sonnet 4.5
LMArena Text: non-English14251420Claude Sonnet 4.5
LMArena Text: Chinese14601476Grok 4.6
LMArena Text: German14271426Claude Sonnet 4.5
LMArena Text: Japanese13901378Claude Sonnet 4.5
LMArena Text: Korean14021391Claude Sonnet 4.5
LMArena Text: French14591455Claude Sonnet 4.5
LMArena Text: Spanish14581414Claude Sonnet 4.5
LMArena Text: Russian14371421Claude Sonnet 4.5
LMArena Text: Polish14231430Grok 4.6
LMArena Text: multi-turn14651425Claude Sonnet 4.5
LMArena Text: longer queries14751456Claude Sonnet 4.5
LMArena Text: writing and language14421429Claude Sonnet 4.5
LMArena Text: entertainment and media14281421Claude Sonnet 4.5
LMArena Vision: EnglishNot measured1270Only Grok 4.6 measured
LMArena Vision: ChineseNot measured1289Only Grok 4.6 measured
LMArena Vision: reading textNot measured1272Only Grok 4.6 measured
LMArena Vision: humorNot measured1270Only Grok 4.6 measured
LMArena Vision: creative writingNot measured1262Only Grok 4.6 measured
LMArena Document14501452Grok 4.6
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 Sonnet 4.5 and Grok 4.6
BenchmarkClaude Sonnet 4.5Grok 4.6Leader
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 4.5$0.011Fits in one request
Grok 4.6$0.0050Fits in one request

Grok 4.6 costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 4.5$0.195Fits in one request
Grok 4.6$0.118Fits in one request

Grok 4.6 costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 4.5$0.750Fits in one request
Grok 4.6$0.460Fits in one request

Grok 4.6 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 4.5 and Grok 4.6
SpecificationAnthropic Claude Sonnet 4.5SpaceXAI Grok 4.6
MakerAnthropicxAI
WeightsNo public weights listedNo public weights listed
ReleasedSeptember 29, 2025August 12, 2026
Context window1M500K
Input $/Mtok$3.00$2.00
Output $/Mtok$15.00$6.00
Coding index39.565.7
Independent measurements behind it36
Cost per solved task$1.16$0.82
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 4.5 better than Grok 4.6 for coding?

Pick Grok 4.6 for coding: it scores 65.7 on the Vibe Coding Index against 39.5 for Claude Sonnet 4.5. Pick Claude Sonnet 4.5 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 Sonnet 4.5 or Grok 4.6?

Claude Sonnet 4.5 costs $3.00 per million input tokens and $15.00 per million output tokens; Grok 4.6 costs $2.00 and $6.00. Per solved SWE-bench Verified task, Claude Sonnet 4.5 costs $1.16 and Grok 4.6 $0.82.

Which has the bigger context window, Claude Sonnet 4.5 or Grok 4.6?

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

How many benchmarks is the Claude Sonnet 4.5 vs Grok 4.6 comparison based on?

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