Claude Sonnet 5 vs Llama 4 Scout
Claude Sonnet 5 leads Llama 4 Scout on the Artificial Analysis Intelligence Index, 38.2 to 6.5, and Llama 4 Scout costs 20.0x less per output token ($0.50 vs $10.00 per million). Updated October 22, 2026; 64 benchmarks have a result for both.
Claude Sonnet 5 or Llama 4 Scout: which to pick
Only Claude Sonnet 5 has a coding score, 57.7 on the Vibe Coding Index; Llama 4 Scout has none, so the two cannot be ranked on coding.
Pick Llama 4 Scout for output tokens 20.0x cheaper ($0.50 vs $10.00 per million) and a lower cost per solved task ($1.276 against $1.87).
- Shared results
- 64
- Claude Sonnet 5 only
- 57
- Llama 4 Scout only
- 18
- Like-for-like categories
- 8 of 9
Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Only Claude Sonnet 5 has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
Claude Sonnet 5
Claude Sonnet 5 leads, 38.2 against 6.5.
Same board, both measured
Agentic work
AA Agentic Index
Claude Sonnet 5
Claude Sonnet 5 leads, 43.6 against 0.5.
Same board, both measured
Reasoning
GPQA Diamond
Claude Sonnet 5
Claude Sonnet 5 leads, 88.9% against 47.0%.
Same board, both measured
Math
AIME
No call
Only Llama 4 Scout has a AIME result, 19.0%.
Directional only
Knowledge
MMLU Pro
Claude Sonnet 5
Claude Sonnet 5 leads, 87.5% against 69.6%.
Same board, both measured
Web design
Design Arena: websites
Claude Sonnet 5
Claude Sonnet 5 leads, 1274 against 750.
Same board, both measured
Long documents
Listed context window
Llama 4 Scout
Llama 4 Scout takes 1.31M tokens against 1M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Llama 4 Scout
Claude Sonnet 5 $0.0070, Llama 4 Scout $0.0004 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Llama 4 Scout
Claude Sonnet 5 $1.87, Llama 4 Scout $1.276.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Sonnet 5 57.7 from 6 benchmarks, Llama 4 Scout not benchmarked.
- Widest category
- Web design, 59.5 points apart on average over 5 shared benchmarks.
- Widest single gap
- OTIS Mock AIME: Claude Sonnet 5 94.7% against Llama 4 Scout 7.8%, 86.9 points apart on a 0 to 100 scale.
- Output price
- Claude Sonnet 5 $10.00 against Llama 4 Scout $0.50 per million output tokens, 20.0x apart.
- Context window
- Claude Sonnet 5 takes 1M tokens, Llama 4 Scout 1.31M.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | Claude Sonnet 5 | Bars | Llama 4 Scout | Ties |
|---|---|---|---|---|
| Coding | 5 | 0 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 10 | 0 | ||
| Math | 3 | 0 | ||
| Knowledge | 10 | 0 | ||
| Web design | 5 | 0 | ||
| General | 28 | 0 | ||
| All shared boards | 64 | 0 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index50
| Benchmark | Claude Sonnet 5 | Llama 4 Scout | Leader |
|---|---|---|---|
| SWE-bench Verified | Not measured | 9.1% | Only Llama 4 Scout measured |
| LiveBench coding | 74.7% | Not measured | Only Claude Sonnet 5 measured |
| LMArena WebDev | 1540 | Not measured | Only Claude Sonnet 5 measured |
| AA Coding Index | 71.5 | 8.2 | Claude Sonnet 5 |
| LiveCodeBench (Vals AI) | 82.4% | 38.5% | Claude Sonnet 5 |
| SWE-bench Verified (Vals AI) | 79.6% | Not measured | Only Claude Sonnet 5 measured |
| Terminal-Bench 4 (Vals AI) | 10.6% | Not measured | Only Claude Sonnet 5 measured |
| Vibe Code Bench (Vals AI) | 81.3% | Not measured | Only Claude Sonnet 5 measured |
| Code migration (Vals AI) | 44.4% | Not measured | Only Claude Sonnet 5 measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only Claude Sonnet 5 measured |
| IOI (Vals AI) | 45.0% | Not measured | Only Claude Sonnet 5 measured |
| Terminal-Bench 2.1 (Vals AI) | 74.5% | Not measured | Only Claude Sonnet 5 measured |
| Vibe Code Bench 1-100 (Vals AI) | 13.8% | Not measured | Only Claude Sonnet 5 measured |
| SkillsBench (Vals AI) | 46.5% | Not measured | Only Claude Sonnet 5 measured |
| CyberBench (Vals AI) | 70.3% | Not measured | Only Claude Sonnet 5 measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 29.9% | Only Llama 4 Scout measured |
| SciCode | 54.3% | 21.3% | Claude Sonnet 5 |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 1.5% | Only Llama 4 Scout measured |
| FrontierCode | 42.7% | Not measured | Only Claude Sonnet 5 measured |
| GSO-Bench | 37.3% | Not measured | Only Claude Sonnet 5 measured |
| WeirdML | 68.8% | Not measured | Only Claude Sonnet 5 measured |
| ALE-Bench | 1463.1 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: coding | 1483 | 1286 | Claude Sonnet 5 |
| LMArena Text: software and IT | 1474 | 1286 | Claude Sonnet 5 |
| LMArena WebDev: React | 1541 | Not measured | Only Claude Sonnet 5 measured |
| LMArena WebDev: HTML | 1527 | Not measured | Only Claude Sonnet 5 measured |
| LMArena WebDev: from an image | 1540 | Not measured | Only Claude Sonnet 5 measured |
| SciCode | 10.7% | Not measured | Only Claude Sonnet 5 measured |
| Neither model has a result on the other 11 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Sonnet 5 | Llama 4 Scout | Leader |
|---|---|---|---|
| AA Intelligence Index | 38.2 | 6.5 | Claude Sonnet 5 |
| Epoch Capabilities Index | 156.9 | 129.6 | Claude Sonnet 5 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Claude Sonnet 5 | Llama 4 Scout | Leader |
|---|---|---|---|
| AA Agentic Index | 43.6 | 0.5 | Claude Sonnet 5 |
| Design Arena: agents building web apps | 1245 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: agents building full-stack apps | 1249 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: agents building mobile apps | 1215 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: agents building Android apps | 1227 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: agents building Godot games | 1225 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: agents building games | 1227 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: HTML slides | 1168 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: PowerPoint slides | 1191 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: spreadsheets | 1035 | Not measured | Only Claude Sonnet 5 measured |
| LiveBench research | 82.8% | Not measured | Only Claude Sonnet 5 measured |
| LiveBench browser | 72.0% | Not measured | Only Claude Sonnet 5 measured |
| LiveBench long agentic | 39.0% | Not measured | Only Claude Sonnet 5 measured |
| SREBench (Vals AI) | 0.4% | Not measured | Only Claude Sonnet 5 measured |
| Finance Agent (Vals AI) | 53.9% | Not measured | Only Claude Sonnet 5 measured |
| Tax Agent Bench (Vals AI) | 29.4% | Not measured | Only Claude Sonnet 5 measured |
| Legal Research Bench (Vals AI) | 41.8% | Not measured | Only Claude Sonnet 5 measured |
| Excel Modeling Benchmark (Vals AI) | 66.3% | Not measured | Only Claude Sonnet 5 measured |
| Terminal-Bench-Science (Vals AI) | 5.7% | Not measured | Only Claude Sonnet 5 measured |
| τ²-Bench Telecom | Not measured | 15.5% | Only Llama 4 Scout measured |
| APEX-Agents | 54.5% | Not measured | Only Claude Sonnet 5 measured |
| Vending-Bench 2 | $6,378 | Not measured | Only Claude Sonnet 5 measured |
| Berkeley Function Calling Leaderboard (BFCL) | Not measured | 28.1% | Only Llama 4 Scout measured |
| Neither model has a result on the other 18 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index100
| Benchmark | Claude Sonnet 5 | Llama 4 Scout | Leader |
|---|---|---|---|
| GPQA Diamond | 88.9% | 47.0% | Claude Sonnet 5 |
| LiveBench reasoning | 88.7% | Not measured | Only Claude Sonnet 5 measured |
| MMMU Pro (Vals AI) | 83.0% | 58.8% | Claude Sonnet 5 |
| GPQA Diamond (Artificial Analysis run) | 91.1% | 58.7% | Claude Sonnet 5 |
| Humanity's Last Exam (Artificial Analysis run) | 41.3% | 3.8% | Claude Sonnet 5 |
| GPQA Diamond (Epoch AI run) | 90.5% | 51.8% | Claude Sonnet 5 |
| ARC-AGI | Not measured | 0.5% | Only Llama 4 Scout measured |
| ARC-AGI-2 | Not measured | 0.0% | Only Llama 4 Scout measured |
| SimpleBench | 60.6% | Not measured | Only Claude Sonnet 5 measured |
| Chess puzzles | 45.0% | Not measured | Only Claude Sonnet 5 measured |
| Mystery game puzzles | 35.0% | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: hard prompts | 1461 | 1266 | Claude Sonnet 5 |
| LMArena Text: expert | 1489 | 1235 | Claude Sonnet 5 |
| LMArena Text: hard prompts in English | 1464 | 1293 | Claude Sonnet 5 |
| LMArena Vision: diagrams | 1293 | 1125 | Claude Sonnet 5 |
| LMArena Vision: homework | 1311 | 1148 | Claude Sonnet 5 |
| Kagi LLM Benchmark | Not measured | 36.9% | Only Llama 4 Scout measured |
| Neither model has a result on the other 5 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index30
| Benchmark | Claude Sonnet 5 | Llama 4 Scout | Leader |
|---|---|---|---|
| AIME | Not measured | 19.0% | Only Llama 4 Scout measured |
| MATH 500 (Vals AI) | Not measured | 79.2% | Only Llama 4 Scout measured |
| MGSM (Vals AI) | Not measured | 88.0% | Only Llama 4 Scout measured |
| AA Math Index | Not measured | 14.0 | Only Llama 4 Scout measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 14.0% | Only Llama 4 Scout measured |
| OTIS Mock AIME | 94.7% | 7.8% | Claude Sonnet 5 |
| FrontierMath, tiers 1 to 3 | 65.6% | Not measured | Only Claude Sonnet 5 measured |
| FrontierMath, tier 4 | 29.3% | Not measured | Only Claude Sonnet 5 measured |
| ProofBench | 77.0% | Not measured | Only Claude Sonnet 5 measured |
| MATH level 5 | Not measured | 62.3% | Only Llama 4 Scout measured |
| LMArena Text: math | 1467 | 1287 | Claude Sonnet 5 |
| LMArena Text: mathematical work | 1481 | 1286 | Claude Sonnet 5 |
| Neither model has a result on the other 1 board here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index100
| Benchmark | Claude Sonnet 5 | Llama 4 Scout | Leader |
|---|---|---|---|
| MMLU Pro | 87.5% | 69.6% | Claude Sonnet 5 |
| LegalBench (Vals AI) | 83.9% | 72.0% | Claude Sonnet 5 |
| CorpFin (Vals AI) | 67.0% | 46.8% | Claude Sonnet 5 |
| TaxEval (Vals AI) | 75.6% | 55.2% | Claude Sonnet 5 |
| MortgageTax (Vals AI) | 70.0% | 57.8% | Claude Sonnet 5 |
| MedQA (Vals AI) | Not measured | 50.9% | Only Llama 4 Scout measured |
| MedCode (Vals AI) | 47.5% | 23.3% | Claude Sonnet 5 |
| MMLU Pro (Artificial Analysis run) | Not measured | 75.2% | Only Llama 4 Scout measured |
| SimpleQA Verified | 33.7% | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: science | 1460 | 1278 | Claude Sonnet 5 |
| LMArena Text: medicine and healthcare | 1442 | 1275 | Claude Sonnet 5 |
| LMArena Text: legal and government | 1454 | 1285 | Claude Sonnet 5 |
| LMArena Text: business and finance | 1436 | 1257 | Claude Sonnet 5 |
| Neither model has a result on the other 5 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | Claude Sonnet 5 | Llama 4 Scout | Leader |
|---|---|---|---|
| Design Arena: websites | 1274 | 750 | Claude Sonnet 5 |
| Design Arena: UI components | 1277 | 765 | Claude Sonnet 5 |
| Design Arena: game dev | 1277 | 772 | Claude Sonnet 5 |
| Design Arena: data viz | 1251 | 896 | Claude Sonnet 5 |
| Design Arena: 3D | 1261 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: all code categories | 1275 | 789 | Claude Sonnet 5 |
| Design Arena: SVG | 1192 | Not measured | Only Claude Sonnet 5 measured |
| Design Arena: ASCII art | 1207 | Not measured | Only Claude Sonnet 5 measured |
| LiveBench design | 82.0% | Not measured | Only Claude Sonnet 5 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index280
| Benchmark | Claude Sonnet 5 | Llama 4 Scout | Leader |
|---|---|---|---|
| LiveBench data analysis | 71.7% | Not measured | Only Claude Sonnet 5 measured |
| Public Benefits Bench (Vals AI) | 66.0% | Not measured | Only Claude Sonnet 5 measured |
| SAGE (Vals AI) | 48.9% | 34.8% | Claude Sonnet 5 |
| MedScribe (Vals AI) | 76.0% | 50.6% | Claude Sonnet 5 |
| Vals Multimodal Index | 68.8% | Not measured | Only Claude Sonnet 5 measured |
| IFBench | Not measured | 39.5% | Only Llama 4 Scout measured |
| Long context reasoning (AA-LCR) | 82.0% | 27.7% | Claude Sonnet 5 |
| DTBench | 92.5% | 57.9% | Claude Sonnet 5 |
| LMCA | 50.0% | 12.0% | Claude Sonnet 5 |
| Fiction.LiveBench | Not measured | 36.0% | Only Llama 4 Scout measured |
| Surface Evolver Bench | 60.0% | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text | 1442 | 1279 | Claude Sonnet 5 |
| LMArena Text: instruction following | 1452 | 1248 | Claude Sonnet 5 |
| LMArena Text: creative writing | 1416 | 1249 | Claude Sonnet 5 |
| LMArena Vision | 1273 | 1118 | Claude Sonnet 5 |
| LMArena Text: English | 1450 | 1304 | Claude Sonnet 5 |
| LMArena Text: non-English | 1431 | 1252 | Claude Sonnet 5 |
| LMArena Text: Chinese | 1478 | 1255 | Claude Sonnet 5 |
| LMArena Text: German | 1442 | 1273 | Claude Sonnet 5 |
| LMArena Text: Japanese | 1422 | 1206 | Claude Sonnet 5 |
| LMArena Text: Korean | 1412 | 1207 | Claude Sonnet 5 |
| LMArena Text: French | 1463 | 1283 | Claude Sonnet 5 |
| LMArena Text: Spanish | 1438 | 1278 | Claude Sonnet 5 |
| LMArena Text: Russian | 1450 | 1263 | Claude Sonnet 5 |
| LMArena Text: Polish | 1425 | 1265 | Claude Sonnet 5 |
| LMArena Text: multi-turn | 1453 | 1280 | Claude Sonnet 5 |
| LMArena Text: longer queries | 1462 | 1265 | Claude Sonnet 5 |
| LMArena Text: writing and language | 1436 | 1269 | Claude Sonnet 5 |
| LMArena Text: entertainment and media | 1411 | 1242 | Claude Sonnet 5 |
| LMArena Vision: English | 1275 | 1143 | Claude Sonnet 5 |
| LMArena Vision: Chinese | 1331 | 1106 | Claude Sonnet 5 |
| LMArena Vision: reading text | 1288 | 1117 | Claude Sonnet 5 |
| LMArena Vision: humor | 1261 | 1102 | Claude Sonnet 5 |
| LMArena Vision: creative writing | 1246 | 1126 | Claude Sonnet 5 |
| LMArena Document | 1466 | Not measured | Only Claude Sonnet 5 measured |
| Neither model has a result on the other 11 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Sonnet 5 | Llama 4 Scout | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
Llama 4 Scout costs less
Repository review
50K input + 3K output tokens
Llama 4 Scout costs less
Agent loop
200K input + 10K output tokens
Llama 4 Scout costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | Anthropic Claude Sonnet 5 | Meta Llama 4 Scout |
|---|---|---|
| Maker | Anthropic | Meta Llama |
| Weights | No public weights listed | Open weights |
| Released | June 30, 2026 | April 5, 2025 |
| Context window | 1M | 1.31M |
| Input $/Mtok | $2.00 | $0.175 |
| Output $/Mtok | $10.00 | $0.50 |
| Coding index | 57.7 | Not benchmarked |
| Independent measurements behind it | 6 | 0 |
| Cost per solved task | $1.87 | $1.276 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Sonnet 5 better than Llama 4 Scout for coding?
Only Claude Sonnet 5 has a coding score, 57.7 on the Vibe Coding Index; Llama 4 Scout has none, so the two cannot be ranked on coding. Pick Llama 4 Scout for output tokens 20.0x cheaper ($0.50 vs $10.00 per million) and a lower cost per solved task ($1.276 against $1.87).
Which is cheaper, Claude Sonnet 5 or Llama 4 Scout?
Claude Sonnet 5 costs $2.00 per million input tokens and $10.00 per million output tokens; Llama 4 Scout costs $0.175 and $0.50. Per solved SWE-bench Verified task, Claude Sonnet 5 costs $1.87 and Llama 4 Scout $1.276.
Which has the bigger context window, Claude Sonnet 5 or Llama 4 Scout?
Llama 4 Scout, with 1.31M tokens against 1M.
How many benchmarks is the Claude Sonnet 5 vs Llama 4 Scout comparison based on?
64 benchmarks have a result for both models as of October 22, 2026. Claude Sonnet 5's coding index rests on 6 independent benchmarks and Llama 4 Scout's on 0. Where only one model has a result, the page says so instead of naming a winner.