Skip to content
benchtopia
  • Fetching the field guide…

Code · Best AI for

Fixing bugs in real code

Reading a bug report, finding the broken spot in a big codebase and fixing it so the project's tests pass.

Top tested so far: GPT-6 Astra (OpenAI)

Heads up: most of today's newest top models haven't taken these tests yet, so this ranking leans on older results.

Top 15 for fixing bugs in real code

Score = share of today's AI models it beats on this job's tests (100 = best of all).

  1. 1GPT-6 AstraOpenAI · 1 test100
  2. 2Gemini 3.8 FlashGoogle · 1 test96
  3. 3Claude Opus 5Anthropic · 1 test92
  4. 4Claude Opus 4.6Anthropic · 3 tests91
  5. 5Gemini 3 FlashGoogle · 3 tests90
  6. 6GPT-5.6 SolOpenAI · 1 test88
  7. 7Claude Opus 4.5Anthropic · 3 tests86
  8. 8Claude Fable 5Anthropic · 1 test84
  9. 9GPT-5.6 TerraOpenAI · 1 test80
  10. 10GLM-5.3Z.ai (Zhipu) · 1 test76
  11. 11MiniMax-M2.5MiniMax · 2 tests74
  12. 12Kimi K3Moonshot AI (Kimi) · 1 test72
  13. 13GPT-5.5OpenAI · 2 tests71
  14. 14GLM-5Z.ai (Zhipu) · 3 tests68
  15. 15Grok 4.6xAI · 1 test68

Best on a budget

Under $1 per million tokens

MiniMax-M2.5

Score 74 · $0.52 per 1M tokens

Best free to download

Open weights

GLM-5.3

Score 76 · Z.ai (Zhipu)

Tests used for this ranking

Weight = how much each test counts.

DeepSWECan it build big new features in code nobody has solved online?weight 0.9
SWE-bench MultilingualCan it fix real bugs in projects written in many coding languages?weight 0.8
SWE-bench Verified (bash only)Who fixes bugs best when every model gets the same plain tools?weight 0.6
SWE-bench VerifiedCan it fix real bugs in real Python projects?weight 0.4

Quick answers

Which AI is best at fixing bugs?

Right now it's GPT-6 Astra from OpenAI: it beats 100% of current models on the 1 test that measure fixing bugs in real code. Gemini 3.8 Flash is next.

What's the best cheap AI for fixing bugs in real code?

MiniMax-M2.5: under $1 per million tokens, with a score of 74.

See the details →
What's the best open-source AI for fixing bugs in real code?

GLM-5.3, with a score of 76.

See the details →
How is the best AI for fixing bugs in real code decided?

From 4 tests (DeepSWE, SWE-bench Multilingual, SWE-bench Verified (bash only), SWE-bench Verified). On each test we check what share of current models a model beats, then average, giving fresher and harder tests more weight.

How scores work →

Related jobs