BenchLeader

Claude Sonnet 5 vs Grok 4.7

Full profiles: Claude Sonnet 5 (Anthropic) and Grok 4.7 (SpaceXAI): every benchmark, price and rank.

Updated · Data from 13 sources

As of 16 Nov 2026, Claude Sonnet 5 and Grok 4.7 are neck and neck on quality (59.0 vs 57.4 on the BenchLeader Index, inside the ±3.6 margin), and Grok 4.7 is 1.3× cheaper at $3.00 vs $4.00 per 1M tokens blended. Choose Claude Sonnet 5 for reasoning (65 vs 56), maths (65 vs 56), and multimodal (61 vs 56) and fast first answers (15.8 s vs 55.9 s), where it also streams ~1.5× faster; choose Grok 4.7 for agents & tools (57 vs 53) and coding (61 vs 60).

Key facts (as of 16 Nov 2026)

  • Claude Sonnet 5 scores 59.0 on the BenchLeader Index and Grok 4.7 scores 57.4 (BenchLeader, 16 Nov 2026).
  • Claude Sonnet 5 costs $4.00 per 1M tokens blended (list price, 16 Nov 2026).
  • Grok 4.7 costs $3.00 per 1M tokens blended (list price, 16 Nov 2026).
  • Claude Sonnet 5 streams ~1.5× faster than Grok 4.7 (Artificial Analysis, 7-day median, 16 Nov 2026).
  • Of the 27 benchmarks both models have, Grok 4.7 leads 16 (BenchLeader, 16 Nov 2026).
  • On Arena WebDev, Claude Sonnet 5 is rated 1539 and Grok 4.7 1641 (LMArena, as published by 16 Nov 2026).

Which to pick for…

The pick's numbers come first. Category scores on the BenchLeader scale (50 is the average model, 15 points one standard deviation). High confidence means a lead of half a standard deviation or more; under one point is called either.

Use casePickWhyConfidence
CodingGrok 4.761 vs 60 category score; Arena WebDev 1641 vs 1539Medium
Agents & tool useGrok 4.757 vs 53 category score; Arena Agent 2.6 vs 2Medium
MathsClaude Sonnet 565 vs 56 category score; Arena Maths 1472 vs 1447High
ReasoningClaude Sonnet 565 vs 56 category score; Arena Hard Prompts 1490 vs 1466High
Long documentsEither63 vs 63 category score; AA-LCR v1.1 76.7% vs 76.7%Either
Images and other mediaClaude Sonnet 561 vs 56 category score; Arena Vision 1272 vs 1230Medium
Chat quality (human preference)Claude Sonnet 565 vs 63 on Arena votesMedium
Lowest costGrok 4.7$3.00 vs $4.00 per 1M blended; agentic coding session $0.144 vs $0.160–
Fastest first answerClaude Sonnet 515.8 s (Claude Sonnet 5 (high)) vs 55.9 s (Grok 4.7 (xhigh)) to the first answer token–
High volume on a budgetNeither flagshipA smaller model is usually the better fit: Cheapest good LLMs, Fastest LLMs–

Key differences

  • Claude Sonnet 5 (high) and Grok 4.7 (xhigh) are neck and neck on quality (59.0 vs 57.4, within the ±3.6 margin).
  • Claude Sonnet 5 (high) is stronger in human preference, maths, multimodal, reasoning.
  • Grok 4.7 (xhigh) is stronger in agents & tools, coding.
  • Grok 4.7 (xhigh) is 1.3× cheaper ($3.00 vs $4.00 per 1M blended).
  • Claude Sonnet 5 (high) streams 1.5× faster (99 vs 68 tokens per second).

At a glance

SpecClaude Sonnet 5Grok 4.7
DeveloperAnthropicSpaceXAI
Released30 Jun 202621 Sep 2026
Context window (tokens)1,000,000500,000
Compared atClaude Sonnet 5 (high)Grok 4.7 (xhigh)
Open weightsNoNo
Price in / out / cached input per 1M$2.00 / $10.00 / $0.200$2.00 / $6.00 / $0.500

