Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.6 vs Grok 4.5

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

Claude Sonnet 4.6Anthropic
Coding
57.3
Overall
60.3
Output $/M
$15.00
46
Grok 4.5xAI
Coding
58.6
Overall
62.1
Output $/M
$6.00
57
vs boards won of 104 shared, 1 tied

Claude Sonnet 4.6 or Grok 4.5: which to pick

Claude Sonnet 4.6 and Grok 4.5 are level for coding, 57.3 against 58.6 on the Vibe Coding Index, so price and context decide.

Pick Claude Sonnet 4.6 for a larger context window (1M against 500K tokens) and work measured by Code migration (Vals AI) or ProgramBench (Vals AI), where it leads. Pick Grok 4.5 for output tokens 2.5x cheaper ($6.00 vs $15.00 per million) and a lower cost per solved task ($0.62 against $1.68).

Shared results
104
Claude Sonnet 4.6 only
14
Grok 4.5 only
19
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.6 57.3 from 5 benchmarks, Grok 4.5 58.6 from 6 benchmarks.
Widest category
Coding, 10.0 points apart on average over 18 shared benchmarks.
Widest single gap
FrontierCode: Claude Sonnet 4.6 24.3% against Grok 4.5 42.4%, 27.9 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.6 $15.00 against Grok 4.5 $6.00 per million output tokens, 2.5x apart.
Context window
Claude Sonnet 4.6 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 Sonnet 4.6BarsGrok 4.5Ties
Coding513
Intelligence02
Agentic work610
Reasoning77
Math31
Knowledge65
Web design261 tie
General1713
All shared boards46571 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index513
Coding benchmarks for Claude Sonnet 4.6 and Grok 4.5
BenchmarkClaude Sonnet 4.6Grok 4.5Leader
LiveBench coding66.6%94.3%Grok 4.5
LMArena WebDev15231553Grok 4.5
AA Coding Index63.072.4Grok 4.5
LiveCodeBench (Vals AI)82.1%87.3%Grok 4.5
SWE-bench Verified (Vals AI)77.4%86.6%Grok 4.5
Terminal-Bench 4 (Vals AI)Not measured8.6%Only Grok 4.5 measured
Vibe Code Bench (Vals AI)55.8%69.0%Grok 4.5
Code migration (Vals AI)39.9%36.6%Claude Sonnet 4.6
ProgramBench (Vals AI)0.5%0.0%Claude Sonnet 4.6
IOI (Vals AI)Not measured40.6%Only Grok 4.5 measured
Terminal-Bench 2.1 (Vals AI)57.3%67.8%Grok 4.5
SkillsBench (Vals AI)49.0%66.0%Grok 4.5
CyberBench (Vals AI)Not measured71.0%Only Grok 4.5 measured
SciCode50.1%55.0%Grok 4.5
Terminal-Bench Hard (Artificial Analysis run)53.0%Not measuredOnly Claude Sonnet 4.6 measured
Terminal-Bench53.4%Not measuredOnly Claude Sonnet 4.6 measured
FrontierCode24.3%42.4%Grok 4.5
WeirdML66.1%46.4%Claude Sonnet 4.6
ALE-BenchNot measured1309.3Only Grok 4.5 measured
LMArena Text: coding15031474Claude Sonnet 4.6
LMArena Text: software and IT14911471Claude Sonnet 4.6
LMArena WebDev: React15121556Grok 4.5
LMArena WebDev: HTML15271567Grok 4.5
LMArena WebDev: from an image15291562Grok 4.5
SciCodeNot measured6.5%Only Grok 4.5 measured
Neither model has a result on the other 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Claude Sonnet 4.6 and Grok 4.5
BenchmarkClaude Sonnet 4.6Grok 4.5Leader
AA Intelligence Index30.138.8Grok 4.5
Epoch Capabilities Index152.8154.1Grok 4.5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index610
Agentic work benchmarks for Claude Sonnet 4.6 and Grok 4.5
BenchmarkClaude Sonnet 4.6Grok 4.5Leader
AA Agentic Index31.841.2Grok 4.5
Design Arena: agents building web apps11901218Grok 4.5
Design Arena: agents building full-stack apps12131249Grok 4.5
Design Arena: agents building mobile apps12121220Grok 4.5
Design Arena: agents building Android apps11971236Grok 4.5
Design Arena: agents building Godot games12261229Grok 4.5
Design Arena: agents building games11771236Grok 4.5
Design Arena: HTML slidesNot measured1205Only Grok 4.5 measured
Design Arena: PowerPoint slidesNot measured1230Only Grok 4.5 measured
LiveBench research63.6%85.9%Grok 4.5
LiveBench browser68.0%44.0%Claude Sonnet 4.6
LiveBench long agentic23.1%27.9%Grok 4.5
SREBench (Vals AI)Not measured0.8%Only Grok 4.5 measured
Finance Agent (Vals AI)51.0%48.4%Claude Sonnet 4.6
Tax Agent Bench (Vals AI)25.8%24.9%Claude Sonnet 4.6
Legal Research Bench (Vals AI)38.5%38.0%Claude Sonnet 4.6
Excel Modeling Benchmark (Vals AI)60.2%52.9%Claude Sonnet 4.6
Time Horizon Index (Vals AI)Not measured6.3%Only Grok 4.5 measured
τ²-Bench Telecom79.5%Not measuredOnly Claude Sonnet 4.6 measured
APEX-Agents43.0%56.2%Grok 4.5
OSWorld 2.09.3%Not measuredOnly Claude Sonnet 4.6 measured
DeepResearch Bench54.9%Not measuredOnly Claude Sonnet 4.6 measured
PostTrainBenchNot measured23.4%Only Grok 4.5 measured
OSWorld72.1%Not measuredOnly Claude Sonnet 4.6 measured
Vending-Bench 2$7,204$3,887Claude Sonnet 4.6
LMArena SearchNot measured1216Only Grok 4.5 measured
Neither model has a result on the other 15 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index77
Reasoning benchmarks for Claude Sonnet 4.6 and Grok 4.5
BenchmarkClaude Sonnet 4.6Grok 4.5Leader
GPQA Diamond85.6%92.9%Grok 4.5
LiveBench reasoning86.4%87.2%Grok 4.5
MMMU Pro (Vals AI)83.6%61.8%Claude Sonnet 4.6
GPQA Diamond (Artificial Analysis run)87.5%93.1%Grok 4.5
Humanity's Last Exam (Artificial Analysis run)33.6%42.7%Grok 4.5
GPQA Diamond (Epoch AI run)87.4%93.4%Grok 4.5
ARC-AGI86.5%87.2%Grok 4.5
ARC-AGI-260.4%52.6%Claude Sonnet 4.6
SimpleBenchNot measured70.0%Only Grok 4.5 measured
Chess puzzles23.0%35.0%Grok 4.5
Mystery game puzzles16.0%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: hard prompts14851462Claude Sonnet 4.6
LMArena Text: expert15001465Claude Sonnet 4.6
LMArena Text: hard prompts in English14931464Claude Sonnet 4.6
LMArena Vision: diagrams13061304Claude Sonnet 4.6
LMArena Vision: homework13111295Claude Sonnet 4.6
Kagi LLM BenchmarkNot measured83.5%Only Grok 4.5 measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index31
Math benchmarks for Claude Sonnet 4.6 and Grok 4.5
BenchmarkClaude Sonnet 4.6Grok 4.5Leader
AIME92.3%Not measuredOnly Claude Sonnet 4.6 measured
OTIS Mock AIME85.8%97.8%Grok 4.5
FrontierMath, tiers 1 to 3Not measured57.2%Only Grok 4.5 measured
FrontierMath, tier 4Not measured24.4%Only Grok 4.5 measured
ProofBench45.0%31.0%Claude Sonnet 4.6
LMArena Text: math14621460Claude Sonnet 4.6
LMArena Text: mathematical work14831482Claude Sonnet 4.6
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index65
Knowledge benchmarks for Claude Sonnet 4.6 and Grok 4.5
BenchmarkClaude Sonnet 4.6Grok 4.5Leader
MMLU Pro87.3%89.2%Grok 4.5
LegalBench (Vals AI)82.1%86.0%Grok 4.5
CaseLaw (Vals AI)64.0%Not measuredOnly Claude Sonnet 4.6 measured
CorpFin (Vals AI)65.3%67.4%Grok 4.5
TaxEval (Vals AI)77.1%71.7%Claude Sonnet 4.6
MortgageTax (Vals AI)67.7%61.8%Claude Sonnet 4.6
MedQA (Vals AI)92.1%Not measuredOnly Claude Sonnet 4.6 measured
MedCode (Vals AI)Not measured43.3%Only Grok 4.5 measured
SimpleQA Verified35.5%48.3%Grok 4.5
LMArena Text: science14741464Claude Sonnet 4.6
LMArena Text: medicine and healthcare14511440Claude Sonnet 4.6
LMArena Text: legal and government14701463Claude Sonnet 4.6
LMArena Text: business and finance14641441Claude Sonnet 4.6
FACTS Benchmark Suite37.0%50.2%Grok 4.5
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index26
Web design benchmarks for Claude Sonnet 4.6 and Grok 4.5
BenchmarkClaude Sonnet 4.6Grok 4.5Leader
Design Arena: websites12841281Claude Sonnet 4.6
Design Arena: UI components12691280Grok 4.5
Design Arena: game dev12581264Grok 4.5
Design Arena: data viz12781266Claude Sonnet 4.6
Design Arena: 3D12341257Grok 4.5
Design Arena: all code categories12751275Tie
Design Arena: SVG11961215Grok 4.5
Design Arena: ASCII art12351256Grok 4.5
LiveBench design71.8%78.1%Grok 4.5
GeneralLike-for-likePublic boards, shown as published, kept out of the index1713
General benchmarks for Claude Sonnet 4.6 and Grok 4.5
BenchmarkClaude Sonnet 4.6Grok 4.5Leader
LiveBench data analysis76.1%73.0%Claude Sonnet 4.6
Public Benefits Bench (Vals AI)62.5%Not measuredOnly Claude Sonnet 4.6 measured
SAGE (Vals AI)46.6%35.0%Claude Sonnet 4.6
MedScribe (Vals AI)Not measured86.9%Only Grok 4.5 measured
Vals Multimodal Index60.6%63.4%Grok 4.5
IFBench56.6%Not measuredOnly Claude Sonnet 4.6 measured
Long context reasoning (AA-LCR)80.0%79.3%Claude Sonnet 4.6
DTBench89.9%96.5%Grok 4.5
LMCA46.5%45.2%Claude Sonnet 4.6
Surface Evolver BenchNot measured74.4%Only Grok 4.5 measured
Furniture assemblyNot measured22.5%Only Grok 4.5 measured
ExploitBench23.6%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text14581448Claude Sonnet 4.6
LMArena Text: instruction following14761445Claude Sonnet 4.6
LMArena Text: creative writing14351442Grok 4.5
LMArena Vision12831287Grok 4.5
LMArena Text: English14721453Claude Sonnet 4.6
LMArena Text: non-English14401440Claude Sonnet 4.6
LMArena Text: Chinese14911495Grok 4.5
LMArena Text: German14281448Grok 4.5
LMArena Text: Japanese14201430Grok 4.5
LMArena Text: Korean14101406Claude Sonnet 4.6
LMArena Text: French14651457Claude Sonnet 4.6
LMArena Text: Spanish14641451Claude Sonnet 4.6
LMArena Text: Russian14401449Grok 4.5
LMArena Text: Polish14431432Claude Sonnet 4.6
LMArena Text: multi-turn14641456Claude Sonnet 4.6
LMArena Text: longer queries14791462Claude Sonnet 4.6
LMArena Text: writing and language14441445Grok 4.5
LMArena Text: entertainment and media14311434Grok 4.5
LMArena Vision: English12981285Claude Sonnet 4.6
LMArena Vision: Chinese13071345Grok 4.5
LMArena Vision: reading text12961293Claude Sonnet 4.6
LMArena Vision: humor12481276Grok 4.5
LMArena Vision: recognizing things1195Not measuredOnly Claude Sonnet 4.6 measured
LMArena Vision: creative writing12721293Grok 4.5
LMArena Document14821452Claude Sonnet 4.6
Neither model has a result on the other 9 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Sonnet 4.6 and Grok 4.5
BenchmarkClaude Sonnet 4.6Grok 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 Sonnet 4.6$0.011Fits in one request
Grok 4.5$0.0050Fits in one request

Grok 4.5 costs less

Repository review

50K input + 3K output tokens

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

Grok 4.5 costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 4.6$0.750Fits 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 Sonnet 4.6 and Grok 4.5
SpecificationAnthropic Claude Sonnet 4.6SpaceXAI Grok 4.5
MakerAnthropicxAI
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 17, 2026July 8, 2026
Context window1M500K
Input $/Mtok$3.00$2.00
Output $/Mtok$15.00$6.00
Coding index57.358.6
Independent measurements behind it56
Cost per solved task$1.68$0.62
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 4.6 better than Grok 4.5 for coding?

Claude Sonnet 4.6 and Grok 4.5 are level for coding, 57.3 against 58.6 on the Vibe Coding Index, so price and context decide. Pick Claude Sonnet 4.6 for a larger context window (1M against 500K tokens) and work measured by Code migration (Vals AI) or ProgramBench (Vals AI), where it leads. Pick Grok 4.5 for output tokens 2.5x cheaper ($6.00 vs $15.00 per million) and a lower cost per solved task ($0.62 against $1.68).

Which is cheaper, Claude Sonnet 4.6 or Grok 4.5?

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

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

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

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

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