Beta
Budget · Under $5/M

LLMs under $5 per million tokens

Every model priced below $5 per 1M input tokens. Ranked by benchmark score within budget.

Models40
Top quality81.9
Max price$5.00/M
What this page is
This page ranks every model with input priced below $5 per million tokens by benchmark score. The sub-$5 tier is the pragmatic production sweet spot · it catches strong mid-frontier models (Sonnet, GPT-5 mini, Gemini 2.5 Pro) as well as every open-source option. For most real-world apps, the top entry here will match Opus or GPT-5 on 90% of tasks at a fraction of the cost.

Input under $5/M, highest benchmark score first.

#ModelIn $/1MOut $/1MType
1OpenAI logoGPT-5 Chat$1.25$10.00Closed
2Alibaba Qwen logoQwen3.5 397B A17B$0.39$2.34OSS
3DeepSeek logoDeepSeek V3.2 Speciale$0.40$1.20OSS
4Google DeepMind logoGemini 2.5 Pro Preview 05-06$1.25$10.00Closed
5stepfun logoStep 3.5 Flash$0.10$0.30OSS
6xiaomi logoMiMo-V2-Flash$0.09$0.29OSS
7OpenAI logoGPT-5.1-Codex-Max$1.25$10.00Closed
8OpenAI logoo4 Mini High$1.10$4.40Closed
9Alibaba Qwen logoQwen3.6 Plus$0.33$1.95OSS
10OpenAI logoGPT-5.2-Codex$1.75$14.00Closed
11z-ai logoGLM 5.1$0.95$3.15OSS
12writer logoPalmyra X5$0.60$6.00Closed
13xAI logoGrok 3 Beta$3.00$15.00Closed
14minimax logoMiniMax M2$0.26$1.00OSS
15z-ai logoGLM 4.5$0.60$2.20OSS
16OpenAI logogpt-oss-120b (free)$0.00$0.00OSS
17OpenAI logoGPT-5.1-Codex$1.25$10.00Closed
18OpenAI logogpt-oss-20b$0.03$0.14OSS
19OpenAI logogpt-oss-20b (free)$0.00$0.00OSS
20Alibaba Qwen logoQwen3 30B A3B Thinking 2507$0.08$0.40OSS
21xAI logoGrok 3 Mini Beta$0.30$0.50Closed
22Google DeepMind logoGemini 2.0 Flash Lite$0.07$0.30Closed
23minimax logoMiniMax M2.7$0.30$1.20OSS
24Google DeepMind logoGemma 4 31B$0.13$0.38OSS
25Alibaba Qwen logoQwen3 Next 80B A3B Thinking$0.10$0.78OSS
26Google DeepMind logoGemini 3.1 Pro Preview$2.00$12.00Closed
27OpenAI logoGPT-5.1-Codex-Mini$0.25$2.00Closed
28OpenAI logoo3 Mini High$1.10$4.40Closed
29meituan logoLongCat Flash Chat$0.20$0.80OSS
30Google DeepMind logoGemini 2.5 Flash Lite$0.10$0.40Closed
31DeepSeek logoDeepSeek V3$0.32$0.89OSS
32OpenAI logoGPT-5.4$2.50$15.00Closed
33Alibaba Qwen logoQwen3 Max$0.78$3.90OSS
34Alibaba Qwen logoQwen3 32B$0.08$0.24OSS
35xiaomi logoMiMo-V2-Pro$1.00$3.00Closed
36DeepSeek logoR1 0528$0.50$2.15OSS
37Mistral AI logoMixtral 8x7B Instruct$0.54$0.54OSS
38z-ai logoGLM 5$0.72$2.30OSS
39baidu logoERNIE 4.5 21B A3B Thinking$0.07$0.28OSS
40Alibaba Qwen logoQwen3 8B$0.05$0.40OSS
Cheapest
GPT-5 Chat
$1.25/M
$ per 1M input tokens
Why the gap

Within this tier, price differences are small but quality varies a lot. The top entry (ranked by avg score) often beats several "premium" models that sit above $5.

Most expensive
Grok 3 Beta
$3.00/M
$ per 1M input tokens
Mid-tier. Frontier models run $10 to $75 per million. Bulk open-source runs under $1. $5 catches capable mid-size models (Sonnet at some providers, GPT-5 mini, Gemini 2.5 Pro at scale).