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).
Specs and price
| Claude Opus 4.7 | Claude Sonnet 5 | |
|---|---|---|
| Maker | Anthropic | Anthropic |
| Overall rank | #32 | #36 |
| Price, reading (per 1M tokens) | $5 | $2 |
| Price, writing (per 1M tokens) | $25 | $10 |
| Memory (context window) | 1M | 1M |
| Longest reply | 128K | 128K |
| Reads images | yes | yes |
| Thinking mode | yes | yes |
| Open weights | no | no |
| Released | April 16, 2026 | June 30, 2026 |
| Tests taken | 38 | 30 |
What everyday jobs cost
At list API prices. Chat apps on a monthly plan don't charge per job.
| Job | Claude Opus 4.7 | Claude 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.
| Test | Claude Opus 4.7 | Claude Sonnet 5 |
|---|---|---|
| LMArena Text | 1490 | 1442 |
| GPQA Diamond | 90.1% | 90.5% |
| OTIS Mock AIME 2024-2025 | 97.8% | 94.7% |
| DTBench | 94.7% | 92.5% |
| CritPt | 12.0% | 16.9% |
| LMCA | 52.2% | 50.0% |
| SciCode | 54.5% | 54.3% |
| ALE-Bench | 1323 | 1463 |
| WeirdML | 76.4% | 69.0% |
| LMArena Vision | 1317 | 1272 |
| SimpleBench | 61.7% | 60.6% |
| WebDev Arena | 1567 | 1537 |
| Chess Puzzles | 41.0% | 45.0% |
| SimpleQA Verified | 51.7% | 33.7% |
| FrontierMath Tiers 1–3 (v2) | 70.2% | 65.6% |
| ForecastBench | 62.4% | 62.9% |
| Mystery Game Puzzles | 28.0% | 35.0% |
| ProofBench | 54.0% | 77.0% |
| FrontierMath Tier 4 (v2) | 31.7% | 29.3% |
| Vending-Bench 2 | $10,937 | $6,378 |
| APEX-Agents | 49.2% | 54.5% |
| FrontierCode | 38.5% | 42.7% |
| MirrorCode | 43.3% | 63.3% |
| Blueprint-Bench 2 | 24.5% | 24.9% |
| GSO-Bench | 44.1% | 37.3% |
| GBAEval | 43.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.