Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Sonnet 4.5 vs Llama 3.1 Instruct 405B

Anthropic · released

Wins 6 of 6 areas

Coding · Agents · Reasoning · Facts · Long documents · Following instructions

Meta · released

Wins 0 of 6 areas

—

Claude Sonnet 4.5 is the stronger all-rounder.

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

Where each one wins

Tests won in each of the six areas where both have results. Each piece is one test, so a longer bar means more evidence; grey means the two scored within a point of each other.

Agents and following instructions rest on a single test each.

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
Llama 3.1 Instruct 405BNo current price is tracked.

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.5 pulls ahead

  • Fixes real GitHub issues in Python projectsSWE-bench Verified+52.7points aheadClaude Sonnet 4.577.2Llama 3.1 Instruct 405B24.5
  • Reasons across sets of long documentsAA-LCR+47points aheadClaude Sonnet 4.572.3Llama 3.1 Instruct 405B25.3
  • Long, multi-file coding tasks in real codebasesSWE-bench Pro+32.4points aheadClaude Sonnet 4.543.6Llama 3.1 Instruct 405B11.2

Where Llama 3.1 Instruct 405B pulls ahead

No clear win on a test scored out of 100.

Every test, side by side

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

CodingClaude Sonnet 4.5

Full coding ranking

AgentsClaude Sonnet 4.5
  • GDPValClaude Sonnet 4.5 by 20.520.50+20.5

Full agents ranking

ReasoningClaude Sonnet 4.5

Full reasoning ranking

FactsClaude Sonnet 4.5

Full facts ranking

Long documentsClaude Sonnet 4.5
  • AA-LCRClaude Sonnet 4.5 by 4772.325.3+47
  • LongBench v2Claude Sonnet 4.5 by 25.761.836.1+25.7

Full long documents ranking

Following instructionsClaude Sonnet 4.5
  • IFBenchClaude Sonnet 4.5 by 18.357.339+18.3

Full following instructions ranking

Other results15 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 Llama 3.1 Instruct 405B?

Claude Sonnet 4.5 wins all six areas where both have results: coding, agents, reasoning, facts, long documents and following instructions. Llama 3.1 Instruct 405B wins none.

Which is better for coding?

Claude Sonnet 4.5. It wins 4 of the 4 coding tests both models report; Llama 3.1 Instruct 405B wins none.

How do you compare the two?

We use the 29 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 15 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.