💻 Best AI Models for Coding

Ranking of language models by coding performance across multiple benchmarks including code generation, debugging, refactoring, and software engineering tasks.Updated August 2026. Based on independent benchmark data.

Why This Matters

Choosing the right model for coding is about more than raw benchmark scores. The models below are ranked using a weighted blend of category-specific benchmarks, arena Elo, and the intelligence index — but real-world performance depends on your context window, latency budget, and integration path.

For coding, we weighted the benchmarks that most strongly predict success in production: task accuracy first, then speed and cost efficiency. Leaders on this page consistently outperform on both standardized tests and real-world workloads.

If you operate under a strict budget, check the Best Value LLMs ranking. If latency matters more than raw quality, see Fastest LLMs. Both pages use the same underlying dataset with different weightings.

#ModelProviderScoreSpeedPrice (output)
1Claude Fable 5Anthropic84.171 t/s$50/M
2Claude Mythos PreviewAnthropic80.980 t/s$15/M
3Claude Opus 5Anthropic70.460 t/s$25/M
4Claude Mythos 5Anthropic66.050 t/s$50/M
5GPT-5.6 SolOpenAI64.872 t/s$30/M
6Muse Spark 1.1Meta64.4208 t/s$4.25/M
7Kimi K3Moonshot AI61.537 t/s$15/M
8Gemini 3.6 FlashGoogle60.2233 t/s$7.5/M
9Claude Opus 4.8Anthropic58.050 t/s$15/M
10GLM-5.1Z.ai57.074 t/s$4.4/M
11Claude Sonnet 4.6 (max)Anthropic57.050 t/s$15/M
12GPT-5.3 CodexOpenAI55.5118 t/s$14/M
13MiniMax-M2.7MiniMax55.040 t/s$2/M
14GPT-5.6 TerraOpenAI54.9127 t/s$12/M
15GPT-5.5OpenAI54.060 t/s$10/M
16Qwen3.8 MaxAlibaba50.355 t/s$2/M
17Gemini 3.5 FlashGoogle49.6267 t/s$9/M
18Claude Opus 4.7Anthropic49.280 t/s$15/M
19GPT-5.6 LunaOpenAI45.6175 t/s$1.2/M
20Grok 4.5xAI45.159 t/s$6/M

Methodology

Rankings are based on independent benchmark evaluations. The coding score is computed from multiple standardized benchmarks and normalized to 0–100. Data is updated regularly from public benchmark results.

Related Rankings

🧠 Reasoning📚 Knowledge👁️ Vision💰 Best Value AI Models⚡ Fastest AI Models🏆 Most Intelligent AI Models