Best AI for fixing code and GitHub issues
SWE-bench Verified
| Option and model | Score | Cost per benchmark test |
|---|---|---|
| Highest scoreClaude Opus 5 Anthropic | 97.0% | $1.29 |
| Lower-cost optionDeepSeek V4 Pro 0813 DeepSeek | 96.4% | $0.10 |
Source: Vals AI ↗ · as of 1 Sep 2026 · retired leaderboard, no longer updated · last checked 17 Nov 2026
Scoring rule: Highest score is the top score on this leaderboard. Lower-cost option is the best-scoring model whose published cost is below the top scorer’s; equal scores go to the lower cost. Cost is API cost per benchmark task as published by the source, not a subscription price.
Claude Opus 5 (Anthropic) has the top score on SWE-bench Verified: 97.0% (score). It costs $1.29 API cost per benchmark task; the best-scoring cheaper option is DeepSeek V4 Pro 0813 (DeepSeek) at 96.4% for $0.10 per task. What the test covered: Resolving real-world GitHub issues with a code patch, checked by unit tests. SWE-bench Verified is a retired leaderboard: the source no longer updates it, so newer models may be missing. Also tested on LiveCodeBench: Claude Fable 5.1 (Anthropic) leads at 90.52% (a retired leaderboard the source no longer updates).
Citation
SWE-bench Verified, score: Claude Opus 5 (Anthropic) had the top reported score at 97.0%. Original source: Vals AI, https://www.vals.ai/benchmarks/swebench, leaderboard dated 1 Sep 2026; the source no longer updates this leaderboard. Via ChatJudge: https://chatjudge.ai/best-ai/fixing-code-and-github-issues, checked 17 Nov 2026.
Prompt from the library
Try it: Paste-ready Claude Code prompt
From the ChatJudge library, by Startup CEO and Founder.
Write this as a single prompt I can paste straight into Claude Code, not a document. Scope: [THE CHANGE]. Reference PRD sections [§X, §Y] instead of restating them. Say what to assume already exists, what NOT to build, the data shapes as JSON, and how to verify it's done.
Paste it into two of the leaders above, run it on the same document, and compare. Check every answer against the source before you rely on it.
Benchmark data
Results from published AI leaderboards. Compare models within each benchmark; scores from different tests aren’t directly comparable. How we collect these results
SWE-bench Verified
Resolving real-world GitHub issues with a code patch, checked by unit tests. Run by Vals AI (benchmark by Princeton/OpenAI). Leaderboard dated 1 Sep 2026 (no longer updated by the source). Last checked 17 Nov 2026.
- Anthropic
- OpenAI
- xAI
- Meta
- DeepSeek
- Alibaba
- Z.ai
- Moonshot
- Other
All scores
| Rank | Model | Provider | Score | Cost per test (USD) | Harness |
|---|---|---|---|---|---|
| 1 | Claude Opus 5 | Anthropic | 97.0% | $1.29 | Mini-SWE-agent |
| 2 | DeepSeek V4 Pro 0813 | DeepSeek | 96.4% | $0.10 | Mini-SWE-agent |
| 3 | GPT-5.6 Sol | OpenAI | 96.2% | $1.15 | Mini-SWE-agent |
| 4 | Grok 4.6 | xAI | 95.6% | $0.78 | Mini-SWE-agent |
| 5 | GPT-5.6 Terra | OpenAI | 95.4% | $0.40 | Mini-SWE-agent |
| 6 | GLM 5.3 | Z.ai | 95.4% | $0.34 | Mini-SWE-agent |
| 7 | Claude Fable 5 | Anthropic | 95.0% | $2.05 | Mini-SWE-agent |
| 8 | Kimi K3 | Moonshot | 93.4% | $0.76 | Mini-SWE-agent |
| 9 | GPT-5.6 Luna | OpenAI | 93.0% | $0.040 | Mini-SWE-agent |
| 10 | GLM 5.3 Flash | Z.ai | 92.0% | $0.020 | Mini-SWE-agent |
Show 15 more rows
| Rank | Model | Provider | Score | Cost per test (USD) | Harness |
|---|---|---|---|---|---|
| 11 | DeepSeek V4 Flash 0731 | DeepSeek | 88.8% | $0.010 | Mini-SWE-agent |
| 12 | Claude Opus 4.8 | Anthropic | 88.6% | $1.92 | Mini-SWE-agent |
| 13 | Grok 4.5 | xAI | 86.6% | $0.54 | Mini-SWE-agent |
| 14 | Muse Spark 1.2 | Meta | 86.6% | $0.55 | Mini-SWE-agent |
| 15 | Qwen 3.8 27B | Alibaba | 86.0% | $1.08 | Mini-SWE-agent |
| 16 | Claude Opus 4.8 | Anthropic | 85.8% | $0.67 | Claude Code |
| 17 | Qwen 3.8 Max | Alibaba | 85.6% | $1.13 | Mini-SWE-agent |
| 18 | GLM 5.2 | Z.ai | 82.8% | $0.71 | Mini-SWE-agent |
| 19 | GPT 5.5 | OpenAI | 82.6% | $1.36 | Mini-SWE-agent |
| 20 | Inkling Small | Other | 82.2% | $0.13 | Mini-SWE-agent |
| 21 | Muse Spark 1.1 | Meta | 82.0% | $0.35 | Mini-SWE-agent |
| 22 | Claude Opus 4.7 | Anthropic | 82.0% | $2.42 | Mini-SWE-agent |
| 23 | Gemini 3.7 Flash | 80.8% | $1.44 | Mini-SWE-agent | |
| 24 | Gemini 3.8 Flash | 80.0% | $2.19 | Mini-SWE-agent | |
| 25 | Composer 2.5 | Other | 79.6% | – | Cursor CLI |
Full SWE-bench Verified leaderboard: every model, all metrics and the table →
LiveCodeBench
Programming problems from LiveCodeBench, run by Vals AI. Run by Vals AI (benchmark by LiveCodeBench team). Leaderboard dated 1 Sep 2026 (no longer updated by the source). Last checked 17 Nov 2026.
LiveCodeBench scorecard
| Option and model | Accuracy | Cost |
|---|---|---|
| Highest scoreClaude Fable 5.1 Anthropic | 90.52% | Not reported |
| Lower-cost option | Not available: the source doesn’t report cost for this leaderboard. | |
Source: Vals AI ↗ · as of 1 Sep 2026 · retired leaderboard, no longer updated · last checked 17 Nov 2026
Scoring rule: Highest score is the top accuracy on this leaderboard. Lower-cost option is the best-scoring model whose published cost is below the top scorer’s; equal scores go to the lower cost. The source does not publish cost for this leaderboard, so no lower-cost option is named.
- Anthropic
- OpenAI
- xAI
- DeepSeek
- Alibaba
- Moonshot
- Other
All scores
| Rank | Model | Provider | Accuracy | Price in / out ($/1M tokens) |
|---|---|---|---|---|
| 1 | Claude Fable 5.1 | Anthropic | 90.52% | $10 / $50 |
| 2 | Claude Fable 5 | Anthropic | 89.78% | $10 / $50 |
| 3 | Gemini 3.8 Flash | 89.48% | $0.75 / $3.75 | |
| 4 | Claude Opus 5 | Anthropic | 89.03% | $5 / $25 |
| 5 | Gemini 3.7 Flash | 88.65% | $1.5 / $7.5 | |
| 6 | Gemini 3.1 Pro Preview (02/26) | 88.48% | $2 / $12 | |
| 7 | Grok 4.6 | xAI | 88.22% | $2 / $6 |
| 8 | Gemini 3.6 Flash | 88.08% | $0.75 / $3.75 | |
| 9 | GPT 5.2 Codex | OpenAI | 87.99% | $1.75 / $14 |
| 10 | Qwen 3.8 Max | Alibaba | 87.85% | $2 / $6 |
Show 15 more rows
| Rank | Model | Provider | Accuracy | Price in / out ($/1M tokens) |
|---|---|---|---|---|
| 11 | Claude Opus 4.8 | Anthropic | 87.82% | $5 / $25 |
| 12 | Gemini 3.5 Flash | 87.60% | $1.5 / $9 | |
| 13 | DeepSeek V4 Pro 0813 | DeepSeek | 87.53% | $1.32 / $3.96 |
| 14 | DeepSeek V4 | DeepSeek | 87.48% | $1.32 / $3.96 |
| 15 | Grok 4.5 | xAI | 87.35% | $2 / $6 |
| 16 | GPT 5.3 Codex | OpenAI | 87.31% | $1.75 / $14 |
| 17 | DeepSeek V4 Flash 0731 | DeepSeek | 87.26% | $0.3 / $1.2 |
| 18 | Kimi K3 | Moonshot | 87.19% | $3 / $15 |
| 19 | Qwen 3.7 Max | Alibaba | 87.06% | $2.5 / $7.5 |
| 20 | Kimi K2.6 | Moonshot | 86.77% | $0.95 / $4 |
| 21 | GPT 5 Mini | OpenAI | 86.61% | $0.25 / $2 |
| 22 | GPT 5.1 | OpenAI | 86.49% | $1.25 / $10 |
| 23 | Gemini 3 Pro (11/25) | 86.41% | $2 / $12 | |
| 24 | Nemotron 3 Ultra | Other | 85.98% | N/A |
| 25 | Qwen 3.6 Plus | Alibaba | 85.95% | $0.5 / $3 |
Full LiveCodeBench leaderboard: every model, all metrics and the table →
What these benchmarks tell you
- SWE-bench Verified: the share of real GitHub issues in open-source Python projects where the model’s patch makes the project’s tests pass, plus cost per issue.
- LiveCodeBench: the share of recent competitive-programming problems solved, collected after training cut-offs to limit memorisation.
What they don’t tell you
- Vals AI no longer updates either leaderboard, so models released since may be missing. For a current agentic coding signal, see Terminal-Bench 4.0 on the AI agents page.
- Python open-source fixes and contest problems are not your codebase, stack or review standards.
- The prompts below help you brief a coding agent well; they are not part of either benchmark.
More prompts for fixing code and GitHub issues
Run the same prompt on your own material with two models and compare the results.
Questions people ask
Which AI has the highest reported score for fixing code and GitHub issues?
As of 1 Sep 2026, the highest reported score on SWE-bench Verified is Claude Opus 5 (Anthropic) at 97.0%, per Vals AI. The source no longer updates this leaderboard. As of 1 Sep 2026, the highest reported score on LiveCodeBench is Claude Fable 5.1 (Anthropic) at 90.52%, per Vals AI. The source no longer updates this leaderboard. The leaders differ across these benchmarks, so check the one closest to your work.
How recent are these results?
SWE-bench Verified: leaderboard dated 1 Sep 2026, no longer updated by the source; we last checked it on 17 Nov 2026. LiveCodeBench: leaderboard dated 1 Sep 2026, no longer updated by the source; we last checked it on 17 Nov 2026.
What does the top-scoring model cost to run on these tests?
On SWE-bench Verified, Claude Opus 5 costs $1.29 (cost per test), as published by Vals AI. That is API cost on the benchmark’s own tasks, not a subscription price.
Who runs these benchmarks?
SWE-bench Verified is run by Vals AI (benchmark by Princeton/OpenAI). LiveCodeBench is run by Vals AI (benchmark by LiveCodeBench team). ChatJudge does not run the tests; we copy the published scores with a link to the source.
What don't these benchmarks tell you about fixing code and GitHub issues?
Vals AI no longer updates either leaderboard, so models released since may be missing. For a current agentic coding signal, see Terminal-Bench 4.0 on the AI agents page. Python open-source fixes and contest problems are not your codebase, stack or review standards. The prompts below help you brief a coding agent well; they are not part of either benchmark.
