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.45OSS
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
6z-ai logoGLM 5.2$1.00$4.00OSS
7DeepSeek logoDeepSeek V4 Pro$0.43$0.87OSS
8xiaomi logoMiMo-V2-Flash$0.09$0.29OSS
9OpenAI logoGPT-5.1-Codex-Max$1.25$10.00Closed
10OpenAI logoo4 Mini High$1.10$4.40Closed
11OpenAI logoGPT-5.2-Codex$1.75$14.00Closed
12minimax logoMiniMax M3$0.30$1.20OSS
13writer logoPalmyra X5$0.60$6.00Closed
14xAI logoGrok 3 Beta$3.00$15.00Closed
15minimax logoMiniMax M2$0.26$1.02OSS
16z-ai logoGLM 4.5$0.60$2.20OSS
17xAI logoGrok Build 0.1$1.00$2.00Closed
18OpenAI logogpt-oss-120b (free)$0.00$0.00OSS
19OpenAI logoGPT-5.1-Codex$1.25$10.00Closed
20Alibaba Qwen logoQwen3.7 Max$1.25$3.75OSS
21OpenAI logogpt-oss-20b$0.03$0.14OSS
22DeepSeek logoDeepSeek V4 Flash$0.08$0.17OSS
23xAI logoGrok 4.3$1.25$2.50Closed
24OpenAI logogpt-oss-20b (free)$0.00$0.00OSS
25Alibaba Qwen logoQwen3 30B A3B Thinking 2507$0.13$1.56OSS
26xAI logoGrok 4.20$1.25$2.50Closed
27Alibaba Qwen logoQwen3.6 27B$0.28$2.40OSS
28xAI logoGrok 3 Mini Beta$0.30$0.50Closed
29Google DeepMind logoGemini 2.0 Flash Lite$0.07$0.30Closed
30minimax logoMiniMax M2.7$0.24$0.96OSS
31moonshotai logoKimi K2.7 Code$0.61$3.07OSS
32Google DeepMind logoGemini 3.5 Flash$1.50$9.00Closed
33Google DeepMind logoGemma 4 31B$0.12$0.35OSS
34Alibaba Qwen logoQwen3 Next 80B A3B Thinking$0.10$0.78OSS
35OpenAI logoGPT-5.1-Codex-Mini$0.25$2.00Closed
36OpenAI logoo3 Mini High$1.10$4.40Closed
37Alibaba Qwen logoQwen3.6 Plus$0.33$1.95OSS
38z-ai logoGLM 5.1$0.97$3.04OSS
39meituan logoLongCat Flash Chat$0.20$0.80OSS
40Google DeepMind logoGemini 2.5 Flash Lite$0.10$0.40Closed
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).