Enter opens the highlighted result. Esc closes.

Cheapest good LLM for coding

Claude Haiku 5.5 leads
$0.50
models qualify
50

Output $/Mtok · read December 4

Cheapest output, $ per million tokens

  • Solar Mini 4.5 $0.04
  • S Llama 3 8B Lunaris $0.05
  • Gemma 3 4B $0.075
  • Mistral Small 3 $0.08
  • Reka Edge $0.10
  • Ministral 3 3B 2512 $0.10
  • Ling 3.0 Flash $0.1215
  • P Ternary Bonsai 2 9B $0.13

As of December 4, 2026, Anthropic Claude Haiku 5.5 is the cheapest model at or above the median coding index, at $0.50 per million output tokens, ahead of Meta Muse Ember ($0.50) and DeepSeek V4.1 Flash 1017 ($0.6775).

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

Top 20 of 50, lower is better

Embed this data
Cheapest good LLM for coding
Rank Model Output $/Mtok Evidence Coding index
1
Claude Haiku 5.5 Anthropic
$0.50
65.2
2
Muse Ember Meta
$0.50
57.1
3
$0.6775
63.1
4
Hy4 Tencent
$1.2505
60.8
5
$1.95
59.0
6
Mistral Large 4 Mistral AI
$2.10
56.8
7
$2.50
58.4
8
$2.55
72.2
9
Amazon Ergo Amazon
$3.00
65.8
10
MiniMax M4 MiniMax
$3.10
70.3
11
$3.75
61.7
12
Kimi K2.6 Moonshot AI
$4.00
63.4
13
$4.25
68.7
14
Qwen4 Max Qwen
$4.275
70.4
15
GLM 5.4 Z.ai
$4.40
72.7
16
GLM 5.3 Z.ai
$4.40
65.7
17
GLM 5.1 Z.ai
$4.40
63.5
18
GLM 5.2 Z.ai
$4.40
59.7
19
$4.425
59.3
20
GPT-6.1 Terra OpenAI
$5.00
74.3

How this list is built

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

Models whose coding index is at or above 56.8, the median of every scored model, ordered by output price, cheapest first. Above the median means better than half the field on the same index.

Other lists

Rankings beyond coding · Methodology