Claude · Best AI for
Best Claude model for fixing bugs in real code
Only Anthropic models, scored against every current AI on the same tests, so you can see which one to pick and how it stacks up.
Top tested so far: Claude Opus 5 (92/100 · $10 per 1M tokens)

Claude Opus 5 (best tested so far: most of the newest models haven't taken these tests yet). It scores 92/100 for fixing bugs in real code, #3 among all 46 current models (the overall leader, GPT-6 Astra, scores 100).
All 11 Claude models for fixing bugs in real code
Score = share of all of today's AI models it beats on this job's tests (100 = best of all). Bar in coral = the overall #1, for reference.
- 1Claude Opus 5#3 of 46 overall · one test so far92
- 2Claude Opus 4.6#4 of 46 overall · plenty of tests91
- 3Claude Opus 4.5#7 of 46 overall · plenty of tests86
- 4Claude Fable 5#8 of 46 overall · one test so far84
- 5Claude Opus 4#23 of 46 overall · a few tests52
- 6Claude Sonnet 4.5#24 of 46 overall · plenty of tests51
- 7Claude Opus 4.8#26 of 46 overall · one test so far48
- 8Claude Haiku 4.5#31 of 46 overall · a few tests39
- 9Claude Sonnet 5#35 of 46 overall · one test so far36
- 10Claude 3.7 Sonnet#39 of 46 overall · a few tests21
- 11Claude Sonnet 4.6#42 of 46 overall · a few tests20
Score, price and memory side by side
Cost per job = one long request (≈ 20K tokens read, 2K written), using list API prices.
| Model | Score | $ / 1M tokens | Cost per job | Memory | Released |
|---|---|---|---|---|---|
| Claude Opus 5 | 92 | $10 | $0.15 | 1M | Jul 2026 |
| Claude Opus 4.6 | 91 | $10 | $0.15 | 1M | Feb 2026 |
| Claude Opus 4.5 | 86 | $10 | $0.15 | 200K | Nov 2025 |
| Claude Fable 5 | 84 | $20 | $0.3 | 1M | Jun 2026 |
| Claude Opus 4 | 52 | — | — | — | May 2025 |
| Claude Sonnet 4.5 | 51 | $6 | $0.09 | 200K | Sep 2025 |
| Claude Opus 4.8 | 48 | $10 | $0.15 | 1M | May 2026 |
| Claude Haiku 4.5 | 39 | $2 | $0.03 | 200K | Oct 2025 |
| Claude Sonnet 5 | 36 | $4 | $0.06 | 1M | Jun 2026 |
| Claude 3.7 Sonnet | 21 | — | — | — | Feb 2025 |
| Claude Sonnet 4.6 | 20 | $6 | $0.09 | 1M | Feb 2026 |
Quick answers
Which Claude model is best for fixing bugs in real code?
Claude Opus 5 (best tested so far: most of the newest models haven't taken these tests yet). It scores 92/100 for fixing bugs in real code, #3 among all 46 current models (the overall leader, GPT-6 Astra, scores 100).
About Claude Opus 5 →What's the runner-up?
Claude Opus 4.6, scoring 91 at $10 per million tokens.
See the details →Which is the best value?
Claude Opus 4.6: it scores 91 (vs 92 for Claude Opus 5) and costs $10 per million tokens instead of $10.
See the details →How does it compare with the overall best for fixing bugs in real code?
GPT-6 Astra scores 100 vs 92, but costs about 2.0× as much per token.
Best AI for fixing bugs in real code →How are these ranked?
Each model's score is the share of current AI models it beats on the fixing bugs in real code tests, weighted towards newer and harder tests. Only Anthropic models, scored against every current AI on the same tests, so you can see which one to pick and how it stacks up.
How scores work →More ways to pick for fixing bugs in real code
Claude for other jobs
24 jobs · scores update automatically from public test results · data as of June 25, 2026