ChatGPT · Best AI for
Best ChatGPT model for fixing bugs in real code
Only OpenAI 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: GPT-6 Astra (100/100 · $20 per 1M tokens)

GPT-6 Astra (best tested so far: most of the newest models haven't taken these tests yet). It scores 100/100 for fixing bugs in real code, which makes it the best of every AI we track.
All 13 ChatGPT 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.
- 1GPT-6 Astra#1 of 46 overall · one test so far100
- 2GPT-5.6 Sol#6 of 46 overall · one test so far88
- 3GPT-5.6 Terra#9 of 46 overall · one test so far80
- 4GPT-5.5#13 of 46 overall · a few tests71
- 5GPT-5.6 Luna#17 of 46 overall · one test so far64
- 6GPT-5.2#20 of 46 overall · plenty of tests53
- 7GPT-5#21 of 46 overall · a few tests52
- 8GPT-5.2 Codex#25 of 46 overall · a few tests50
- 9GPT-5.1#27 of 46 overall · a few tests47
- 10GPT-5.4#29 of 46 overall · a few tests40
- 11o3#36 of 46 overall · a few tests34
- 12GPT-5 mini#40 of 46 overall · plenty of tests20
- 13GPT-4.1#45 of 46 overall · a few tests13
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 |
|---|---|---|---|---|---|
| GPT-6 Astra | 100 | $20 | $0.3 | 1.1M | Sep 2026 |
| GPT-5.6 Sol | 88 | $8 | $0.12 | 1.1M | Jul 2026 |
| GPT-5.6 Terra | 80 | $4.50 | $0.064 | 1.1M | Jul 2026 |
| GPT-5.5 | 71 | $11 | $0.16 | 1.1M | Apr 2026 |
| GPT-5.6 Luna | 64 | $0.45 | $0.0064 | 1.1M | Jul 2026 |
| GPT-5.2 | 53 | $4.81 | $0.063 | 400K | Dec 2025 |
| GPT-5 | 52 | $3.44 | $0.045 | 400K | Aug 2025 |
| GPT-5.2 Codex | 50 | $4.81 | $0.063 | 400K | Dec 2025 |
| GPT-5.1 | 47 | $3.44 | $0.045 | 400K | Nov 2025 |
| GPT-5.4 | 40 | $5.63 | $0.08 | 1.1M | Mar 2026 |
| o3 | 34 | $3.50 | $0.056 | 200K | Apr 2025 |
| GPT-5 mini | 20 | $0.69 | $0.009 | 400K | Aug 2025 |
| GPT-4.1 | 13 | $3.50 | $0.056 | 1M | Apr 2025 |
Quick answers
Which ChatGPT model is best for fixing bugs in real code?
GPT-6 Astra (best tested so far: most of the newest models haven't taken these tests yet). It scores 100/100 for fixing bugs in real code, which makes it the best of every AI we track.
About GPT-6 Astra →What's the runner-up?
GPT-5.6 Sol, scoring 88 at $8 per million tokens.
See the details →Which is the best value?
GPT-5.6 Terra: it scores 80 (vs 100 for GPT-6 Astra) and costs $4.50 per million tokens instead of $20.
See the details →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 OpenAI 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
ChatGPT for other jobs
24 jobs · scores update automatically from public test results · data as of June 25, 2026