Category by category

Category scores on the BenchLeader scale: 50 is the average evaluated model, 15 points is one standard deviation. A gap under one point is called level.

CategoryClaude Sonnet 5 (high)Grok 4.7 (xhigh)Leader
Reasoning65.455.6Claude Sonnet 5
Coding59.960.9Grok 4.7
Agents & tools52.956.9Grok 4.7
Maths65.355.8Claude Sonnet 5
Knowledge–59.9not comparable
Human preference64.662.5Claude Sonnet 5
Multimodal60.955.5Claude Sonnet 5
Long context62.962.9level
Composite–52.8not comparable

On one chart

Each domain on the index's own scale, where 50 is an average model. Click a domain to see the benchmarks behind it. Pick up to 5 models from the list.

2550 avg75ReasoningCodingAgents & toolsMathsLong contextMultimodalHumanpreferenceClaude Sonnet 5, Reasoning: 65.4Claude Sonnet 5, Coding: 59.9Claude Sonnet 5, Agents & tools: 52.9Claude Sonnet 5, Maths: 65.3Claude Sonnet 5, Long context: 62.9Claude Sonnet 5, Multimodal: 60.9Claude Sonnet 5, Human preference: 64.6Grok 4.7, Reasoning: 55.6Grok 4.7, Coding: 60.9Grok 4.7, Agents & tools: 56.9Grok 4.7, Maths: 55.8Grok 4.7, Long context: 62.9Grok 4.7, Multimodal: 55.5Grok 4.7, Human preference: 62.5

Not drawn, measured for fewer than two of these models: Knowledge, Instruction following.

Model, click to add or removeIndex

Where sources disagree

Across the 27 benchmarks both have, Claude Sonnet 5 leads 10, Grok 4.7 leads 16 and 1 is a tie. Every overall index that rates both puts Claude Sonnet 5 ahead.

Overall indexClaude Sonnet 5 (high)Grok 4.7 (xhigh)Leader
BenchLeader Index59.057.4neck and neck
Arena Text14611443Claude Sonnet 5

Each publisher runs its own tasks, harnesses and effort settings, so their overall verdicts can differ; BenchLeader reconciles them on one scale. † measured at another effort setting of the same model (the publisher did not test the one compared here).

Price, speed and latency

List prices blended at three input tokens per output token. Per-task prices use the token counts on the methodology page. Cost, tokens and time per benchmark task are measured: Artificial Analysis’ averages over its whole Intelligence Index run.

MeasureClaude Sonnet 5 (high)Grok 4.7 (xhigh)
Blended price per 1M tokens$4.00$3.00
Input / output per 1M$2.00 / $10.00$2.00 / $6.00
Cached input per 1M$0.200$0.500
Price per task: chat reply$0.0038$0.0026
Price per task: summarize a 30-page report$0.030$0.028
Price per task: code edit$0.027$0.021
Price per task: agentic coding session$0.160$0.144
Price per task: structured extraction$0.0060$0.0052
Agentic coding session, input mostly cached$0.079$0.076
Cost per benchmark task (AA Index)–$7.77
Output tokens per task (AA Index)–105k
Of which reasoning–69k
Time per task (AA Index)–26 min
Output speed99 tok/s68 tok/s
Time to first answer15.8 s55.9 s
Time to a complete answer, last measured 13 Nov 202640.7 s145.5 s

Each model is compared at its best-ranked reasoning-effort setting. Claude Sonnet 5 (high) scores 59.0 and takes 16 s to its first answer token; Claude Sonnet 5 (max) scores 56.1 in 158 s, Claude Sonnet 5 (xhigh) scores 55.4 in 32 s. Grok 4.7 (xhigh) scores 57.4 and takes 56 s to its first answer token; Grok 4.7 (high) scores 56.9 in 35 s, Grok 4.7 (low) scores 55.4 in 10 s. Higher effort means more thinking before the answer: better scores, longer waits and more tokens billed. How reasoning effort changes scores and cost.

