Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Sonnet 4.5 vs Grok 4

Anthropic · released

Wins 2 of 8 areas

Long documents · Following instructions

SpaceXAI · released

Wins 5 of 8 areas

Coding · Agents · Reasoning · Facts · Math

Grok 4 is the stronger all-rounder.Claude Sonnet 4.5 is better at long documents.

Scores updated · 34 tests both models report · How we compare

What it costs

Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.

Claude Sonnet 4.5$3.00 to read · $15.00 to write$18Price from Artificial Analysis
Grok 4$3.00 to read · $15.00 to write$18Price from Artificial Analysis

The biggest differences

The three tests each model wins by the widest margin. Scores are out of 100.

Where Grok 4 pulls ahead

  • Short factual questions, answered correctlySimpleQA Verified+17.2points aheadGrok 447.9Claude Sonnet 4.530.7
  • Very hard expert questions across many subjectsHumanity's Last Exam+8.9points aheadGrok 426.7Claude Sonnet 4.517.8
  • Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+7.6points aheadGrok 440.5Claude Sonnet 4.532.9

Where Claude Sonnet 4.5 pulls ahead

  • Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+15.4points aheadClaude Sonnet 4.550.9Grok 435.5
  • Reasons across sets of long documentsAA-LCR+4.3points aheadClaude Sonnet 4.572.3Grok 468
  • Follows unfamiliar, precisely checkable instructionsIFBench+3.6points aheadClaude Sonnet 4.557.3Grok 453.7

Every test, side by side

All 34 tests both models report. The winning score is in its model's colour; marks a score checked independently.

CodingGrok 4

Full coding ranking

AgentsGrok 4
  • GDPValGrok 4 by 4.120.524.6+4.1

Full agents ranking

ReasoningGrok 4

Full reasoning ranking

FactsGrok 4

Full facts ranking

Images and chartsEven

Full images and charts ranking

MathGrok 4

Full math ranking

Long documentsClaude Sonnet 4.5
  • AA-LCRClaude Sonnet 4.5 by 4.372.368+4.3

Full long documents ranking

Following instructionsClaude Sonnet 4.5
  • IFBenchClaude Sonnet 4.5 by 3.657.353.7+3.6

Full following instructions ranking

Other results20 tests, not counted

Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.

Questions people ask

Which is better, Claude Sonnet 4.5 or Grok 4?

Grok 4 wins five of the eight areas we test: coding, agents, reasoning, facts and math. Claude Sonnet 4.5 wins long documents and following instructions. They are level on images and charts.

Which is better for coding?

Grok 4. It wins 1 of the 2 coding tests both models report; Claude Sonnet 4.5 wins none, and 1 is a tie.

Which is cheaper?

Claude Sonnet 4.5 costs $3.00 per million input tokens and $15.00 per million output tokens; Grok 4 costs $3.00 and $15.00. For a million tokens read plus a million written, they cost about the same.

How do you compare the two?

We use the 34 benchmark tests both models have published scores on. The verdict counts the 14 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 20 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.