Best for coding
Best LLM for coding (November 2026)
Ranked for writing and fixing code, by coding score. 36 models qualify.
-
1 Claude Fable 5.2Anthropic
- $16 / 1M
- 109 t/s
- 1M context
Best of 36 on intelligence index
-
2 GPT-6.2 AstraOpenAI
- $16 / 1M
- 49 t/s
- 1.05M context
#2 of 36 on intelligence index
-
3 Gemini 4 NeonGoogle
- $6 / 1M
- 110 t/s
- 1.05M context
#2 of 36 on intelligence index
Quick picks from this list
Full ranking
36 models
- 1 Claude Fable 5.2Anthropic · $16/1M 53.9
- 2 GPT-6.2 AstraOpenAI · $16/1M 53.1
- 3 Gemini 4 NeonGoogle · $6/1M 52.7
- 4 Claude Opus 5.5Anthropic · $8/1M 51.5
- 5 Claude Sonnet 5.5Anthropic · $4/1M 51.1
- 6 Gemini 4 CarbonGoogle · $4/1M 50.8
- 7 GPT-6.2 SolOpenAI · $4/1M 50.7
- 8 GPT-6.1 TerraOpenAI · $2/1M 48.0
- 9 Gemini 4 HydrogenGoogle · $3/1M 45.4
- 10 Kimi K3.1 ProMoonshot AI (Kimi) · $4/1M · open 42.6
- 11 Gemini 4 ArgonGoogle · $4/1M 38.7
- 12 Muse WonderMeta · $8/1M 38.1
- 13 Qwen4 MaxAlibaba (Qwen) · $2.25/1M 34.9
- 14 Claude Haiku 5.5Anthropic · $0.2/1M 34.3
- 15 Tencent Hy4Tencent · $1.25/1M 34.0
- 16 Muse EmberMeta · $0.2/1M 33.1
- 17 DeepSeek V4.1 Flash (1017)DeepSeek · $0.525/1M · open 30.0
- 18 GLM-5.3Zhipu AI (Z.ai) · $2.15/1M · open 29.3
- 19 MiMo-V2.6-ProXiaomi · $0.544/1M · open 28.6
- 20 Grok 4.7xAI · $3/1M 26.9
- 21 Qwen3.8 Flash NextAlibaba (Qwen) · $0.23/1M · open 25.9
- 22 GLM-5.3 FlashZhipu AI (Z.ai) · $0.237/1M · open 23.7
- 23 MiniMax-M3.1-FlashMiniMax · $0.262/1M · open 22.8
- 24 GPT-6 LunaOpenAI · $0.2/1M 20.2
- 25 Mistral Large 4Mistral AI · $1.05/1M · open 18.9
- 26 DeepSeek V4 Pro (0813)DeepSeek · $1.98/1M · open 15.9
- 27 MiniMax-M3MiniMax · $0.525/1M · open 13.9
- 28 Qwen3.8 27BAlibaba (Qwen) · $1.13/1M · open 11.2
- 29 Muse Spark OpenMeta · $2/1M · open 7.8
- 30 Gemini 3.5 Flash-LiteGoogle · $0.85/1M 4.0
- 31 Nemotron 3.5 Super VLNVIDIA · $0.237/1M · open 3.7
- 32 Mistral Medium 3.5Mistral AI · $3/1M · open 1.1
- 33 Nemotron 3 Ultra 550B-A55BNVIDIA · $1.05/1M · open 0.9
- 34 Command A+Cohere · open 0.2
- 35 gpt-oss-120bOpenAI · $0.262/1M · open 0.0
- 36 Gemma 4 31BGoogle · open 0.0
No model in this list matches that filter.
How this list is ranked
Ranked by our coding score: the coding quarter of the Artificial Analysis Intelligence Index, rebuilt from its two published coding results with the index's own weights (FrontierCode-AA 2.0 at 60%, Terminal-Bench 4.1 at 40%). Both are run independently, the same way for every model.
Before you choose
- Run your own prompts on the top two or three. Rankings narrow the field; they do not replace a test.
- Check the monthly cost at your real volume. Output-heavy work changes the order.
- For private data, look at open-weight models you can host yourself.
Head-to-heads at the top
- Claude Fable 5.2 vs GPT-6.2 Astra
- Claude Fable 5.2 vs Gemini 4 Neon
- Claude Fable 5.2 vs Claude Opus 5.5
- Claude Fable 5.2 vs Claude Sonnet 5.5
- GPT-6.2 Astra vs Gemini 4 Neon
- GPT-6.2 Astra vs Claude Opus 5.5
- GPT-6.2 Astra vs Claude Sonnet 5.5
- Gemini 4 Neon vs Claude Opus 5.5
- Gemini 4 Neon vs Claude Sonnet 5.5
- Claude Opus 5.5 vs Claude Sonnet 5.5
Questions
What is the best llm for coding?
Claude Fable 5.2 from Anthropic, with 53.9. GPT-6.2 Astra is second with 53.1 and Gemini 4 Neon third with 52.7.
What is the best open-weight option for writing and fixing code?
Kimi K3.1 Pro, at number 10 with 42.6.
Which top-10 model is cheapest?
GPT-6.1 Terra at $2 per 1M tokens blended.
How is this list ranked?
Ranked by our coding score: the coding quarter of the Artificial Analysis Intelligence Index, rebuilt from its two published coding results with the index's own weights (FrontierCode-AA 2.0 at 60%, Terminal-Bench 4.1 at 40%). Both are run independently, the same way for every model.
Sources
Every figure on this page links to one of these. Checked 19 November 2026. Spotted something out of date? Tell us
- Artificial Analysis leaderboard · Coding score