Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.5 vs Grok 4.5

Grok 4.5 leads Claude Sonnet 4.5 on coding, 58.6 to 39.5 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; 76 benchmarks have a result for both.

Claude Sonnet 4.5Anthropic
Coding
39.5
Overall
49.5
Output $/M
$15.00
18
Grok 4.5xAI
Coding
58.6
Overall
62.1
Output $/M
$6.00
58
vs boards won of 76 shared

Claude Sonnet 4.5 or Grok 4.5: which to pick

Pick Grok 4.5 for coding: it scores 58.6 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 WeirdML or LMArena Text: coding, where it leads.

Shared results
76
Claude Sonnet 4.5 only
19
Grok 4.5 only
47
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.5 58.6 from 6 benchmarks.
Widest category
Coding, 18.1 points apart on average over 10 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): Claude Sonnet 4.5 22.6% against Grok 4.5 69.0%, 46.4 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.5 $15.00 against Grok 4.5 $6.00 per million output tokens, 2.5x apart.
Context window
Claude Sonnet 4.5 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.5BarsGrok 4.5Ties
Coding37
Intelligence02
Agentic work05
Reasoning47
Math06
Knowledge48
Web design08
General715
All shared boards1858
CodingLike-for-likeSix of these boards feed the Vibe Coding Index37
Coding benchmarks for Claude Sonnet 4.5 and Grok 4.5
BenchmarkClaude Sonnet 4.5Grok 4.5Leader
SWE-bench Verified74.8%Not measuredOnly Claude Sonnet 4.5 measured
SWE-bench Multilingual67.0%Not measuredOnly Claude Sonnet 4.5 measured
LiveBench codingNot measured94.3%Only Grok 4.5 measured
LMArena WebDev13941553Grok 4.5
AA Coding Index52.172.4Grok 4.5
LiveCodeBench (Vals AI)73.0%87.3%Grok 4.5
SWE-bench Verified (Vals AI)70.0%86.6%Grok 4.5
Terminal-Bench 4 (Vals AI)Not measured8.6%Only Grok 4.5 measured
Vibe Code Bench (Vals AI)22.6%69.0%Grok 4.5
Code migration (Vals AI)Not measured36.6%Only Grok 4.5 measured
ProgramBench (Vals AI)Not measured0.0%Only Grok 4.5 measured
IOI (Vals AI)Not measured40.6%Only Grok 4.5 measured
Terminal-Bench 2.1 (Vals AI)Not measured67.8%Only Grok 4.5 measured
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-Bench46.5%Not measuredOnly Claude Sonnet 4.5 measured
FrontierCodeNot measured42.4%Only Grok 4.5 measured
GSO-Bench14.7%Not measuredOnly Claude Sonnet 4.5 measured
WeirdML47.7%46.4%Claude Sonnet 4.5
Cybench60.0%Not measuredOnly Claude Sonnet 4.5 measured
ALE-BenchNot measured1309.3Only Grok 4.5 measured
LMArena Text: coding14881474Claude Sonnet 4.5
LMArena Text: software and IT14731471Claude Sonnet 4.5
LMArena WebDev: React13861556Grok 4.5
LMArena WebDev: HTML13991567Grok 4.5
LMArena WebDev: from an imageNot measured1562Only Grok 4.5 measured
SciCodeNot measured6.5%Only Grok 4.5 measured
Neither model has a result on the other 11 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Claude Sonnet 4.5 and Grok 4.5
BenchmarkClaude Sonnet 4.5Grok 4.5Leader
AA Intelligence Index20.738.8Grok 4.5
Epoch Capabilities Index146.7154.1Grok 4.5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index05
Agentic work benchmarks for Claude Sonnet 4.5 and Grok 4.5
BenchmarkClaude Sonnet 4.5Grok 4.5Leader
AA Agentic Index15.841.2Grok 4.5
Design Arena: agents building web apps10601218Grok 4.5
Design Arena: agents building full-stack apps10501249Grok 4.5
Design Arena: agents building mobile apps11371220Grok 4.5
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)Not measured48.4%Only Grok 4.5 measured
Tax Agent Bench (Vals AI)Not measured24.9%Only Grok 4.5 measured
Legal Research Bench (Vals AI)Not measured38.0%Only Grok 4.5 measured
Excel Modeling Benchmark (Vals AI)Not measured52.9%Only Grok 4.5 measured
Time Horizon Index (Vals AI)Not measured6.3%Only Grok 4.5 measured
APEX-AgentsNot measured56.2%Only Grok 4.5 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
PostTrainBenchNot measured23.4%Only Grok 4.5 measured
OSWorld62.9%Not measuredOnly Claude Sonnet 4.5 measured
Vending-Bench 2$3,839$3,887Grok 4.5
LMArena SearchNot measured1216Only Grok 4.5 measured
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 index47
Reasoning benchmarks for Claude Sonnet 4.5 and Grok 4.5
BenchmarkClaude Sonnet 4.5Grok 4.5Leader
GPQA Diamond81.6%92.9%Grok 4.5
LiveBench reasoningNot measured87.2%Only Grok 4.5 measured
MMMU Pro (Vals AI)79.3%61.8%Claude Sonnet 4.5
GPQA Diamond (Artificial Analysis run)Not measured93.1%Only Grok 4.5 measured
Humanity's Last Exam (Artificial Analysis run)Not measured42.7%Only Grok 4.5 measured
GPQA Diamond (Epoch AI run)82.3%93.4%Grok 4.5
ARC-AGI63.7%87.2%Grok 4.5
ARC-AGI-213.6%52.6%Grok 4.5
SimpleBench54.3%70.0%Grok 4.5
Chess puzzles10.0%35.0%Grok 4.5
Mystery game puzzles17.0%Not measuredOnly Claude Sonnet 4.5 measured
EBR-bench2.4%Not measuredOnly Claude Sonnet 4.5 measured
VPCT39.8%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: hard prompts14621462Claude Sonnet 4.5
LMArena Text: expert14831465Claude Sonnet 4.5
LMArena Text: hard prompts in English14711464Claude Sonnet 4.5
LMArena Vision: diagramsNot measured1304Only Grok 4.5 measured
LMArena Vision: homeworkNot measured1295Only Grok 4.5 measured
Kagi LLM Benchmark57.9%83.5%Grok 4.5
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index06
Math benchmarks for Claude Sonnet 4.5 and Grok 4.5
BenchmarkClaude Sonnet 4.5Grok 4.5Leader
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%97.8%Grok 4.5
FrontierMath, tiers 1 to 323.9%57.2%Grok 4.5
FrontierMath, tier 42.4%24.4%Grok 4.5
ProofBench19.0%31.0%Grok 4.5
MATH level 597.7%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: math14491460Grok 4.5
LMArena Text: mathematical work14621482Grok 4.5
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index48
Knowledge benchmarks for Claude Sonnet 4.5 and Grok 4.5
BenchmarkClaude Sonnet 4.5Grok 4.5Leader
MMLU Pro87.4%89.2%Grok 4.5
LegalBench (Vals AI)84.1%86.0%Grok 4.5
CaseLaw (Vals AI)62.2%Not measuredOnly Claude Sonnet 4.5 measured
CorpFin (Vals AI)62.0%67.4%Grok 4.5
TaxEval (Vals AI)73.3%71.7%Claude Sonnet 4.5
MortgageTax (Vals AI)64.0%61.8%Claude Sonnet 4.5
MedQA (Vals AI)94.7%Not measuredOnly Claude Sonnet 4.5 measured
MedCode (Vals AI)44.1%43.3%Claude Sonnet 4.5
SimpleQA Verified30.7%48.3%Grok 4.5
LMArena Text: science14481464Grok 4.5
LMArena Text: medicine and healthcare14441440Claude Sonnet 4.5
LMArena Text: legal and government14511463Grok 4.5
LMArena Text: business and finance14401441Grok 4.5
FACTS Benchmark Suite40.6%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 index08
Web design benchmarks for Claude Sonnet 4.5 and Grok 4.5
BenchmarkClaude Sonnet 4.5Grok 4.5Leader
Design Arena: websites11891281Grok 4.5
Design Arena: UI components11701280Grok 4.5
Design Arena: game dev11661264Grok 4.5
Design Arena: data viz11671266Grok 4.5
Design Arena: 3D11571257Grok 4.5
Design Arena: all code categories11821275Grok 4.5
Design Arena: SVG11151215Grok 4.5
Design Arena: ASCII art12051256Grok 4.5
LiveBench designNot measured78.1%Only Grok 4.5 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index715
General benchmarks for Claude Sonnet 4.5 and Grok 4.5
BenchmarkClaude Sonnet 4.5Grok 4.5Leader
LiveBench data analysisNot measured73.0%Only Grok 4.5 measured
SAGE (Vals AI)36.1%35.0%Claude Sonnet 4.5
MedScribe (Vals AI)84.5%86.9%Grok 4.5
Vals Multimodal IndexNot measured63.4%Only Grok 4.5 measured
Long context reasoning (AA-LCR)Not measured79.3%Only Grok 4.5 measured
DTBench83.2%96.5%Grok 4.5
LMCA38.8%45.2%Grok 4.5
Surface Evolver BenchNot measured74.4%Only Grok 4.5 measured
Furniture assemblyNot measured22.5%Only Grok 4.5 measured
LMArena Text14381448Grok 4.5
LMArena Text: instruction following14591445Claude Sonnet 4.5
LMArena Text: creative writing14421442Claude Sonnet 4.5
LMArena VisionNot measured1287Only Grok 4.5 measured
LMArena Text: English14501453Grok 4.5
LMArena Text: non-English14251440Grok 4.5
LMArena Text: Chinese14601495Grok 4.5
LMArena Text: German14271448Grok 4.5
LMArena Text: Japanese13901430Grok 4.5
LMArena Text: Korean14021406Grok 4.5
LMArena Text: French14591457Claude Sonnet 4.5
LMArena Text: Spanish14581451Claude Sonnet 4.5
LMArena Text: Russian14371449Grok 4.5
LMArena Text: Polish14231432Grok 4.5
LMArena Text: multi-turn14651456Claude Sonnet 4.5
LMArena Text: longer queries14751462Claude Sonnet 4.5
LMArena Text: writing and language14421445Grok 4.5
LMArena Text: entertainment and media14281434Grok 4.5
LMArena Vision: EnglishNot measured1285Only Grok 4.5 measured
LMArena Vision: ChineseNot measured1345Only Grok 4.5 measured
LMArena Vision: reading textNot measured1293Only Grok 4.5 measured
LMArena Vision: humorNot measured1276Only Grok 4.5 measured
LMArena Vision: creative writingNot measured1293Only Grok 4.5 measured
LMArena Document14501452Grok 4.5
Neither model has a result on the other 13 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.5
BenchmarkClaude Sonnet 4.5Grok 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.5$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.5$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.5$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.5 and Grok 4.5
SpecificationAnthropic Claude Sonnet 4.5SpaceXAI Grok 4.5
MakerAnthropicxAI
WeightsNo public weights listedNo public weights listed
ReleasedSeptember 29, 2025July 8, 2026
Context window1M500K
Input $/Mtok$3.00$2.00
Output $/Mtok$15.00$6.00
Coding index39.558.6
Independent measurements behind it36
Cost per solved task$1.16$0.62
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 4.5 better than Grok 4.5 for coding?

Pick Grok 4.5 for coding: it scores 58.6 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 WeirdML or LMArena Text: coding, where it leads.

Which is cheaper, Claude Sonnet 4.5 or Grok 4.5?

Claude Sonnet 4.5 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.5 costs $1.16 and Grok 4.5 $0.62.

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

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

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

76 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.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-5-vs-grok-4-5" title="Claude Sonnet 4.5 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-5-vs-grok-4-5">LLMBenchmark.ai, Claude Sonnet 4.5 vs Grok 4.5</a></p>