← Best AI for a task

Best AI for fixing code and GitHub issues (Sep 2026)

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.

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 21 Oct 2026.

  • Anthropic
  • OpenAI
  • Google
  • xAI
  • Meta
  • DeepSeek
  • Alibaba
  • Z.ai
  • Moonshot
  • Other
SWE-bench Verified: Score vs Cost per test (USD)Scatter plot of 24 models. Leader on Score: Claude Opus 5 at 97.0%. Full values in the table below.$.01$.1$1$1075%80%85%90%95%100%COST PER TEST (USD) · LOG SCALESCOREGemini 3.8 Flash (Google): Cost per test (USD) $2.19, Score 80.0%GGemini 3.7 Flash (Google): Cost per test (USD) $1.44, Score 80.8%GClaude Opus 4.7 (Anthropic): Cost per test (USD) $2.42, Score 82.0%AMuse Spark 1.1 (Meta): Cost per test (USD) $0.35, Score 82.0%MInkling Small (Other): Cost per test (USD) $0.13, Score 82.2%·GPT 5.5 (OpenAI): Cost per test (USD) $1.36, Score 82.6%OGLM 5.2 (Z.ai): Cost per test (USD) $0.71, Score 82.8%ZQwen 3.8 Max (Alibaba): Cost per test (USD) $1.13, Score 85.6%QClaude Opus 4.8 (Anthropic): Cost per test (USD) $0.67, Score 85.8%AQwen 3.8 27B (Alibaba): Cost per test (USD) $1.08, Score 86.0%QMuse Spark 1.2 (Meta): Cost per test (USD) $0.55, Score 86.6%MGrok 4.5 (xAI): Cost per test (USD) $0.54, Score 86.6%XClaude Opus 4.8 (Anthropic): Cost per test (USD) $1.92, Score 88.6%ADeepSeek V4 Flash 0731 (DeepSeek): Cost per test (USD) $0.010, Score 88.8%DGLM 5.3 Flash (Z.ai): Cost per test (USD) $0.020, Score 92.0%ZGPT-5.6 Luna (OpenAI): Cost per test (USD) $0.040, Score 93.0%OKimi K3 (Moonshot): Cost per test (USD) $0.76, Score 93.4%KClaude Fable 5 (Anthropic): Cost per test (USD) $2.05, Score 95.0%AGLM 5.3 (Z.ai): Cost per test (USD) $0.34, Score 95.4%ZGPT-5.6 Terra (OpenAI): Cost per test (USD) $0.40, Score 95.4%OGrok 4.6 (xAI): Cost per test (USD) $0.78, Score 95.6%XGPT-5.6 Sol (OpenAI): Cost per test (USD) $1.15, Score 96.2%ODeepSeek V4 Pro 0813 (DeepSeek): Cost per test (USD) $0.10, Score 96.4%DClaude Opus 5 (Anthropic): Cost per test (USD) $1.29, Score 97.0%AClaude Opus 5DeepSeek V4 Pro 0813GPT-5.6 Sol
SWE-bench Verified: Score vs Cost per test (USD)Scatter plot of 24 models. Leader on Score: Claude Opus 5 at 97.0%. Full values in the table below.$.01$.1$1$1075%80%85%90%95%100%COST PER TEST (USD) · LOG SCALESCOREGemini 3.8 Flash (Google): Cost per test (USD) $2.19, Score 80.0%GGemini 3.7 Flash (Google): Cost per test (USD) $1.44, Score 80.8%GClaude Opus 4.7 (Anthropic): Cost per test (USD) $2.42, Score 82.0%AMuse Spark 1.1 (Meta): Cost per test (USD) $0.35, Score 82.0%MInkling Small (Other): Cost per test (USD) $0.13, Score 82.2%·GPT 5.5 (OpenAI): Cost per test (USD) $1.36, Score 82.6%OGLM 5.2 (Z.ai): Cost per test (USD) $0.71, Score 82.8%ZQwen 3.8 Max (Alibaba): Cost per test (USD) $1.13, Score 85.6%QClaude Opus 4.8 (Anthropic): Cost per test (USD) $0.67, Score 85.8%AQwen 3.8 27B (Alibaba): Cost per test (USD) $1.08, Score 86.0%QMuse Spark 1.2 (Meta): Cost per test (USD) $0.55, Score 86.6%MGrok 4.5 (xAI): Cost per test (USD) $0.54, Score 86.6%XClaude Opus 4.8 (Anthropic): Cost per test (USD) $1.92, Score 88.6%ADeepSeek V4 Flash 0731 (DeepSeek): Cost per test (USD) $0.010, Score 88.8%DGLM 5.3 Flash (Z.ai): Cost per test (USD) $0.020, Score 92.0%ZGPT-5.6 Luna (OpenAI): Cost per test (USD) $0.040, Score 93.0%OKimi K3 (Moonshot): Cost per test (USD) $0.76, Score 93.4%KClaude Fable 5 (Anthropic): Cost per test (USD) $2.05, Score 95.0%AGLM 5.3 (Z.ai): Cost per test (USD) $0.34, Score 95.4%ZGPT-5.6 Terra (OpenAI): Cost per test (USD) $0.40, Score 95.4%OGrok 4.6 (xAI): Cost per test (USD) $0.78, Score 95.6%XGPT-5.6 Sol (OpenAI): Cost per test (USD) $1.15, Score 96.2%ODeepSeek V4 Pro 0813 (DeepSeek): Cost per test (USD) $0.10, Score 96.4%DClaude Opus 5 (Anthropic): Cost per test (USD) $1.29, Score 97.0%AClaude Opus 5DeepSeek V4 Pro 0813GPT-5.6 Sol
SWE-bench Verified: top 15 by ScoreDot plot, axis starting at 80% (not zero). Leader: Claude Opus 5 at 97.0%. Full values in the table below.80%85%90%95%100%SCORE · AXIS STARTS AT 80%, NOT ZEROClaude Opus 5 (Anthropic), rank 1: 97.0%AClaude Opus 597.0%DeepSeek V4 Pro 0813 (DeepSeek), rank 2: 96.4%DDeepSeek V4 Pro 081396.4%GPT-5.6 Sol (OpenAI), rank 3: 96.2%OGPT-5.6 Sol96.2%Grok 4.6 (xAI), rank 4: 95.6%XGrok 4.695.6%GPT-5.6 Terra (OpenAI), rank 5: 95.4%OGPT-5.6 Terra95.4%GLM 5.3 (Z.ai), rank 6: 95.4%ZGLM 5.395.4%Claude Fable 5 (Anthropic), rank 7: 95.0%AClaude Fable 595.0%Kimi K3 (Moonshot), rank 8: 93.4%KKimi K393.4%GPT-5.6 Luna (OpenAI), rank 9: 93.0%OGPT-5.6 Luna93.0%GLM 5.3 Flash (Z.ai), rank 10: 92.0%ZGLM 5.3 Flash92.0%DeepSeek V4 Flash 0731 (DeepSeek), rank 11: 88.8%DDeepSeek V4 Flash 073188.8%Claude Opus 4.8 (Anthropic), rank 12: 88.6%AClaude Opus 4.888.6%Grok 4.5 (xAI), rank 13: 86.6%XGrok 4.586.6%Muse Spark 1.2 (Meta), rank 14: 86.6%MMuse Spark 1.286.6%Qwen 3.8 27B (Alibaba), rank 15: 86.0%QQwen 3.8 27B86.0%
SWE-bench Verified: top 12 by ScoreDot plot, axis starting at 80% (not zero). Leader: Claude Opus 5 at 97.0%. Full values in the table below.80%90%100%AXIS STARTS AT 80%, NOT ZEROClaude Opus 5 (Anthropic), rank 1: 97.0%AClaude Opus 597.0%DeepSeek V4 Pro 0813 (DeepSeek), rank 2: 96.4%DDeepSeek V4 Pro …96.4%GPT-5.6 Sol (OpenAI), rank 3: 96.2%OGPT-5.6 Sol96.2%Grok 4.6 (xAI), rank 4: 95.6%XGrok 4.695.6%GPT-5.6 Terra (OpenAI), rank 5: 95.4%OGPT-5.6 Terra95.4%GLM 5.3 (Z.ai), rank 6: 95.4%ZGLM 5.395.4%Claude Fable 5 (Anthropic), rank 7: 95.0%AClaude Fable 595.0%Kimi K3 (Moonshot), rank 8: 93.4%KKimi K393.4%GPT-5.6 Luna (OpenAI), rank 9: 93.0%OGPT-5.6 Luna93.0%GLM 5.3 Flash (Z.ai), rank 10: 92.0%ZGLM 5.3 Flash92.0%DeepSeek V4 Flash 0731 (DeepSeek), rank 11: 88.8%DDeepSeek V4 Flas…88.8%Claude Opus 4.8 (Anthropic), rank 12: 88.6%AClaude Opus 4.888.6%

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 21 Oct 2026.

  • Anthropic
  • OpenAI
  • Google
  • xAI
  • DeepSeek
  • Alibaba
  • Moonshot
  • Other
