Skip to content
benchtopia
  • Fetching the field guide…

Two Anthropic models

Claude Opus 4.7 vs Claude Sonnet 5

Claude Opus 4.7 wins 9 jobs · Claude Sonnet 5 wins 1 · 3 ties

Claude Opus 4.7 wins 9 of 13 jobs, Claude Sonnet 5 wins 1 (3 too close to call). Claude Sonnet 5 is about 2.5× cheaper per token.

Pick Claude Opus 4.7 for

writing code, building websites and apps, algorithms and speed-ups, math, knowing facts, long jobs on its own, creative writing, everyday chat and understanding pictures and video

$10 per 1M tokens

Pick Claude Sonnet 5 for

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.7Claude Sonnet 5
  1. Writing code5954
  2. Building websites and apps7468
  3. Algorithms and speed-ups7673
  4. Math6557
  5. Science7272
  6. Puzzles and tricky thinking6163
  7. Knowing facts7035
  8. Predicting the future2727
  9. Long jobs on its own6659
  10. Using tools4253
  11. Creative writing9370
  12. Everyday chat8867
  13. Understanding pictures and video9758

Specs and price

Claude Opus 4.7Claude Sonnet 5
MakerAnthropicAnthropic
Overall rank#32#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
ReleasedApril 16, 2026June 30, 2026
Tests taken3830

What everyday jobs cost

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

JobClaude Opus 4.7Claude 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 (26)

Claude Opus 4.7 is ahead on 14, Claude Sonnet 5 on 12. Raw scores as published.

TestClaude Opus 4.7Claude Sonnet 5
LMArena Text14901442
GPQA Diamond90.1%90.5%
OTIS Mock AIME 2024-202597.8%94.7%
DTBench94.7%92.5%
CritPt12.0%16.9%
LMCA52.2%50.0%
SciCode54.5%54.3%
ALE-Bench13231463
WeirdML76.4%69.0%
LMArena Vision13171272
SimpleBench61.7%60.6%
WebDev Arena15671537
Chess Puzzles41.0%45.0%
SimpleQA Verified51.7%33.7%
FrontierMath Tiers 1–3 (v2)70.2%65.6%
ForecastBench62.4%62.9%
Mystery Game Puzzles28.0%35.0%
ProofBench54.0%77.0%
FrontierMath Tier 4 (v2)31.7%29.3%
Vending-Bench 2$10,937$6,378
APEX-Agents49.2%54.5%
FrontierCode38.5%42.7%
MirrorCode43.3%63.3%
Blueprint-Bench 224.5%24.9%
GSO-Bench44.1%37.3%
GBAEval43.8%65.3%

Quick answers

Is Claude Opus 4.7 better than Claude Sonnet 5?

Claude Opus 4.7 wins 9 of 13 jobs, Claude Sonnet 5 wins 1 (3 too close to call). Claude Sonnet 5 is about 2.5× cheaper per token.

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

Claude Opus 4.7: 59 vs 54.

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

Claude Opus 4.7: 65 vs 57.

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

Claude Opus 4.7: 66 vs 59.

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

Claude Opus 4.7: 93 vs 70.

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

Claude Opus 4.7: 97 vs 58.

See the details →
Which is cheaper, Claude Opus 4.7 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 →