Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Sonnet 4 vs Llama 4 Maverick

Anthropic · released

Wins 6 of 7 areas

Coding · Agents · Reasoning · Images and charts · Long documents · Following instructions

Meta · released

Wins 0 of 7 areas

—

Claude Sonnet 4 is the stronger all-rounder.Llama 4 Maverick is cheaper.

Scores updated · 27 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$3.00 to read · $15.00 to write$18Price from anthropic
Llama 4 Maverick$0.25 to read · $0.87 to write$1.12Price from Artificial Analysis

Llama 4 Maverick costs 94% 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 Sonnet 4 pulls ahead

  • Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+59.8points aheadClaude Sonnet 470.9Llama 4 Maverick11.1
  • Fixes real GitHub issues in Python projectsSWE-bench Verified+51.7points aheadClaude Sonnet 472.7Llama 4 Maverick21
  • Long, multi-file coding tasks in real codebasesSWE-bench Pro+37.5points aheadClaude Sonnet 442.7Llama 4 Maverick5.2

Where Llama 4 Maverick pulls ahead

Every test, side by side

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

CodingClaude Sonnet 4

Full coding ranking

AgentsClaude Sonnet 4

Full agents ranking

ReasoningClaude Sonnet 4

Full reasoning ranking

FactsEven

Full facts ranking

Images and chartsClaude Sonnet 4

Full images and charts ranking

Long documentsClaude Sonnet 4
  • AA-LCRClaude Sonnet 4 by 20.370.350+20.3

Full long documents ranking

Following instructionsClaude Sonnet 4
  • IFBenchClaude Sonnet 4 by 11.754.743+11.7

Full following instructions ranking

Other results9 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 or Llama 4 Maverick?

Claude Sonnet 4 wins six of the seven areas where both have results: coding, agents, reasoning, images and charts, long documents and following instructions. Llama 4 Maverick wins none, but costs 94% less. They are level on facts.

Which is better for coding?

Claude Sonnet 4. It wins 5 of the 5 coding tests both models report; Llama 4 Maverick wins none.

Which is cheaper?

Claude Sonnet 4 costs $3.00 per million input tokens and $15.00 per million output tokens; Llama 4 Maverick costs $0.25 and $0.87. That makes Llama 4 Maverick about 94% cheaper for the same work.

How do you compare the two?

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