Enter opens the highlighted result. Esc closes.

Claude Sonnet 5 vs Grok 4.3

Claude Sonnet 5 leads Grok 4.3 on coding, 57.7 to 37.4 on the Vibe Coding Index, and Grok 4.3 costs 4.0x less per output token ($2.50 vs $10.00 per million). Updated October 21, 2026; 98 benchmarks have a result for both.

Claude Sonnet 5Anthropic
Coding
57.7
Overall
63.2
Output $/M
$10.00
92
Grok 4.3xAI
Coding
37.4
Overall
53.1
Output $/M
$2.50
5
vs boards won of 98 shared, 1 tied

Claude Sonnet 5 or Grok 4.3: which to pick

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

Pick Grok 4.3 for output tokens 4.0x cheaper ($2.50 vs $10.00 per million) and a lower cost per solved task ($0.31 against $1.87).

Shared results
98
Claude Sonnet 5 only
23
Grok 4.3 only
6
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.3 37.4 from 3 benchmarks.
Widest category
Agentic work, 28.4 points apart on average over 14 shared benchmarks.
Widest single gap
ProofBench: Claude Sonnet 5 77.0% against Grok 4.3 11.0%, 66.0 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 5 $10.00 against Grok 4.3 $2.50 per million output tokens, 4.0x apart.
Context window
Both take 1M tokens.

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.3Ties
Coding1511 tie
Intelligence10
Agentic work140
Reasoning92
Math60
Knowledge92
Web design80
General300
All shared boards9251 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index151
Coding benchmarks for Claude Sonnet 5 and Grok 4.3
BenchmarkClaude Sonnet 5Grok 4.3Leader
LiveBench coding74.7%Not measuredOnly Claude Sonnet 5 measured
LMArena WebDev15401358Claude Sonnet 5
AA Coding Index71.542.2Claude Sonnet 5
LiveCodeBench (Vals AI)82.4%84.5%Grok 4.3
SWE-bench Verified (Vals AI)79.6%71.4%Claude Sonnet 5
Terminal-Bench 4 (Vals AI)10.6%Not measuredOnly Claude Sonnet 5 measured
Vibe Code Bench (Vals AI)81.3%19.4%Claude Sonnet 5
Code migration (Vals AI)44.4%6.8%Claude Sonnet 5
ProgramBench (Vals AI)0.0%0.0%Tie
IOI (Vals AI)45.0%Not measuredOnly Claude Sonnet 5 measured
Terminal-Bench 2.1 (Vals AI)74.5%42.0%Claude Sonnet 5
Vibe Code Bench 1-100 (Vals AI)13.8%Not measuredOnly Claude Sonnet 5 measured
SkillsBench (Vals AI)46.5%40.6%Claude Sonnet 5
CyberBench (Vals AI)70.3%Not measuredOnly Claude Sonnet 5 measured
SciCode54.3%48.3%Claude Sonnet 5
Terminal-Bench Hard (Artificial Analysis run)Not measured37.9%Only Grok 4.3 measured
FrontierCode42.7%Not measuredOnly Claude Sonnet 5 measured
GSO-Bench37.3%Not measuredOnly Claude Sonnet 5 measured
WeirdML68.8%49.9%Claude Sonnet 5
ALE-Bench1463.1944.2Claude Sonnet 5
LMArena Text: coding14831415Claude Sonnet 5
LMArena Text: software and IT14741416Claude Sonnet 5
LMArena WebDev: React15411353Claude Sonnet 5
LMArena WebDev: HTML15271367Claude Sonnet 5
LMArena WebDev: from an image15401375Claude Sonnet 5
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 index10
Intelligence benchmarks for Claude Sonnet 5 and Grok 4.3
BenchmarkClaude Sonnet 5Grok 4.3Leader
AA Intelligence Index38.224.9Claude Sonnet 5
Epoch Capabilities Index156.9Not measuredOnly Claude Sonnet 5 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index140
Agentic work benchmarks for Claude Sonnet 5 and Grok 4.3
BenchmarkClaude Sonnet 5Grok 4.3Leader
AA Agentic Index43.615.5Claude Sonnet 5
Design Arena: agents building web apps12451126Claude Sonnet 5
Design Arena: agents building full-stack apps12491006Claude Sonnet 5
Design Arena: agents building mobile apps12151059Claude Sonnet 5
Design Arena: agents building Android apps1225961Claude Sonnet 5
Design Arena: agents building Godot games1225914Claude Sonnet 5
Design Arena: agents building games12271007Claude Sonnet 5
Design Arena: HTML slides12181008Claude Sonnet 5
Design Arena: PowerPoint slides12161013Claude Sonnet 5
Design Arena: spreadsheets1021Not measuredOnly Claude Sonnet 5 measured
LiveBench research82.8%Not measuredOnly Claude Sonnet 5 measured
LiveBench browser72.0%Not measuredOnly Claude Sonnet 5 measured
LiveBench long agentic39.0%Not measuredOnly Claude Sonnet 5 measured
SREBench (Vals AI)0.4%Not measuredOnly Claude Sonnet 5 measured
Finance Agent (Vals AI)53.9%37.7%Claude Sonnet 5
Tax Agent Bench (Vals AI)29.4%6.2%Claude Sonnet 5
Legal Research Bench (Vals AI)41.8%15.4%Claude Sonnet 5
Excel Modeling Benchmark (Vals AI)66.3%18.4%Claude Sonnet 5
Terminal-Bench-Science (Vals AI)5.7%Not measuredOnly Claude Sonnet 5 measured
τ²-Bench TelecomNot measured97.7%Only Grok 4.3 measured
APEX-Agents54.5%Not measuredOnly Claude Sonnet 5 measured
Vending-Bench 2$6,378$35Claude Sonnet 5
LMArena SearchNot measured1166Only Grok 4.3 measured
Neither model has a result on the other 18 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index92
Reasoning benchmarks for Claude Sonnet 5 and Grok 4.3
BenchmarkClaude Sonnet 5Grok 4.3Leader
GPQA Diamond88.9%91.4%Grok 4.3
LiveBench reasoning88.7%Not measuredOnly Claude Sonnet 5 measured
MMMU Pro (Vals AI)83.0%83.1%Grok 4.3
GPQA Diamond (Artificial Analysis run)91.1%90.1%Claude Sonnet 5
Humanity's Last Exam (Artificial Analysis run)41.3%37.2%Claude Sonnet 5
GPQA Diamond (Epoch AI run)90.5%88.8%Claude Sonnet 5
SimpleBench60.6%Not measuredOnly Claude Sonnet 5 measured
Chess puzzles45.0%18.0%Claude Sonnet 5
Mystery game puzzles35.0%Not measuredOnly Claude Sonnet 5 measured
LMArena Text: hard prompts14611396Claude Sonnet 5
LMArena Text: expert14891384Claude Sonnet 5
LMArena Text: hard prompts in English14641402Claude Sonnet 5
LMArena Vision: diagrams12931241Claude Sonnet 5
LMArena Vision: homework13111241Claude Sonnet 5
Neither model has a result on the other 8 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index60
Math benchmarks for Claude Sonnet 5 and Grok 4.3
BenchmarkClaude Sonnet 5Grok 4.3Leader
OTIS Mock AIME94.7%93.3%Claude Sonnet 5
FrontierMath, tiers 1 to 365.6%42.8%Claude Sonnet 5
FrontierMath, tier 429.3%14.6%Claude Sonnet 5
ProofBench77.0%11.0%Claude Sonnet 5
LMArena Text: math14671387Claude Sonnet 5
LMArena Text: mathematical work14811396Claude Sonnet 5
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index92
Knowledge benchmarks for Claude Sonnet 5 and Grok 4.3
BenchmarkClaude Sonnet 5Grok 4.3Leader
MMLU Pro87.5%85.8%Claude Sonnet 5
LegalBench (Vals AI)83.9%84.5%Grok 4.3
CaseLaw (Vals AI)Not measured79.3%Only Grok 4.3 measured
CorpFin (Vals AI)67.0%68.5%Grok 4.3
TaxEval (Vals AI)75.6%70.8%Claude Sonnet 5
MortgageTax (Vals AI)70.0%48.3%Claude Sonnet 5
MedCode (Vals AI)47.5%38.1%Claude Sonnet 5
SimpleQA Verified33.7%33.2%Claude Sonnet 5
LMArena Text: science14601399Claude Sonnet 5
LMArena Text: medicine and healthcare14421384Claude Sonnet 5
LMArena Text: legal and government14541386Claude Sonnet 5
LMArena Text: business and finance14361381Claude Sonnet 5
Neither model has a result on the other 6 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index80
Web design benchmarks for Claude Sonnet 5 and Grok 4.3
BenchmarkClaude Sonnet 5Grok 4.3Leader
Design Arena: websites12741196Claude Sonnet 5
Design Arena: UI components12801192Claude Sonnet 5
Design Arena: game dev12781174Claude Sonnet 5
Design Arena: data viz12511179Claude Sonnet 5
Design Arena: 3D12611125Claude Sonnet 5
Design Arena: all code categories12761187Claude Sonnet 5
Design Arena: SVG11931081Claude Sonnet 5
Design Arena: ASCII art12071125Claude Sonnet 5
LiveBench design82.0%Not measuredOnly Claude Sonnet 5 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index300
General benchmarks for Claude Sonnet 5 and Grok 4.3
BenchmarkClaude Sonnet 5Grok 4.3Leader
LiveBench data analysis71.7%Not measuredOnly Claude Sonnet 5 measured
Public Benefits Bench (Vals AI)66.0%51.7%Claude Sonnet 5
SAGE (Vals AI)48.9%19.7%Claude Sonnet 5
MedScribe (Vals AI)76.0%74.4%Claude Sonnet 5
Vals Multimodal Index68.8%43.3%Claude Sonnet 5
IFBenchNot measured83.3%Only Grok 4.3 measured
Long context reasoning (AA-LCR)82.0%75.0%Claude Sonnet 5
DTBench92.5%90.7%Claude Sonnet 5
LMCA50.0%38.3%Claude Sonnet 5
Surface Evolver Bench60.0%Not measuredOnly Claude Sonnet 5 measured
LMArena Text14421397Claude Sonnet 5
LMArena Text: instruction following14521366Claude Sonnet 5
LMArena Text: creative writing14161380Claude Sonnet 5
LMArena Vision12731229Claude Sonnet 5
LMArena Text: English14501404Claude Sonnet 5
LMArena Text: non-English14311385Claude Sonnet 5
LMArena Text: Chinese14781422Claude Sonnet 5
LMArena Text: German14421395Claude Sonnet 5
LMArena Text: Japanese14221379Claude Sonnet 5
LMArena Text: Korean14121354Claude Sonnet 5
LMArena Text: French14631411Claude Sonnet 5
LMArena Text: Spanish14381399Claude Sonnet 5
LMArena Text: Russian14501399Claude Sonnet 5
LMArena Text: Polish14251398Claude Sonnet 5
LMArena Text: multi-turn14531406Claude Sonnet 5
LMArena Text: longer queries14621393Claude Sonnet 5
LMArena Text: writing and language14361385Claude Sonnet 5
LMArena Text: entertainment and media14111370Claude Sonnet 5
LMArena Vision: English12751235Claude Sonnet 5
LMArena Vision: Chinese13311257Claude Sonnet 5
LMArena Vision: reading text12881235Claude Sonnet 5
LMArena Vision: humor12611222Claude Sonnet 5
LMArena Vision: recognizing thingsNot measured1217Only Grok 4.3 measured
LMArena Vision: creative writing12461237Claude Sonnet 5
LMArena Document1466Not measuredOnly Claude Sonnet 5 measured
Neither model has a result on the other 11 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.3
BenchmarkClaude Sonnet 5Grok 4.3Leader
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.3$0.0025Fits in one request