Every benchmark

177 benchmarks, grouped by category; each name links to the board and its leaders. † measured at another effort setting of the same model, shown for reference and not counted as a win.

MetricPublisherClaude Sonnet 5 (high)Grok 4.7 (xhigh)
BenchLeader IndexBenchLeader59.057.4
Agents & tools scoreBenchLeader52.956.9
Coding scoreBenchLeader59.960.9
Human preference scoreBenchLeader64.662.5
Long context scoreBenchLeader62.962.9
Maths scoreBenchLeader65.355.8
Multimodal scoreBenchLeader60.955.5
Reasoning scoreBenchLeader65.455.6
Composite scoreBenchLeader–52.8
Knowledge scoreBenchLeader–59.9
Blended price $/MBenchLeader$4.00$3.00
Output speedBenchLeader99 tok/s68 tok/s
Time to first answerBenchLeader15.8 s55.9 s
Context windowBenchLeader1,000,000 tokens500,000 tokens
Reasoning
GPQA DiamondEpoch AI Benchmarking Hub80.3%†92.7%
SimpleBenchSimpleBench60.6%†–
Arena Hard PromptsArena (LMArena)14901466
LiveBench 2.0 ReasoningLiveBench–82.7%
LiveBench 1.0 ReasoningLiveBench88.7%†82.7%
GPQA Diamond (AA)Artificial Analysis91.1%†–
Humanity's Last Exam (AA)Artificial Analysis35.7%43.1%
HLE-Diamond (AA)Artificial Analysis–23.2%
GPQA Diamond (Vals)Vals AI88.9%†–
ARC-AGI-1ARC Prize–89.5%
ARC-AGI-2ARC Prize–61.4%
ARC-AGI-3ARC Prize–7.0%
CritPtArtificial Analysis15.1%17.7%
CritPt v2 hard subset (AA)Artificial Analysis–33.5%
MysteryMechanismVals AI–25.2%
HLE-Diamond (Scale)Scale AI SEAL–23.4%†
Arena ExpertArena (LMArena)15091478
Chess PuzzlesEpoch AI Benchmarking Hub45.0%†41.0%
Mystery Game PuzzlesEpoch AI Benchmarking Hub16.0%†29.0%
LMCAEpoch AI Benchmarking Hub50.0%49.4%
DTBenchEpoch AI Benchmarking Hub84.5%96.0%
ForecastBenchForecastBench63.1%†–
BTF-3Epoch AI Benchmarking Hub14.2%†–
Coding
SciCodeSciCode54.3%57.4%
WeirdMLWeirdML68.8%–
Show all 177 benchmarks
MetricPublisherClaude Sonnet 5 (high)Grok 4.7 (xhigh)
Coding
FrontierCodeCognition42.7%†47.6%†
GSO-BenchGSO-Bench37.3%†–
Arena CodingArena (LMArena)15201493
Arena WebDevArena (LMArena)15391641
LiveBench 2.0 CodingLiveBench–73.1%
LiveBench 1.0 CodingLiveBench80.7%†77.2%
LiveCodeBenchVals AI82.4%†–
IOIVals AI45.0%†57.7%
SWE-bench (Vals)Vals AI79.6%†–
Code MigrationVals AI44.4%†44.8%
Code Migration v1.1Vals AI–53.2%
ProgramBenchVals AI0.0%†0.5%
SWE-bench MultimodalVals AI–42.9%
Vibe Code Bench 1-100Vals AI13.8%†–
Vibe Code Bench v1.1Vals AI81.3%†86.2%
Vibe Code Bench 1-100 v1.1Vals AI–26.4%
SWE Atlas v1.1Scale AI SEAL–62.1%†
SWE Atlas v1.1: Codebase QnAScale AI SEAL–73.4%†
SWE Atlas v1.1: Test WritingScale AI SEAL–64.4%†
SWE Atlas v1.1: RefactoringScale AI SEAL–48.6%†
SWE-Bench Pro V2Scale AI SEAL93.2%†–
SWE-Bench Pro V2 HARDScale AI SEAL88.2%†–
MirrorCodeEpoch AI Benchmarking Hub63.3%†54.4%
Surface Evolver BenchEpoch AI Benchmarking Hub60.0%†–
DeepSWE v1.1Epoch AI Benchmarking Hub48.2%–
CursorBenchCursor30.8%46.3%
ALE-BenchEpoch AI Benchmarking Hub1463.11545.8
FrontierSWEEpoch AI Benchmarking Hub–29.5%
WeirdML v3WeirdML–8.4%
Terminal-Bench 4.0 (AA)Artificial Analysis5.0%25.8%
Terminal-Bench 2.1 (AA)Artificial Analysis80.5%†–
Startrise FrontendStartrise66.6%†75.9%†
GameBench 2 OverallDuelLab GameBench 246.6†63.6†
GameBench 2 by reasoning settingDuelLab GameBench 254.4†71.2
Design Arena WebsiteDesign Arena1268†1244†
FrontierCode 1.1 (AA)Artificial Analysis–33.8%
FrontierCode 2.0 (AA)Artificial Analysis17.8%†28.7%
Agents & tools
Terminal-BenchTerminal-Bench12.1%†38.8%
APEX-AgentsMercor54.5%†54.6%†
Arena AgentArena (LMArena)22.6
LiveBench Long AgenticLiveBench–45.3%
LiveBench BrowserLiveBench–49.3%
LiveBench Agentic CodingLiveBench59.4%†54.0%
Terminal-Bench 2.1 (Vals)Vals AI74.5%†73.4%
GDPval-AA v2.1, normalised scoreArtificial Analysis–60.7%
GDPval-AA v2.1Artificial Analysis12621717
τ³-Banking (AA)Artificial Analysis37.3%†–
ITBench SRE (AA)Artificial Analysis–42.1%
Analyst Agent (AA)Artificial Analysis46.3%†52.5%
CyberBenchVals AI61.9%†69.5%
Finance Agent v2Vals AI53.9%†52.3%
Finance Agent v2.1Vals AI–60.6%
Harvey's Legal Agent Benchmark v1.1Vals AI–18.3%
Harvey's Legal Agent Benchmark v1Vals AI5.0%†12.5%
Legal Research BenchVals AI41.8%†47.1%
Robo-benchVals AI–0.2%
SkillsBenchVals AI46.5%†–
SREBenchVals AI0.4%†3.8%
Tax Agent BenchVals AI29.4%†35.8%
Terminal-Bench 4.0 (Vals)Vals AI10.6%†28.8%
Terminal-Bench ScienceVals AI5.7%†10.0%
Arena SearchArena (LMArena)1191†–
Arena Agent Task CompletionArena (LMArena)-0.65.1
GBAEvalEpoch AI Benchmarking Hub65.3%†–
Vending-Bench 2Andon Labs6377.7†10536.8†
AutomationBenchArtificial Analysis32.1%65.6%
GDP.pdf (AA)Artificial Analysis9.4%20.0%
Harvey LAB-AA v1.1Harvey–9.4%
EnterpriseOps-GymArtificial Analysis44.7%†–
AA-Briefcase v1.1Artificial Analysis11771636
GDPxGDPx by SemiAnalysis–3.9%
Design Arena AgenticDesign Arena1222†1277†
Terminal-Bench-Science 0.1 (AA)Artificial Analysis–11.4%
CWE-Bench (AA)Artificial Analysis–68.3%
DeepSec-Bench (AA)Artificial Analysis–26.9%
CyberGym end-to-end (AA)Artificial Analysis–74.0%
MKA (AA)Artificial Analysis–40.1%
FACTS SearchGoogle–85.6%†
Maths
FrontierMath Tiers 1–3Epoch AI Benchmarking Hub65.6%†53.0%
FrontierMath Tier 4Epoch AI Benchmarking Hub29.3%†17.1%
OTIS Mock AIMEEpoch AI Benchmarking Hub80.0%†98.1%
ProofBenchVals AI77.0%†26.0%†
LiveBench MathematicsLiveBench92.9%†95.7%
Arena MathsArena (LMArena)14721447
FrontierMath ErdősEpoch AI Benchmarking Hub–0.0%
Knowledge
SimpleQA VerifiedEpoch AI Benchmarking Hub33.7%†56.0%
LiveBench 2.0 Data AnalysisLiveBench–76.9%
LiveBench ResearchLiveBench–89.5%
LiveBench 1.0 Data AnalysisLiveBench71.7%†76.9%
AA-Omniscience v1.1Artificial Analysis–31.2
MMLU-ProVals AI87.5%†–
LegalBenchVals AI83.9%†84.4%
CorpFinVals AI67.0%†–
TaxEvalVals AI75.6%†–
PRBench LegalScale AI SEAL–47.6%
BioMysteryBenchVals AI–69.3%
Excel Modeling BenchmarkVals AI66.3%†67.0%
Excel Modeling Benchmark v1.1Vals AI–71.5%
MedCodeVals AI47.5%†49.5%
MedScribeVals AI76.0%†89.4%
Public Benefits Bench v1.1Vals AI66.0%†65.6%
Access to Justice BenchmarkVals AI–73.7%
Financial Coaching BenchVals AI–74.1%
Immigration BenchVals AI–68.0%
DrugDiscoveryBenchScale AI SEAL50.0%†–
GDP.pdfEpoch AI Benchmarking Hub–22.8%
AA-Omniscience v1.1: accuracyArtificial Analysis–42.7%
AA-Omniscience v1.1: non-hallucinationArtificial Analysis–80.0%
HealthBench Professional (AA)OpenAI–55.8%
FACTS ParametricGoogle20.5%†54.3%†
Instruction following
LiveBench LanguageLiveBench75.0%†80.1%
LiveBench Instruction FollowingLiveBench63.9%†75.3%
Arena Instruction FollowingArena (LMArena)14671435
Human preference
Arena TextArena (LMArena)14611443
EQ-Bench 4EQ-Bench1221†–
EQ-Bench Creative Writing v3EQ-Bench1798†2012†
Arena Creative WritingArena (LMArena)14341421
Arena Multi-turnArena (LMArena)14731435
Arena Longer QueriesArena (LMArena)14811454
Multimodal
Arena VisionArena (LMArena)12721230
LiveBench DesignLiveBench–75.0%
MMMU-ProArtificial Analysis77.3%†78.2%†
MMMU-Pro (Vals)Vals AI83.0%†–
MortgageTaxVals AI70.0%†–
SAGEVals AI–88.7%
Humanity's Sixth SenseScale AI SEAL24.8%†–
GeoBenchGeoBench74.0%61.0%†
Blueprint-Bench 2Epoch AI Benchmarking Hub24.9%†32.5%†
Furniture AssemblyEpoch AI Benchmarking Hub–20.8%
VIALS-AAHandshake AI–37.9%
Code2Video-AAArtificial Analysis–1127
AA-3DArtificial Analysis–992
FACTS MultimodalGoogle–40.9%†
Long context
AA-LCR v1.1Artificial Analysis76.7%76.7%
Arena DocumentArena (LMArena)1469–
MLCRArtificial Analysis4.4%20.0%
FACTS GroundingGoogle–68.6%†
Composite
Epoch Capabilities IndexEpoch AI Benchmarking Hub156.9†156.2†
LiveBench 2.0LiveBench–67.9%
LiveBench 1.0LiveBench76.0%†77.4%
AA Intelligence Index v5.0.1Artificial Analysis–35.5
AA Intelligence Index v4.3.2Artificial Analysis31.746.5
AA Progress Index v1Artificial Analysis296.8322.7
Vals IndexVals AI–58.6
Vals Finance IndexVals AI–58.8%
Vals RSI IndexVals AI–20.2%
Vals Science IndexVals AI–34.8%
Vals Multimodal IndexVals AI68.8%†–
Vals Router IndexVals AI–58.6%†
Vals Legal IndexVals AI–72.7%
AA Cyber IndexArtificial Analysis–56.4
Safety & honesty
DistressBenchScale AI SEAL68.0%†52.4%†