LiveCodeBench: top 15 by AccuracyBars from zero. Leader: Claude Fable 5.1 at 90.52%. Full values in the table below.0%20%40%60%80%100%Claude Fable 5.1 (Anthropic), rank 1: 90.52%AClaude Fable 5.190.52%Claude Fable 5 (Anthropic), rank 2: 89.78%AClaude Fable 589.78%Gemini 3.8 Flash (Google), rank 3: 89.48%GGemini 3.8 Flash89.48%Claude Opus 5 (Anthropic), rank 4: 89.03%AClaude Opus 589.03%Gemini 3.7 Flash (Google), rank 5: 88.65%GGemini 3.7 Flash88.65%Gemini 3.1 Pro Preview (02/26) (Google), rank 6: 88.48%GGemini 3.1 Pro Preview88.48%Grok 4.6 (xAI), rank 7: 88.22%XGrok 4.688.22%Gemini 3.6 Flash (Google), rank 8: 88.08%GGemini 3.6 Flash88.08%GPT 5.2 Codex (OpenAI), rank 9: 87.99%OGPT 5.2 Codex87.99%Qwen 3.8 Max (Alibaba), rank 10: 87.85%QQwen 3.8 Max87.85%Claude Opus 4.8 (Anthropic), rank 11: 87.82%AClaude Opus 4.887.82%Gemini 3.5 Flash (Google), rank 12: 87.60%GGemini 3.5 Flash87.60%DeepSeek V4 Pro 0813 (DeepSeek), rank 13: 87.53%DDeepSeek V4 Pro 081387.53%DeepSeek V4 (DeepSeek), rank 14: 87.48%DDeepSeek V487.48%Grok 4.5 (xAI), rank 15: 87.35%XGrok 4.587.35%
LiveCodeBench: top 12 by AccuracyBars from zero. Leader: Claude Fable 5.1 at 90.52%. Full values in the table below.0%50%100%Claude Fable 5.1 (Anthropic), rank 1: 90.52%AClaude Fable 5.190.52%Claude Fable 5 (Anthropic), rank 2: 89.78%AClaude Fable 589.78%Gemini 3.8 Flash (Google), rank 3: 89.48%GGemini 3.8 Flash89.48%Claude Opus 5 (Anthropic), rank 4: 89.03%AClaude Opus 589.03%Gemini 3.7 Flash (Google), rank 5: 88.65%GGemini 3.7 Flash88.65%Gemini 3.1 Pro Preview (02/26) (Google), rank 6: 88.48%GGemini 3.1 Pro P…88.48%Grok 4.6 (xAI), rank 7: 88.22%XGrok 4.688.22%Gemini 3.6 Flash (Google), rank 8: 88.08%GGemini 3.6 Flash88.08%GPT 5.2 Codex (OpenAI), rank 9: 87.99%OGPT 5.2 Codex87.99%Qwen 3.8 Max (Alibaba), rank 10: 87.85%QQwen 3.8 Max87.85%Claude Opus 4.8 (Anthropic), rank 11: 87.82%AClaude Opus 4.887.82%Gemini 3.5 Flash (Google), rank 12: 87.60%GGemini 3.5 Flash87.60%
LiveCodeBench: top 15 by AccuracyDot plot, axis starting at 80% (not zero). Leader: Claude Fable 5.1 at 90.52%. Full values in the table below.80%82.5%85%87.5%90%92.5%ACCURACY · AXIS STARTS AT 80%, NOT ZEROClaude Fable 5.1 (Anthropic), rank 1: 90.52%AClaude Fable 5.190.52%Claude Fable 5 (Anthropic), rank 2: 89.78%AClaude Fable 589.78%Gemini 3.8 Flash (Google), rank 3: 89.48%GGemini 3.8 Flash89.48%Claude Opus 5 (Anthropic), rank 4: 89.03%AClaude Opus 589.03%Gemini 3.7 Flash (Google), rank 5: 88.65%GGemini 3.7 Flash88.65%Gemini 3.1 Pro Preview (02/26) (Google), rank 6: 88.48%GGemini 3.1 Pro Preview88.48%Grok 4.6 (xAI), rank 7: 88.22%XGrok 4.688.22%Gemini 3.6 Flash (Google), rank 8: 88.08%GGemini 3.6 Flash88.08%GPT 5.2 Codex (OpenAI), rank 9: 87.99%OGPT 5.2 Codex87.99%Qwen 3.8 Max (Alibaba), rank 10: 87.85%QQwen 3.8 Max87.85%Claude Opus 4.8 (Anthropic), rank 11: 87.82%AClaude Opus 4.887.82%Gemini 3.5 Flash (Google), rank 12: 87.60%GGemini 3.5 Flash87.60%DeepSeek V4 Pro 0813 (DeepSeek), rank 13: 87.53%DDeepSeek V4 Pro 081387.53%DeepSeek V4 (DeepSeek), rank 14: 87.48%DDeepSeek V487.48%Grok 4.5 (xAI), rank 15: 87.35%XGrok 4.587.35%
LiveCodeBench: top 12 by AccuracyDot plot, axis starting at 80% (not zero). Leader: Claude Fable 5.1 at 90.52%. Full values in the table below.80%85%90%AXIS STARTS AT 80%, NOT ZEROClaude Fable 5.1 (Anthropic), rank 1: 90.52%AClaude Fable 5.190.52%Claude Fable 5 (Anthropic), rank 2: 89.78%AClaude Fable 589.78%Gemini 3.8 Flash (Google), rank 3: 89.48%GGemini 3.8 Flash89.48%Claude Opus 5 (Anthropic), rank 4: 89.03%AClaude Opus 589.03%Gemini 3.7 Flash (Google), rank 5: 88.65%GGemini 3.7 Flash88.65%Gemini 3.1 Pro Preview (02/26) (Google), rank 6: 88.48%GGemini 3.1 Pro P…88.48%Grok 4.6 (xAI), rank 7: 88.22%XGrok 4.688.22%Gemini 3.6 Flash (Google), rank 8: 88.08%GGemini 3.6 Flash88.08%GPT 5.2 Codex (OpenAI), rank 9: 87.99%OGPT 5.2 Codex87.99%Qwen 3.8 Max (Alibaba), rank 10: 87.85%QQwen 3.8 Max87.85%Claude Opus 4.8 (Anthropic), rank 11: 87.82%AClaude Opus 4.887.82%Gemini 3.5 Flash (Google), rank 12: 87.60%GGemini 3.5 Flash87.60%

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.

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 21 Oct 2026. LiveCodeBench: leaderboard dated 1 Sep 2026, no longer updated by the source; we last checked it on 21 Oct 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.