Best LLM for Coding in 2026
The 50 best AI models for writing code, ranked by their coding score, open source and proprietary. For the open source ones, you also see the graphics card memory they need to run at home. See only the open source models.
| # | Model | Coding score | Type | Released | What you need / API price |
|---|---|---|---|---|---|
| 1 | Claude Fable 5.1Anthropic |
80.7 | Proprietary | 1 Sep 2026 | $10 / $50per million tokens |
| 2 | GPT-5.6 SolOpenAI |
78.3 | Proprietary | 9 Jul 2026 | $4 / $20per million tokens |
| 3 | Claude Opus 5Anthropic |
78.0 | Proprietary | 24 Jul 2026 | $5 / $25per million tokens |
| 4 | GPT-6 AstraOpenAI |
76.9 | Proprietary | 4 Sep 2026 | $10 / $50per million tokens |
| 5 | Grok 4.6xAI |
76.8 | Proprietary | 12 Aug 2026 | $2 / $6per million tokens |
| 6 | GPT-5.6 TerraOpenAI |
76.7 | Proprietary | 9 Jul 2026 | $2 / $12per million tokens |
| 7 | Claude Fable 5Anthropic |
76.5 | Proprietary | 9 Jun 2026 | $10 / $50per million tokens |
| 8 | Gemini 3.8 FlashGoogle |
76.3 | Proprietary | 2 Sep 2026 | $0.825 / $4.125per million tokens |
| 9 | Kimi K3Moonshot AI |
76.2 | Open weights | 16 Jul 2026 | Server hardware (about 1,746 GB) |
| 10 | Qwen3.8 Max (0902)Alibaba (Qwen) |
76.2 | Proprietary | 3 Sep 2026 | $2 / $6per million tokens |
| 11 | Gemini 3.7 FlashGoogle |
76.1 | Proprietary | 13 Aug 2026 | $0.75 / $3.75per million tokens |
| 12 | Muse Spark 1.3Meta |
75.8 | Proprietary | 2 Sep 2026 | $1.25 / $4.25per million tokens |
| 13 | GPT-5.5OpenAI |
74.9 | Proprietary | 24 Apr 2026 | $5 / $30per million tokens |
| 14 | GLM-5.3Z.ai (Zhipu AI) |
74.8 | Open weights | 18 Aug 2026 | Server hardware (about 500 GB) |
| 15 | Claude Opus 4.8Anthropic |
74.3 | Proprietary | 27 May 2026 | $5 / $25per million tokens |
| 16 | Claude Opus 4.7Anthropic |
73.6 | Proprietary | 16 Apr 2026 | $5 / $25per million tokens |
| 17 | Grok 4.5xAI |
72.4 | Proprietary | 8 Jul 2026 | $2 / $6per million tokens |
| 18 | Muse Spark 1.2Meta |
72.2 | Proprietary | 5 Aug 2026 | $1.25 / $4.25per million tokens |
| 19 | Qwen3.8 2.4T A95BQwen |
71.9 | Open weights | 12 Aug 2026 | Downloadable weights |
| 20 | Claude Sonnet 5Anthropic |
71.5 | Proprietary | 30 Jun 2026 | $2 / $10per million tokens |
| 21 | GLM-5.3-FlashZ.ai (Zhipu AI) |
71.5 | Open weights | 26 Aug 2026 | Server hardware (about 200 GB) |
| 22 | GPT-5.6 LunaOpenAI |
71.4 | Proprietary | 9 Jul 2026 | $0.2 / $1.2per million tokens |
| 23 | Muse Spark 1.1Meta |
71.3 | Proprietary | 16 Jul 2026 | $1.25 / $4.25per million tokens |
| 24 | GPT-5.4OpenAI |
71.1 | Proprietary | 5 Mar 2026 | $2.5 / $15per million tokens |
| 25 | Gemini 3.5 FlashGoogle |
70.1 | Proprietary | 19 May 2026 | $1.5 / $9per million tokens |
| 26 | Gemini 3.6 FlashGoogle |
69.2 | Proprietary | 21 Jul 2026 | $0.75 / $3.75per million tokens |
| 27 | DeepSeek V4 Flash 0731DeepSeek |
69.1 | Open weights | 31 Jul 2026 | Server hardware (about 190 GB) |
| 28 | DeepSeek V4 Pro 0813DeepSeek |
68.8 | Open weights | 12 Aug 2026 | Downloadable weights |
| 29 | GLM-5.2Z.ai (Zhipu AI) |
68.8 | Open weights | 16 Jun 2026 | Server hardware (about 498 GB) |
| 30 | Gemini 3.1 ProGoogle |
68.8 | Proprietary | 19 Feb 2026 | $2 / $12per million tokens |
| 31 | Qwen 3.8 27BAlibaba (Qwen) |
68.1 | Open weights | 14 Aug 2026 | 18.1 GB of GPU memory |
| 32 | Qwen3.7-MaxAlibaba (Qwen) |
66.0 | Proprietary | 21 May 2026 | $1.475 / $4.425per million tokens |
| 33 | DeepSeek V4 Flash Vision ExpDeepSeek |
65.0 | Open weights | 21 Aug 2026 | Downloadable weights |
| 34 | Claude Sonnet 4.6Anthropic |
63.0 | Proprietary | 17 Feb 2026 | $3 / $15per million tokens |
| 35 | Kimi K2.6Moonshot AI |
61.8 | Open weights | 20 Apr 2026 | Server hardware (about 652 GB) |
| 36 | Kimi K2.7 CodeMoonshot AI |
60.8 | Open weights | 12 Jun 2026 | Server hardware (about 652 GB) |
| 37 | MiMo-V2.5-ProXiaomi |
60.2 | Open weights | 22 Apr 2026 | Downloadable weights |
| 38 | DeepSeek-V4-ProDeepSeek |
59.4 | Open weights | 24 Apr 2026 | Server hardware (about 957 GB) |
| 39 | Hy3 previewTencent |
58.8 | Open weights | 22 Apr 2026 | Downloadable weights |
| 40 | MiniMax M3MiniMax |
58.6 | Open weights | 31 May 2026 | Downloadable weights |
| 41 | Ling 3.0 Flash VLinclusionAI |
57.0 | Open weights | 10 Sep 2026 | Downloadable weights |
| 42 | MiMo-V2.5Xiaomi |
56.8 | Open weights | 22 Apr 2026 | Downloadable weights |
| 43 | DeepSeek-V4-FlashDeepSeek |
56.2 | Open weights | 24 Apr 2026 | Server hardware (about 177 GB) |
| 44 | GPT-5.4 MiniOpenAI |
56.1 | Proprietary | 17 Mar 2026 | $0.75 / $4.5per million tokens |
| 45 | GPT-5.4 NanoOpenAI |
56.1 | Proprietary | 17 Mar 2026 | $0.2 / $1.25per million tokens |
| 46 | Qwen3.7-PlusAlibaba (Qwen) |
55.9 | Proprietary | 3 Jun 2026 | $0.32 / $1.28per million tokens |
| 47 | GLM-5.1Z.ai (Zhipu AI) |
55.8 | Open weights | 7 Apr 2026 | Server hardware (about 476 GB) |
| 48 | Qwen 3.6 PlusAlibaba (Qwen) |
54.5 | Proprietary | 2 Apr 2026 | $0.325 / $1.95per million tokens |
| 49 | Qwen3.6 27BAlibaba (Qwen) |
53.7 | Open weights | 27 Apr 2026 | 18.4 GB of GPU memory |
| 50 | Inkling SmallThinking Machines |
52.9 | Open weights | 30 Jul 2026 | Downloadable weights |
How to read this ranking
The coding score comes from published coding benchmarks and is refreshed automatically. It was last updated on 29 Oct 2026.
Models released in the last weeks may be missing: they appear once their score is published. A high score does not mean the model is the best for every project, and “open weights” does not always mean a free license: check it before any commercial use.
To run a model at home, open its page and check the memory it needs, or see the best graphics cards for local AI.