---
title: Best LLM for coding (November 2026)
url: https://llmsranked.com/best/coding/
updated: 2026-11-19
---

Best for coding

# Best LLM for coding (November 2026)

Ranked for writing and fixing code, by coding score. 36 models qualify.

- Data checked 19 November 2026

-
1
[Claude Fable 5.2](https://llmsranked.com/models/claude-fable-5-2/)Anthropic

53.9 Coding score

- $16 / 1M
- 109 t/s
- 1M context

Best of 36 on intelligence index

[Details](https://llmsranked.com/models/claude-fable-5-2/)[vs GPT-6.2 Astra](https://llmsranked.com/compare/claude-fable-5-2-vs-gpt-6-2-astra/)

-
2
[GPT-6.2 Astra](https://llmsranked.com/models/gpt-6-2-astra/)OpenAI

53.1 Coding score

- $16 / 1M
- 49 t/s
- 1.05M context

#2 of 36 on intelligence index

[Details](https://llmsranked.com/models/gpt-6-2-astra/)[vs Claude Fable 5.2](https://llmsranked.com/compare/claude-fable-5-2-vs-gpt-6-2-astra/)

-
3
[Gemini 4 Neon](https://llmsranked.com/models/gemini-4-neon/)Google

52.7 Coding score

- $6 / 1M
- 110 t/s
- 1.05M context

#2 of 36 on intelligence index

[Details](https://llmsranked.com/models/gemini-4-neon/)[vs Claude Fable 5.2](https://llmsranked.com/compare/claude-fable-5-2-vs-gemini-4-neon/)

## Quick picks from this list

- [Best open weightsKimi K3.1 Pro42.6 coding score](https://llmsranked.com/models/kimi-k3-1-pro/)
- [Cheapest in the top 10GPT-6.1 Terra$2 per 1M](https://llmsranked.com/models/gpt-6-1-terra/)
- [Fastest in the top 10Gemini 4 Hydrogen169 tokens/s](https://llmsranked.com/models/gemini-4-hydrogen/)
- [Best value in the top 10GPT-6.1 Terra25.5 points per $](https://llmsranked.com/models/gpt-6-1-terra/)

## Full ranking

All
Open weights
Under $1
Under $5
Reasoning

36 models

-
1

[Claude Fable 5.2](https://llmsranked.com/models/claude-fable-5-2/)Anthropic · $16/1M

53.9

-
2

[GPT-6.2 Astra](https://llmsranked.com/models/gpt-6-2-astra/)OpenAI · $16/1M

53.1

-
3

[Gemini 4 Neon](https://llmsranked.com/models/gemini-4-neon/)Google · $6/1M

52.7

-
4

[Claude Opus 5.5](https://llmsranked.com/models/claude-opus-5-5/)Anthropic · $8/1M

51.5

-
5

[Claude Sonnet 5.5](https://llmsranked.com/models/claude-sonnet-5-5/)Anthropic · $4/1M

51.1

-
6

[Gemini 4 Carbon](https://llmsranked.com/models/gemini-4-carbon/)Google · $4/1M

50.8

-
7

[GPT-6.2 Sol](https://llmsranked.com/models/gpt-6-2-sol/)OpenAI · $4/1M

50.7

-
8

[GPT-6.1 Terra](https://llmsranked.com/models/gpt-6-1-terra/)OpenAI · $2/1M

48.0

-
9

[Gemini 4 Hydrogen](https://llmsranked.com/models/gemini-4-hydrogen/)Google · $3/1M

45.4

-
10

[Kimi K3.1 Pro](https://llmsranked.com/models/kimi-k3-1-pro/)Moonshot AI (Kimi) · $4/1M · open

42.6

-
11

[Gemini 4 Argon](https://llmsranked.com/models/gemini-4-argon/)Google · $4/1M

38.7

-
12

[Muse Wonder](https://llmsranked.com/models/muse-wonder/)Meta · $8/1M

38.1

-
13

[Qwen4 Max](https://llmsranked.com/models/qwen4-max/)Alibaba (Qwen) · $2.25/1M

34.9

-
14

[Claude Haiku 5.5](https://llmsranked.com/models/claude-haiku-5-5/)Anthropic · $0.2/1M

34.3

-
15

[Tencent Hy4](https://llmsranked.com/models/tencent-hy4/)Tencent · $1.25/1M

34.0

-
16

[Muse Ember](https://llmsranked.com/models/muse-ember/)Meta · $0.2/1M

33.1

-
17

[DeepSeek V4.1 Flash (1017)](https://llmsranked.com/models/deepseek-v4-1-flash/)DeepSeek · $0.525/1M · open

30.0

-
18

[GLM-5.3](https://llmsranked.com/models/glm-5-3/)Zhipu AI (Z.ai) · $2.15/1M · open

29.3

-
19

[MiMo-V2.6-Pro](https://llmsranked.com/models/mimo-v2-6-pro/)Xiaomi · $0.544/1M · open

28.6

-
20

[Grok 4.7](https://llmsranked.com/models/grok-4-7/)xAI · $3/1M

26.9

-
21

[Qwen3.8 Flash Next](https://llmsranked.com/models/qwen3-8-flash-next/)Alibaba (Qwen) · $0.23/1M · open

25.9

-
22

[GLM-5.3 Flash](https://llmsranked.com/models/glm-5-3-flash/)Zhipu AI (Z.ai) · $0.237/1M · open

23.7

-
23

[MiniMax-M3.1-Flash](https://llmsranked.com/models/minimax-m3-1-flash/)MiniMax · $0.262/1M · open

22.8

-
24

[GPT-6 Luna](https://llmsranked.com/models/gpt-6-luna/)OpenAI · $0.2/1M

20.2

-
25

[Mistral Large 4](https://llmsranked.com/models/mistral-large-4/)Mistral AI · $1.05/1M · open

18.9

-
26

[DeepSeek V4 Pro (0813)](https://llmsranked.com/models/deepseek-v4-pro/)DeepSeek · $1.98/1M · open

15.9

-
27

[MiniMax-M3](https://llmsranked.com/models/minimax-m3/)MiniMax · $0.525/1M · open

13.9

-
28

[Qwen3.8 27B](https://llmsranked.com/models/qwen3-8-27b/)Alibaba (Qwen) · $1.13/1M · open

11.2

-
29

[Muse Spark Open](https://llmsranked.com/models/muse-spark-open/)Meta · $2/1M · open

7.8

-
30

[Gemini 3.5 Flash-Lite](https://llmsranked.com/models/gemini-3-5-flash-lite/)Google · $0.85/1M

4.0

-
31

[Nemotron 3.5 Super VL](https://llmsranked.com/models/nemotron-3-5-super-vl/)NVIDIA · $0.237/1M · open

3.7

-
32

[Mistral Medium 3.5](https://llmsranked.com/models/mistral-medium-3-5/)Mistral AI · $3/1M · open

1.1

-
33

[Nemotron 3 Ultra 550B-A55B](https://llmsranked.com/models/nemotron-3-ultra/)NVIDIA · $1.05/1M · open

0.9

-
34

[Command A+](https://llmsranked.com/models/command-a-plus/)Cohere · open

0.2

-
35

[gpt-oss-120b](https://llmsranked.com/models/gpt-oss-120b/)OpenAI · $0.262/1M · open

0.0

-
36

[Gemma 4 31B](https://llmsranked.com/models/gemma-4-31b/)Google · 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.

[Full methodology](https://llmsranked.com/methodology/) · [About Coding score](https://llmsranked.com/benchmarks/coding-score/)

## 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](https://llmsranked.com/calculator/) 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](https://llmsranked.com/compare/claude-fable-5-2-vs-gpt-6-2-astra/)
- [Claude Fable 5.2 vs Gemini 4 Neon](https://llmsranked.com/compare/claude-fable-5-2-vs-gemini-4-neon/)
- [Claude Fable 5.2 vs Claude Opus 5.5](https://llmsranked.com/compare/claude-fable-5-2-vs-claude-opus-5-5/)
- [Claude Fable 5.2 vs Claude Sonnet 5.5](https://llmsranked.com/compare/claude-fable-5-2-vs-claude-sonnet-5-5/)
- [GPT-6.2 Astra vs Gemini 4 Neon](https://llmsranked.com/compare/gpt-6-2-astra-vs-gemini-4-neon/)
- [GPT-6.2 Astra vs Claude Opus 5.5](https://llmsranked.com/compare/gpt-6-2-astra-vs-claude-opus-5-5/)
- [GPT-6.2 Astra vs Claude Sonnet 5.5](https://llmsranked.com/compare/gpt-6-2-astra-vs-claude-sonnet-5-5/)
- [Gemini 4 Neon vs Claude Opus 5.5](https://llmsranked.com/compare/gemini-4-neon-vs-claude-opus-5-5/)
- [Gemini 4 Neon vs Claude Sonnet 5.5](https://llmsranked.com/compare/gemini-4-neon-vs-claude-sonnet-5-5/)
- [Claude Opus 5.5 vs Claude Sonnet 5.5](https://llmsranked.com/compare/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.

## Other lists

- [Overall](https://llmsranked.com/best/overall/)
- [Agents](https://llmsranked.com/best/agents/)
- [Best value](https://llmsranked.com/best/value/)
- [Cheapest](https://llmsranked.com/best/cheapest/)
- [Fastest](https://llmsranked.com/best/fastest/)
- [Open weights](https://llmsranked.com/best/open-weights/)
- [Long context](https://llmsranked.com/best/long-context/)
- [Hard reasoning](https://llmsranked.com/best/reasoning/)
- [Science](https://llmsranked.com/best/science/)
- [People's vote](https://llmsranked.com/best/chat/)
- [Vision](https://llmsranked.com/best/vision/)

## Sources

Every figure on this page links to one of these. Checked 19 November 2026. Spotted something out of date? [Tell us](https://llmsranked.com/contact/)

- [Artificial Analysis leaderboard](https://artificialanalysis.ai/leaderboards/models) · Coding score
