👨💻 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 (Anthropic, score: 85.6), 2. Kimi K3 (Moonshot AI, score: 76.7), 3. Claude Mythos Preview (Anthropic, score: 70.1).
| # | Model | Provider | Score | Speed | Price (output) |
|---|---|---|---|---|---|
| 1 | Claude Fable 5 | Anthropic | 85.6 | 71 t/s | $50/M |
| 2 | Kimi K3 | Moonshot AI | 76.7 | 37 t/s | $15/M |
| 3 | Claude Mythos Preview | Anthropic | 70.1 | 80 t/s | $15/M |
| 4 | Claude Opus 4.8 | Anthropic | 68.8 | 50 t/s | $15/M |
| 5 | Claude Mythos 5 | Anthropic | 66.7 | 50 t/s | $50/M |
| 6 | GPT-5.6 Sol | OpenAI | 65.5 | 72 t/s | $30/M |
| 7 | GPT-5.5 | OpenAI | 63.3 | 60 t/s | $10/M |
| 8 | Claude Opus 4.7 | Anthropic | 61.5 | 80 t/s | $15/M |
| 9 | Claude Opus 5 | Anthropic | 59.9 | 60 t/s | $25/M |
| 10 | Gemini 3.5 Flash | 59.9 | 267 t/s | $9/M | |
| 11 | Claude Sonnet 4.6 (max) | Anthropic | 57.5 | 50 t/s | $15/M |
| 12 | GLM-5.1 | Z.ai | 57.3 | 74 t/s | $4.4/M |
| 13 | Gemini 3.1 Pro | 56.2 | 136 t/s | $12/M | |
| 14 | MiniMax-M2.7 | MiniMax | 55.5 | 40 t/s | $2/M |
| 15 | GPT-5.6 Terra | OpenAI | 54.5 | 127 t/s | $12/M |