BenchLeader

Claude Sonnet 5 vs Grok 4

Verdict
  • Claude Sonnet 5 (high) and Grok 4 are level on quality (60.0 vs 59.8).
  • Claude Sonnet 5 (high) is stronger in agents & tools, coding, composite, human preference, knowledge, multimodal, reasoning.
  • Grok 4 is stronger in long context, instruction following, maths.
  • Grok 4 is 2.6× cheaper ($1.56 vs $4.00 per 1M blended).
MetricClaude Sonnet 5 (high)Grok 4
BenchLeader Index60.059.8
Agents & tools score60.853.4
Coding score61.561.2
Composite score63.4
Human preference score65.959.8
Knowledge score58.956.0
Long context score62.177.7
Multimodal score63.154.5
Reasoning score66.558.3
Instruction following score67.7
Maths score58.0
Blended price $/M$4.00$1.56
Output speed68 tok/s
Time to first answer1.8 s
Context window1M256k
GPQA Diamond87.0%
OTIS Mock AIME84.0%
Terminal-Bench27.2%
SimpleBench60.5%
Fiction.LiveBench 120k96.9%
SciCode48.6%
Cybench43.0%
WeirdML68.8%45.7%
APEX-Agents15.2%
Epoch Capabilities Index146.4
LMArena Text14611411
LMArena Hard Prompts14881420
LMArena Coding15211435
LMArena WebDev1537
LMArena Vision12781210
LMArena Agent5.9
AA Intelligence Index32.0
AA-LCR76.7%
AA-Omniscience-3.7
Humanity's Last Exam (AA)35.7%
SciCode (AA)54.3%
AIME (Vals)90.6%
LiveCodeBench83.3%
MMLU-Pro85.3%
LegalBench83.2%
CorpFin66.0%
TaxEval65.1%
MedQA92.5%
MGSM90.9%
SWE-bench (Vals)57.8%
GPQA Diamond (Vals)88.1%
IMO 202521.4%
MathArena Apex2.1%
Kagi LLM Benchmark73.6%
IFEval (HELM)94.9%
Omni-MATH (HELM)60.3%
WildBench (HELM)79.7%
MMLU-Pro (HELM)85.1%
GPQA Diamond (HELM)72.6%
HELM Capabilities mean78.5%
Aider Polyglot79.6%
ARC-AGI-179.6%
ARC-AGI-229.4%
BFCL Overall63.0%

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

Claude Sonnet 5 vs Grok 4: questions

Is Claude Sonnet 5 better than Grok 4?
Claude Sonnet 5 (high) and Grok 4 are level on quality (60.0 vs 59.8). The BenchLeader Index combines every independent quality benchmark; Claude Sonnet 5 (high) is ahead overall as of 2026-09-13, but check the category scores for your use.
Is Claude Sonnet 5 better than Grok 4 for coding?
Claude Sonnet 5 scores higher in coding (62 vs 61 on the category index, where 50 is average).
Is Claude Sonnet 5 better than Grok 4 for agentic tasks?
Claude Sonnet 5 scores higher in agentic tasks (61 vs 53 on the category index, where 50 is average).
Which is cheaper, Claude Sonnet 5 or Grok 4?
Grok 4 is cheaper: $1.56 against $4.00 per million tokens, blended at three input tokens per output token.
Which has the larger context window?
Claude Sonnet 5 accepts more context: 1M against 256k tokens.