Skip to content
benchtopia
  • Fetching the field guide…

Two Anthropic models

Claude Opus 4.8 vs Claude Sonnet 5

Claude Opus 4.8 wins 12 jobs · Claude Sonnet 5 wins 2

Claude Opus 4.8 wins 12 of 14 jobs, Claude Sonnet 5 wins 2. Claude Sonnet 5 is about 2.5× cheaper per token.

Pick Claude Opus 4.8 for

writing code, fixing bugs in real code, building websites and apps, algorithms and speed-ups, math, science, puzzles and tricky thinking, knowing facts, predicting the future, creative writing, everyday chat and understanding pictures and video

$10 per 1M tokens

Pick Claude Sonnet 5 for

long jobs on its own and using tools

$4 per 1M tokens

Job by job

Score = share of today's AI models each one beats on that job's tests (100 = best of all).

Claude Opus 4.8Claude Sonnet 5
  1. Writing code6554
  2. Fixing bugs in real code4836
  3. Building websites and apps7368
  4. Algorithms and speed-ups8173
  5. Math7757
  6. Science7972
  7. Puzzles and tricky thinking7463
  8. Knowing facts7035
  9. Predicting the future8527
  10. Long jobs on its own5259
  11. Using tools4153
  12. Creative writing8170
  13. Everyday chat7967
  14. Understanding pictures and video7558

Specs and price

Claude Opus 4.8Claude Sonnet 5
MakerAnthropicAnthropic
Overall rank#23#36
Price, reading (per 1M tokens)$5$2
Price, writing (per 1M tokens)$25$10
Memory (context window)1M1M
Longest reply128K128K
Reads imagesyesyes
Thinking modeyesyes
Open weightsnono
ReleasedMay 28, 2026June 30, 2026
Tests taken4130

What everyday jobs cost

At list API prices. Chat apps on a monthly plan don't charge per job.

JobClaude Opus 4.8Claude Sonnet 5
Read a 300-page book and answer$0.618$0.247
Fix a bug in a mid-size codebase$1.20$0.48
1,000 customer-support chats$45.00$18.00

Every test both took (30)

Claude Opus 4.8 is ahead on 25, Claude Sonnet 5 on 5. Raw scores as published.

TestClaude Opus 4.8Claude Sonnet 5
LMArena Text14621442
GPQA Diamond91.0%90.5%
OTIS Mock AIME 2024-202598.3%94.7%
DTBench94.9%92.5%
CritPt20.9%16.9%
LMCA57.5%50.0%
SciCode53.5%54.3%
ALE-Bench15641463
WeirdML82.9%69.0%
LMArena Vision12941272
SimpleBench64.8%60.6%
WebDev Arena15591537
Chess Puzzles52.0%45.0%
SimpleQA Verified53.0%33.7%
FrontierMath Tiers 1–3 (v2)80.0%65.6%
ForecastBench66.0%62.9%
Mystery Game Puzzles36.0%35.0%
ProofBench69.0%77.0%
FrontierMath Tier 4 (v2)56.1%29.3%
Vending-Bench 2$5,787$6,378
APEX-Agents48.9%54.5%
FrontierCode46.5%42.7%
GeoBench81.0%74.0%
MirrorCode65.6%63.3%
Blueprint-Bench 214.5%24.9%
GSO-Bench47.1%37.3%
GBAEval70.9%65.3%
DeepSWE59.0%53.8%
Surface Evolver Bench87.5%60.0%
BTF-30.1320.142

Quick answers

Is Claude Opus 4.8 better than Claude Sonnet 5?

Claude Opus 4.8 wins 12 of 14 jobs, Claude Sonnet 5 wins 2. Claude Sonnet 5 is about 2.5× cheaper per token.

Is Claude Opus 4.8 or Claude Sonnet 5 better for writing code?

Claude Opus 4.8: 65 vs 54.

See the details →
Is Claude Opus 4.8 or Claude Sonnet 5 better for math?

Claude Opus 4.8: 77 vs 57.

See the details →
Is Claude Opus 4.8 or Claude Sonnet 5 better for long jobs on its own?

Claude Sonnet 5: 59 vs 52.

See the details →
Is Claude Opus 4.8 or Claude Sonnet 5 better for creative writing?

Claude Opus 4.8: 81 vs 70.

See the details →
Is Claude Opus 4.8 or Claude Sonnet 5 better for understanding pictures and video?

Claude Opus 4.8: 75 vs 58.

See the details →
Which is cheaper, Claude Opus 4.8 or Claude Sonnet 5?

Claude Sonnet 5: $4 vs $10 per million tokens (3 parts reading to 1 part writing).

Which is newer?

Claude Sonnet 5, released June 30, 2026.

More comparisons

Open these two in the interactive comparer →