Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Opus 4.7 vs Grok 4.20

Anthropic · released

Wins 7 of 8 areas

Coding · Agents · Reasoning · Facts · Images and charts · Math · Long documents

SpaceXAI · released

Wins 1 of 8 areas

Following instructions

Claude Opus 4.7 is the stronger all-rounder.Grok 4.20 is cheaper and better at following instructions.

Scores updated · 23 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 Opus 4.7$5.00 to read · $25.00 to write$30Price from Artificial Analysis
Grok 4.20$1.25 to read · $2.50 to write$3.75Price from SpaceXAI's own price page

Grok 4.20 costs 88% less for the same work.

The biggest differences

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

Where Claude Opus 4.7 pulls ahead

Where Grok 4.20 pulls ahead

  • Follows unfamiliar, precisely checkable instructionsIFBench+24.3points aheadGrok 4.2082.9Claude Opus 4.758.6
  • Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+19.9points aheadGrok 4.2077.6Claude Opus 4.757.7

Every test, side by side

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

CodingClaude Opus 4.7

Full coding ranking

AgentsClaude Opus 4.7

Full agents ranking

ReasoningClaude Opus 4.7

Full reasoning ranking

FactsClaude Opus 4.7

Full facts ranking

Images and chartsClaude Opus 4.7
  • MMMU-ProClaude Opus 4.7 by 5.678.873.2+5.6

Full images and charts ranking

MathClaude Opus 4.7

Full math ranking

Long documentsClaude Opus 4.7
  • AA-LCRClaude Opus 4.7 by 1178.767.7+11

Full long documents ranking

Following instructionsGrok 4.20
  • IFBenchGrok 4.20 by 24.358.682.9+24.3

Full following instructions ranking

Other results7 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 Opus 4.7 or Grok 4.20?

Claude Opus 4.7 wins seven of the eight areas we test: coding, agents, reasoning, facts, images and charts, math and long documents. Grok 4.20 wins following instructions, and costs 88% less.

Which is better for coding?

Claude Opus 4.7. It wins 2 of the 2 coding tests both models report; Grok 4.20 wins none.

Which is cheaper?

Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; Grok 4.20 costs $1.25 and $2.50. That makes Grok 4.20 about 88% cheaper for the same work.

How do you compare the two?

We use the 23 benchmark tests both models have published scores on. The verdict counts the 16 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 7 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.