Budget · Under $20/M

LLMs under $20 per million tokens

Every model priced below $20 per 1M input tokens. Ranked by benchmark score within budget. The "I care about quality" tier.

Models40
Top quality85.0
Max price$20.00/M
What this page is
This page ranks every model with input priced below $20 per million tokens, highest quality first. The under-$20 tier includes near-frontier models like Claude Sonnet and Gemini 2.5 Pro along with strong reasoning models. Above this tier you enter Opus and GPT-5 territory. Use this page when you care about quality but still want to keep bills sane.

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

#ModelIn $/1MOut $/1MType
1OpenAI logoGPT-5.5$5.00$30.00Closed
2OpenAI logoGPT-5 Chat$1.25$10.00Closed
3Alibaba Qwen logoQwen3.5 397B A17B$0.39$2.45OSS
4DeepSeek logoDeepSeek V3.2 Speciale$0.40$1.20OSS
5Google DeepMind logoGemini 2.5 Pro Preview 05-06$1.25$10.00Closed
6stepfun logoStep 3.5 Flash$0.10$0.30OSS
7z-ai logoGLM 5.2$1.00$4.00OSS
8Anthropic logoClaude Fable 5$10.00$50.00Closed
9DeepSeek logoDeepSeek V4 Pro$0.43$0.87OSS
10xiaomi logoMiMo-V2-Flash$0.09$0.29OSS
11OpenAI logoGPT-5.1-Codex-Max$1.25$10.00Closed
12OpenAI logoo4 Mini High$1.10$4.40Closed
13OpenAI logoGPT-5.2-Codex$1.75$14.00Closed
14minimax logoMiniMax M3$0.30$1.20OSS
15writer logoPalmyra X5$0.60$6.00Closed
16xAI logoGrok 3 Beta$3.00$15.00Closed
17minimax logoMiniMax M2$0.26$1.02OSS
18z-ai logoGLM 4.5$0.60$2.20OSS
19xAI logoGrok Build 0.1$1.00$2.00Closed
20OpenAI logogpt-oss-120b (free)$0.00$0.00OSS
21OpenAI logoGPT-5.1-Codex$1.25$10.00Closed
22Alibaba Qwen logoQwen3.7 Max$1.25$3.75OSS
23OpenAI logogpt-oss-20b$0.03$0.14OSS
24DeepSeek logoDeepSeek V4 Flash$0.08$0.17OSS
25xAI logoGrok 4.3$1.25$2.50Closed
26OpenAI logogpt-oss-20b (free)$0.00$0.00OSS
27Alibaba Qwen logoQwen3 30B A3B Thinking 2507$0.13$1.56OSS
28xAI logoGrok 4.20$1.25$2.50Closed
29Alibaba Qwen logoQwen3.6 27B$0.28$2.40OSS
30OpenAI logoGPT-4 Turbo (older v1106)$10.00$30.00Closed
31xAI logoGrok 3 Mini Beta$0.30$0.50Closed
32Google DeepMind logoGemini 2.0 Flash Lite$0.07$0.30Closed
33minimax logoMiniMax M2.7$0.24$0.96OSS
34moonshotai logoKimi K2.7 Code$0.61$3.07OSS
35Google DeepMind logoGemini 3.5 Flash$1.50$9.00Closed
36Google DeepMind logoGemma 4 31B$0.12$0.35OSS
37Alibaba Qwen logoQwen3 Next 80B A3B Thinking$0.10$0.78OSS
38Anthropic logoClaude Opus 4.8$5.00$25.00Closed
39OpenAI logoGPT-5.1-Codex-Mini$0.25$2.00Closed
40OpenAI logoo3 Mini High$1.10$4.40Closed
Cheapest
GPT-5.5
$5.00/M
$ per 1M input tokens
Why the gap

At the top of this tier, pricing approaches frontier. The delta to true frontier (Opus, GPT-5) is 2x to 5x for roughly 5 to 15 percent quality gain on most tasks.

Most expensive
Claude Fable 5
$10.00/M
$ per 1M input tokens
Because most workloads don't need this tier. $20/M catches Claude Sonnet, Gemini 2.5 Pro Ultra tiers, some specialized reasoning models. For a 10K-token prompt, that's $0.20 just for input. At scale, it adds up fast.