Enter opens the highlighted result. Esc closes.

Best open-weight LLM for coding

Kimi K3.1 Pro leads
75.1
models ranked
39
downloads of #1, 30 days
143.3K
lead over #2
+2.4

Coding index · read December 4

  1. New Qwen4 35B A3B December 4
  2. New MiniMax M4 December 3
  3. New GLM 5.4 December 2
  4. New Amazon Ergo December 1

As of December 4, 2026, MoonshotAI Kimi K3.1 Pro leads 39 open-weight models with a coding index of 75.1, ahead of Z.ai GLM 5.4 (72.7) and Qwen3.8 27B (72.2).

The full best LLM for coding ranking combines this benchmark with others.

Top 20 of 39, higher is better

Embed this data

Ordered by index, highest first. The dots show how many benchmarks stand behind each score.

Best open-weight LLM for coding
Rank Model Coding index Evidence Weights Output $/Mtok
1
Kimi K3.1 Pro Moonshot AI
75.1
moonshotai/Kimi-K3.1-Pro $10.00
2
GLM 5.4 Z.ai
72.7
zai-org/GLM-5.4 $4.40
3
72.2
Qwen/Qwen3.8-27B $2.55
4
Amazon Ergo Amazon
65.8
Amazon-FMR/Ergo $3.00
5
GLM 5.3 Z.ai
65.7
zai-org/GLM-5.3 $4.40
6
GLM 5.1 Z.ai
63.5
zai-org/GLM-5.1 $4.40
7
Kimi K2.6 Moonshot AI
63.4
moonshotai/Kimi-K2.6 $4.00
8
63.1
deepseek-ai/DeepSeek-V4.1-Flash-1017 $0.6775
9
Hy4 Tencent
60.8
tencent/Hy4 $1.2505
10
GLM 5.2 Z.ai
59.7
zai-org/GLM-5.2 $4.40
11
Kimi K3 Moonshot AI
58.2
moonshotai/Kimi-K3 $15.00
12
Mistral Large 4 Mistral AI
56.8
mistralai/Mistral-Large-4-1T-A52B $2.10
13
Kimi K2.7 Code Moonshot AI
56.5
moonshotai/Kimi-K2.7-Code $4.00
14
GLM 5 Z.ai
56.3
zai-org/GLM-5 $3.20
15
MiMo-V2.6-Pro Xiaomi
55.9
XiaomiMiMo/MiMo-V2.6-Pro-RL $0.87
16
MiniMax M2.7 MiniMax
55.6
MiniMaxAI/MiniMax-M2.7 $1.80
17
Kimi K2.5 Moonshot AI
55.5
moonshotai/Kimi-K2.5 $2.75
18
MiniMax M2.5 MiniMax
55.1
MiniMaxAI/MiniMax-M2.5 $1.20
19
GLM 4.7 Z.ai
55.1
zai-org/GLM-4.7 $2.20
20
54.0
zai-org/GLM-5.3-Flash $0.50

How this list is built

Generated from the dataset on every refresh. Nobody picks the order by hand.

Scored models that OpenRouter links to a public Hugging Face repository, which is where their weights are published, ordered as the ranking orders them. We do not check the license; read it on the repository page.

Other lists

Rankings beyond coding · Methodology