Data as of 2026-11-16. Best configuration of each model; every score links to its source on the model pages.

DuelLab GameBench 2, release gb2-20261111-7b598bb13de4 (https://benchmarks.duellab.org/releases/gb2-20261111-7b598bb13de4/), CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Scores mapped to BenchLeader model names; not endorsed by DuelLab.

What changed

  • Grok 4.7 (xhigh): BenchLeader Index 58.0 → 57.4.
  • Grok 4.7 (xhigh): 8 new results (LiveBench 2.0, LiveBench Long Agentic, LiveBench 2.0 Reasoning…).
  • Claude Sonnet 5 (high): 2 new results (GDPval-AA v2.1, AA-Briefcase v1.1).
  • Claude Sonnet 5 (high): BenchLeader Index 59.5 → 59.0.
  • Claude Sonnet 5 (high): 1 new result (GeoBench).
  • Grok 4.7 (xhigh): 1 new result (MirrorCode).
  • Grok 4.7 (xhigh): 1 new result (ALE-Bench).
  • Grok 4.7 (xhigh): 2 score revisions.
  • Claude Sonnet 5 (high): 1 score revision.
  • Grok 4.7 (xhigh): 2 score revisions.

Rankings: Best LLM overall · Best LLM for agents · Best cheap LLMs

Claude Sonnet 5 vs Grok 4.7: questions

Is Claude Sonnet 5 better than Grok 4.7?
Claude Sonnet 5 (high) and Grok 4.7 (xhigh) are neck and neck on quality (59.0 vs 57.4, within the ±3.6 margin). The BenchLeader Index combines every independent quality benchmark; the two are within the margin of error as of 16 Nov 2026, so check the category scores for your use.
Claude Sonnet 5 vs Grok 4.7: which is cheaper, and will that change?
Grok 4.7 is cheaper today: $3.00 against $4.00 per million tokens, blended at three input tokens per output token. No price change has been announced for either.
Is Claude Sonnet 5 or Grok 4.7 better for coding?
Grok 4.7 scores higher in coding (61 vs 60 on the category index, where 50 is average). On Arena WebDev, the top shared coding benchmark, it is 1539 for Claude Sonnet 5 against 1641 for Grok 4.7.
Which is faster, Claude Sonnet 5 or Grok 4.7?
Claude Sonnet 5 streams ~1.5× faster (99 vs 68 output tokens per second, Artificial Analysis 7-day median).
Is Claude Sonnet 5 or Grok 4.7 better for agents and tool use?
Grok 4.7 scores higher in agentic tasks (57 vs 53 on the category index, where 50 is average). On Arena Agent, the top shared agents & tools benchmark, it is 2 for Claude Sonnet 5 against 2.6 for Grok 4.7.
More questions (4)
Which is better for long documents?
They are level on long-context benchmarks (63 vs 63). Claude Sonnet 5 accepts more context: 1,000,000 against 500,000 tokens for Grok 4.7.
Which has lower latency?
Claude Sonnet 5 answers first: 15.8 s against 55.9 s to the first answer token, as Artificial Analysis measures it. Reasoning effort drives most of this: a higher setting thinks longer before it answers.
Do independent benchmarks agree on Claude Sonnet 5 vs Grok 4.7?
Across the 27 benchmarks both have, Claude Sonnet 5 leads 10, Grok 4.7 leads 16 and 1 is a tie. Every overall index that rates both puts Claude Sonnet 5 ahead.
When was Grok 4.7 released?
Grok 4.7 was released on 21 Sep 2026.