Grok 4.3 costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 5$0.130Fits in one request
Grok 4.3$0.070Fits in one request

Grok 4.3 costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 5$0.500Fits in one request
Grok 4.3$0.275Fits in one request

Grok 4.3 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.3
SpecificationAnthropic Claude Sonnet 5SpaceXAI Grok 4.3
MakerAnthropicxAI
WeightsNo public weights listedNo public weights listed
ReleasedJune 30, 2026April 30, 2026
Context window1M1M
Input $/Mtok$2.00$1.25
Output $/Mtok$10.00$2.50
Coding index57.737.4
Independent measurements behind it63
Cost per solved task$1.87$0.31
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 5 better than Grok 4.3 for coding?

Pick Claude Sonnet 5 for coding: it scores 57.7 on the Vibe Coding Index against 37.4 for Grok 4.3. Pick Grok 4.3 for output tokens 4.0x cheaper ($2.50 vs $10.00 per million) and a lower cost per solved task ($0.31 against $1.87).

Which is cheaper, Claude Sonnet 5 or Grok 4.3?

Claude Sonnet 5 costs $2.00 per million input tokens and $10.00 per million output tokens; Grok 4.3 costs $1.25 and $2.50. Per solved SWE-bench Verified task, Claude Sonnet 5 costs $1.87 and Grok 4.3 $0.31.

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

Neither: both take 1M tokens.

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

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