Best AI for Programming

Compare AI models for software development — code generation, debugging, code review, refactoring, and architecture design.Rankings combine multiple benchmark scores weighted by relevance to this use case. Updated August 2026.

Why This Matters

Programming is one of the most common AI workloads — and the best model depends heavily on the specific task. A model that excels at creative writing may struggle with structured data extraction, and vice versa.

We built this use-case ranking by combining multiple benchmark categories with weights tuned to match real-world usage patterns. For programming, the score emphasizes the benchmarks that matter most: task accuracy, output quality, and consistency. Speed and cost are factored in but secondary to quality.

All scores are from public independent benchmarks. For a broader view across all tasks, see the overall LLM leaderboard or the expert picks page.

Quick Answer

The best AI models for programming are:1. Claude Fable 5.1 (Anthropic, score: 94.1), 2. Claude Fable 5 (Anthropic, score: 85.6), 3. Claude Fable 5.1 (XHigh) (Anthropic, score: 85.5).

#ModelProviderScoreSpeedPrice (output)
1Claude Fable 5.1Anthropic94.185 t/s$15/M
2Claude Fable 5Anthropic85.671 t/s$50/M
3Claude Fable 5.1 (XHigh)Anthropic85.578 t/s$15/M
4Claude Fable 5.1 (High)Anthropic85.592 t/s$15/M
5Claude Fable 5.1 (Medium)Anthropic85.5104 t/s$15/M
6Claude Fable 5.1 (Low)Anthropic85.5118 t/s$15/M
7Claude Opus 5.5Anthropic84.368 t/s$25/M
8GPT-6 AstraOpenAI76.982 t/s$50/M
9Kimi K3Moonshot AI76.737 t/s$15/M
10Claude Opus 5.5 (XHigh)Anthropic74.962 t/s$25/M
11Claude Opus 5.5 (High)Anthropic74.974 t/s$25/M
12Claude Opus 5.5 (Medium)Anthropic74.982 t/s$25/M
13Claude Opus 5.5 (Low)Anthropic74.992 t/s$25/M
14GPT-6 Astra (xhigh)OpenAI70.676 t/s$50/M
15GPT-6 Astra (high)OpenAI70.690 t/s$50/M
0 / 4