Enter opens the highlighted result. Esc closes.

Claude Sonnet 5 vs Grok 4.6

Grok 4.6 leads Claude Sonnet 5 on coding, 65.7 to 57.7 on the Vibe Coding Index, and Grok 4.6 costs 1.7x less per output token ($6.00 vs $10.00 per million). Updated October 22, 2026; 114 benchmarks have a result for both.

Claude Sonnet 5Anthropic
Coding
57.7
Overall
63.2
Output $/M
$10.00
51
Grok 4.6xAI
Coding
65.7
Overall
67.4
Output $/M
$6.00
63
vs boards won of 114 shared

Claude Sonnet 5 or Grok 4.6: which to pick

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

Pick Claude Sonnet 5 for a larger context window (1M against 500K tokens) and work measured by Vibe Code Bench (Vals AI) or CyberBench (Vals AI), where it leads.

Shared results
114
Claude Sonnet 5 only
7
Grok 4.6 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 57.7 from 6 benchmarks, Grok 4.6 65.7 from 6 benchmarks.
Widest category
Math, 7.4 points apart on average over 6 shared benchmarks.
Widest single gap
ProofBench: Claude Sonnet 5 77.0% against Grok 4.6 51.0%, 26.0 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 5 $10.00 against Grok 4.6 $6.00 per million output tokens, 1.7x apart.
Context window
Claude Sonnet 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 5BarsGrok 4.6Ties
Coding518
Intelligence11
Agentic work415
Reasoning76
Math33
Knowledge83
Web design18
General229
All shared boards5163
CodingLike-for-likeSix of these boards feed the Vibe Coding Index518
Coding benchmarks for Claude Sonnet 5 and Grok 4.6
BenchmarkClaude Sonnet 5Grok 4.6Leader
LiveBench coding74.7%89.1%Grok 4.6
LMArena WebDev15401617Grok 4.6
AA Coding Index71.576.8Grok 4.6
LiveCodeBench (Vals AI)82.4%88.2%Grok 4.6
SWE-bench Verified (Vals AI)79.6%95.6%Grok 4.6
Terminal-Bench 4 (Vals AI)10.6%17.2%Grok 4.6
Vibe Code Bench (Vals AI)81.3%76.2%Claude Sonnet 5
Code migration (Vals AI)44.4%44.6%Grok 4.6
ProgramBench (Vals AI)0.0%1.0%Grok 4.6
IOI (Vals AI)45.0%47.6%Grok 4.6
Terminal-Bench 2.1 (Vals AI)74.5%78.3%Grok 4.6
Vibe Code Bench 1-100 (Vals AI)13.8%14.8%Grok 4.6
SkillsBench (Vals AI)46.5%55.8%Grok 4.6
CyberBench (Vals AI)70.3%67.7%Claude Sonnet 5
SciCode54.3%56.5%Grok 4.6
FrontierCode42.7%48.0%Grok 4.6
FrontierSWENot measured25.3%Only Grok 4.6 measured
GSO-Bench37.3%Not measuredOnly Claude Sonnet 5 measured
WeirdML68.8%67.3%Claude Sonnet 5
ALE-Bench1463.11508.1Grok 4.6
LMArena Text: coding14831466Claude Sonnet 5
LMArena Text: software and IT14741457Claude Sonnet 5
LMArena WebDev: React15411631Grok 4.6
LMArena WebDev: HTML15271597Grok 4.6
LMArena WebDev: from an image15401603Grok 4.6
SciCode10.7%Not measuredOnly Claude Sonnet 5 measured
Neither model has a result on the other 13 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for Claude Sonnet 5 and Grok 4.6
BenchmarkClaude Sonnet 5Grok 4.6Leader
AA Intelligence Index38.244.3Grok 4.6
Epoch Capabilities Index156.9156.6Claude Sonnet 5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index415
Agentic work benchmarks for Claude Sonnet 5 and Grok 4.6
BenchmarkClaude Sonnet 5Grok 4.6Leader
AA Agentic Index43.653.0Grok 4.6
Design Arena: agents building web apps12451248Grok 4.6
Design Arena: agents building full-stack apps12491264Grok 4.6
Design Arena: agents building mobile apps12151234Grok 4.6
Design Arena: agents building Android apps12271291Grok 4.6
Design Arena: agents building Godot games12251276Grok 4.6
Design Arena: agents building games12271209Claude Sonnet 5
Design Arena: HTML slides11681250Grok 4.6
Design Arena: PowerPoint slides11911237Grok 4.6
Design Arena: spreadsheets1035Not measuredOnly Claude Sonnet 5 measured
LiveBench research82.8%84.5%Grok 4.6
LiveBench browser72.0%64.0%Claude Sonnet 5
LiveBench long agentic39.0%40.7%Grok 4.6
SREBench (Vals AI)0.4%Not measuredOnly Claude Sonnet 5 measured
Finance Agent (Vals AI)53.9%53.7%Claude Sonnet 5
Tax Agent Bench (Vals AI)29.4%33.1%Grok 4.6
Legal Research Bench (Vals AI)41.8%48.1%Grok 4.6
Excel Modeling Benchmark (Vals AI)66.3%62.7%Claude Sonnet 5
BioMysteryBench (Vals AI)Not measured72.2%Only Grok 4.6 measured
Terminal-Bench-Science (Vals AI)5.7%11.4%Grok 4.6
Vals Science IndexNot measured38.1%Only Grok 4.6 measured
Time Horizon Index (Vals AI)Not measured5.8%Only Grok 4.6 measured
APEX-Agents54.5%65.3%Grok 4.6
Vending-Bench 2$6,378$9,047Grok 4.6
Neither model has a result on the other 17 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index76
Reasoning benchmarks for Claude Sonnet 5 and Grok 4.6
BenchmarkClaude Sonnet 5Grok 4.6Leader
GPQA Diamond88.9%94.7%Grok 4.6
LiveBench reasoning88.7%91.2%Grok 4.6
MysteryMechanism (Vals AI)Not measured30.6%Only Grok 4.6 measured
MMMU Pro (Vals AI)83.0%Not measuredOnly Claude Sonnet 5 measured
GPQA Diamond (Artificial Analysis run)91.1%94.9%Grok 4.6
Humanity's Last Exam (Artificial Analysis run)41.3%44.1%Grok 4.6
GPQA Diamond (Epoch AI run)90.5%94.0%Grok 4.6
ARC-AGINot measured87.5%Only Grok 4.6 measured
ARC-AGI-2Not measured67.1%Only Grok 4.6 measured
SimpleBench60.6%75.9%Grok 4.6
Chess puzzles45.0%33.0%Claude Sonnet 5
Mystery game puzzles35.0%34.0%Claude Sonnet 5
EBR-benchNot measured30.5%Only Grok 4.6 measured
LMArena Text: hard prompts14611448Claude Sonnet 5
LMArena Text: expert14891469Claude Sonnet 5
LMArena Text: hard prompts in English14641445Claude Sonnet 5
LMArena Vision: diagrams12931285Claude Sonnet 5
LMArena Vision: homework13111283Claude Sonnet 5
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index33
Math benchmarks for Claude Sonnet 5 and Grok 4.6
BenchmarkClaude Sonnet 5Grok 4.6Leader
OTIS Mock AIME94.7%99.2%Grok 4.6
FrontierMath, tiers 1 to 365.6%66.0%Grok 4.6
FrontierMath, tier 429.3%31.7%Grok 4.6
ProofBench77.0%51.0%Claude Sonnet 5
LMArena Text: math14671417Claude Sonnet 5
LMArena Text: mathematical work14811464Claude Sonnet 5
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index83
Knowledge benchmarks for Claude Sonnet 5 and Grok 4.6
BenchmarkClaude Sonnet 5Grok 4.6Leader
MMLU Pro87.5%89.4%Grok 4.6
LegalBench (Vals AI)83.9%86.3%Grok 4.6
CorpFin (Vals AI)67.0%66.2%Claude Sonnet 5
TaxEval (Vals AI)75.6%71.1%Claude Sonnet 5
MortgageTax (Vals AI)70.0%64.2%Claude Sonnet 5
MedCode (Vals AI)47.5%44.7%Claude Sonnet 5
SimpleQA Verified33.7%49.3%Grok 4.6
LMArena Text: science14601437Claude Sonnet 5
LMArena Text: medicine and healthcare14421420Claude Sonnet 5
LMArena Text: legal and government14541429Claude Sonnet 5
LMArena Text: business and finance14361416Claude Sonnet 5
Neither model has a result on the other 7 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index18
Web design benchmarks for Claude Sonnet 5 and Grok 4.6
BenchmarkClaude Sonnet 5Grok 4.6Leader
Design Arena: websites12741289Grok 4.6
Design Arena: UI components12771294Grok 4.6
Design Arena: game dev12771296Grok 4.6
Design Arena: data viz12511282Grok 4.6
Design Arena: 3D12611277Grok 4.6
Design Arena: all code categories12751292Grok 4.6
Design Arena: SVG11921240Grok 4.6
Design Arena: ASCII art12071279Grok 4.6
LiveBench design82.0%79.8%Claude Sonnet 5
GeneralLike-for-likePublic boards, shown as published, kept out of the index229
General benchmarks for Claude Sonnet 5 and Grok 4.6
BenchmarkClaude Sonnet 5Grok 4.6Leader
LiveBench data analysis71.7%75.3%Grok 4.6
Public Benefits Bench (Vals AI)66.0%66.8%Grok 4.6
SAGE (Vals AI)48.9%28.9%Claude Sonnet 5
MedScribe (Vals AI)76.0%86.5%Grok 4.6
Vals Multimodal Index68.8%Not measuredOnly Claude Sonnet 5 measured
Long context reasoning (AA-LCR)82.0%81.0%Claude Sonnet 5
DTBench92.5%97.3%Grok 4.6
LMCA50.0%48.5%Claude Sonnet 5
Surface Evolver Bench60.0%Not measuredOnly Claude Sonnet 5 measured
Furniture assemblyNot measured40.0%Only Grok 4.6 measured
LMArena Text14421429Claude Sonnet 5
LMArena Text: instruction following14521431Claude Sonnet 5
LMArena Text: creative writing14161426Grok 4.6
LMArena Vision12731263Claude Sonnet 5
LMArena Text: English14501433Claude Sonnet 5
LMArena Text: non-English14311420Claude Sonnet 5
LMArena Text: Chinese14781476Claude Sonnet 5
LMArena Text: German14421426Claude Sonnet 5
LMArena Text: Japanese14221378Claude Sonnet 5
LMArena Text: Korean14121391Claude Sonnet 5
LMArena Text: French14631455Claude Sonnet 5
LMArena Text: Spanish14381414Claude Sonnet 5
LMArena Text: Russian14501421Claude Sonnet 5
LMArena Text: Polish14251430Grok 4.6
LMArena Text: multi-turn14531425Claude Sonnet 5
LMArena Text: longer queries14621456Claude Sonnet 5
LMArena Text: writing and language14361429Claude Sonnet 5
LMArena Text: entertainment and media14111421Grok 4.6
LMArena Vision: English12751270Claude Sonnet 5
LMArena Vision: Chinese13311289Claude Sonnet 5
LMArena Vision: reading text12881272Claude Sonnet 5
LMArena Vision: humor12611270Grok 4.6
LMArena Vision: creative writing12461262Grok 4.6
LMArena Document14661452Claude Sonnet 5
Neither model has a result on the other 12 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Sonnet 5 and Grok 4.6
BenchmarkClaude Sonnet 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 5$0.0070Fits 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 5$0.130Fits 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 5$0.500Fits 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 5 and Grok 4.6
SpecificationAnthropic Claude Sonnet 5SpaceXAI Grok 4.6
MakerAnthropicxAI
WeightsNo public weights listedNo public weights listed
ReleasedJune 30, 2026August 12, 2026
Context window1M500K
Input $/Mtok$2.00$2.00
Output $/Mtok$10.00$6.00
Coding index57.765.7
Independent measurements behind it66
Cost per solved task$1.87$0.82
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 5 better than Grok 4.6 for coding?

Pick Grok 4.6 for coding: it scores 65.7 on the Vibe Coding Index against 57.7 for Claude Sonnet 5. Pick Claude Sonnet 5 for a larger context window (1M against 500K tokens) and work measured by Vibe Code Bench (Vals AI) or CyberBench (Vals AI), where it leads.

Which is cheaper, Claude Sonnet 5 or Grok 4.6?

Claude Sonnet 5 costs $2.00 per million input tokens and $10.00 per million output tokens; Grok 4.6 costs $2.00 and $6.00. Per solved SWE-bench Verified task, Claude Sonnet 5 costs $1.87 and Grok 4.6 $0.82.

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

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

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

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