Cheapest LLM API in 2026
Updated 2026-12-03. Direct list prices from official pages, ranks from LMArena.
The cheapest LLM API right now is Qwen3.7 Flash from Qwen at $0.03 input and $0.13 output per 1M tokens, then Hunyuan Hy4 Flash ($0.07 / $0.28) and Step 3.5 Flash ($0.10 / $0.30). The cheapest model in the top 8 for coding is Claude Sonnet 5.5 ($2 / $10). Prices are direct list prices checked 2026-12-03.
| # | Model | Input | Output | Blended |
|---|---|---|---|---|
| 1 | Qwen3.7 Flash | $0.03 | $0.13 | $0.055 |
| 2 | Hunyuan Hy4 Flash | $0.07 | $0.28 | $0.12 |
| 3 | Step 3.5 Flash | $0.10 | $0.30 | $0.15 |
| 4 | Qwen3.5 Flash | $0.10 | $0.40 | $0.18 |
| 5 | Seed 2.0 Mini | $0.10 | $0.40 | $0.18 |
| 6 | MiMo-V2.6 Flash | $0.14 | $0.28 | $0.18 |
| 7 | ERNIE 4.5 Turbo | $0.11 | $0.45 | $0.20 |
| 8 | GPT-6 Luna | $0.10 | $0.50 | $0.20 |
| 9 | Claude Haiku 5.5 | $0.10 | $0.50 | $0.20 |
| 10 | Muse Ember 1.0 | $0.10 | $0.50 | $0.20 |
Show all 94 models
| # | Model | Input | Output | Blended |
|---|---|---|---|---|
| 1 | Qwen3.7 Flash | $0.03 | $0.13 | $0.055 |
| 2 | Hunyuan Hy4 Flash | $0.07 | $0.28 | $0.12 |
| 3 | Step 3.5 Flash | $0.10 | $0.30 | $0.15 |
| 4 | Qwen3.5 Flash | $0.10 | $0.40 | $0.18 |
| 5 | Seed 2.0 Mini | $0.10 | $0.40 | $0.18 |
| 6 | MiMo-V2.6 Flash | $0.14 | $0.28 | $0.18 |
| 7 | ERNIE 4.5 Turbo | $0.11 | $0.45 | $0.20 |
| 8 | GPT-6 Luna | $0.10 | $0.50 | $0.20 |
| 9 | Claude Haiku 5.5 | $0.10 | $0.50 | $0.20 |
| 10 | Muse Ember 1.0 | $0.10 | $0.50 | $0.20 |
| 11 | Qwen3.8 Flash | $0.15 | $0.47 | $0.23 |
| 12 | Hunyuan Hy3 | $0.13 | $0.53 | $0.23 |
| 13 | GLM-5.3 Flash | $0.15 | $0.50 | $0.24 |
| 14 | Mistral Small 4 | $0.15 | $0.60 | $0.26 |
| 15 | MiniMax-M3.1 Flash | $0.15 | $0.60 | $0.26 |
| 16 | Step 3.7 Flash | $0.20 | $1.15 | $0.44 |
| 17 | ERNIE 5.5 Flash Preview | $0.28 | $1.13 | $0.49 |
| 18 | DeepSeek V4.1 Flash | $0.30 | $1.20 | $0.52 |
| 19 | MiniMax-M3 | $0.30 | $1.20 | $0.52 |
| 20 | LongCat-2.5 | $0.30 | $1.20 | $0.52 |
| 21 | MiMo-V2.6 Pro | $0.43 | $0.87 | $0.54 |
| 22 | Qwen3.6 Flash | $0.25 | $1.50 | $0.56 |
| 23 | GLM-5.3 FlashX | $0.37 | $1.25 | $0.59 |
| 24 | Qwen3 Coder Flash | $0.30 | $1.50 | $0.60 |
| 25 | Qwen3.5 35B-A3B | $0.25 | $2 | $0.69 |
| 26 | Seed 2.0 Lite | $0.25 | $2 | $0.69 |
| 27 | Qwen3.7 Plus | $0.40 | $1.60 | $0.70 |
| 28 | Qwen3.5 27B | $0.30 | $2.40 | $0.82 |
| 29 | Qwen3.6 35B-A3B | $0.38 | $2.25 | $0.84 |
| 30 | Gemini 3.5 Flash-Lite | $0.30 | $2.50 | $0.85 |
| 31 | Qwen3.5 Plus | $0.40 | $2.40 | $0.90 |
| 32 | GLM-4.7 | $0.60 | $2.20 | $1 |
| 33 | GLM-4.6 | $0.60 | $2.20 | $1 |
| 34 | Seed 2.1 Turbo | $0.50 | $2.50 | $1 |
| 35 | Mistral Large 4 | $0.70 | $2.10 | $1.05 |
| 36 | ERNIE 5.1 | $0.56 | $2.53 | $1.05 |
| 37 | Qwen3.5 122B-A10B | $0.40 | $3.20 | $1.10 |
| 38 | Qwen3.8 27B | $0.50 | $3 | $1.12 |
| 39 | Qwen3.6 Plus | $0.50 | $3 | $1.12 |
| 40 | Seed 2.0 Pro | $0.50 | $3 | $1.12 |
| 41 | Seed 2.0 Code Preview | $0.50 | $3 | $1.12 |
| 42 | Grok Build 0.1 | $1 | $2 | $1.25 |
| 43 | Hunyuan Hy4 | $0.83 | $2.50 | $1.25 |
| 44 | Hunyuan Hy4 Preview | $0.83 | $2.50 | $1.25 |
| 45 | Qwen3.6 27B | $0.60 | $3.60 | $1.35 |
| 46 | Qwen3.5 397B-A17B | $0.60 | $3.60 | $1.35 |
| 47 | MiniMax-M4 | $0.80 | $3.10 | $1.38 |
| 48 | Step 5 | $1 | $2.70 | $1.43 |
| 49 | Step 5 Preview | $1 | $2.70 | $1.43 |
| 50 | ERNIE 5.0 | $0.84 | $3.38 | $1.48 |
| 51 | Gemini 3.8 Flash | $0.75 | $3.75 | $1.50 |
| 52 | Amazon Ergo | $1 | $3 | $1.50 |
| 53 | GLM-5 | $1 | $3.20 | $1.55 |
| 54 | Grok 4.3 | $1.25 | $2.50 | $1.56 |
| 55 | Kimi K2.7 Code | $0.95 | $4 | $1.71 |
| 56 | Kimi K2.6 | $0.95 | $4 | $1.71 |
| 57 | DeepSeek V4 Pro | $1.32 | $3.96 | $1.98 |
| 58 | GPT-6.1 Terra | $1 | $5 | $2 |
| 59 | Muse Spark 1.3 | $1.25 | $4.25 | $2 |
| 60 | GLM-5.4 | $1.40 | $4.40 | $2.15 |
| 61 | GLM-5.3 | $1.40 | $4.40 | $2.15 |
| 62 | GLM-5.2 | $1.40 | $4.40 | $2.15 |
| 63 | GLM-5.1 | $1.40 | $4.40 | $2.15 |
| 64 | Qwen4-Max | $1.50 | $4.50 | $2.25 |
| 65 | Gemini 4 Hydrogen | $1.50 | $7.50 | $3 |
| 66 | Qwen3.8 Max | $2 | $6 | $3 |
| 67 | Qwen3.8 2.4T-A95B | $2 | $6 | $3 |
| 68 | Mistral Medium 3.5 | $1.50 | $7.50 | $3 |
| 69 | Grok 4.7 | $2 | $6 | $3 |
| 70 | Kimi K2.7 Code Highspeed | $1.90 | $8 | $3.42 |
| 71 | Qwen3.7 Max | $2.50 | $7.50 | $3.75 |
| 72 | GPT-6.2 Sol | $2 | $10 | $4 |
| 73 | GPT-6.1 Sol | $2 | $10 | $4 |
| 74 | GPT-6 Sol | $2 | $10 | $4 |
| 75 | Claude Sonnet 5.5 | $2 | $10 | $4 |
| 76 | Kimi K3.1 Pro | $2 | $10 | $4 |
| 77 | GPT-5.6 Terra | $2 | $12 | $4.50 |
| 78 | Gemini 3.1 Pro Preview | $2 | $12 | $4.50 |
| 79 | MiMo-V2.6 Pro Ultraspeed | $4.35 | $8.70 | $5.44 |
| 80 | Gemini 4 Neon | $3 | $15 | $6 |
| 81 | Kimi K3 | $3 | $15 | $6 |
| 82 | Claude Opus 5.5 | $4 | $20 | $8 |
| 83 | Gemini 4 Carbon | $4 | $20 | $8 |
| 84 | Gemini 4 Argon | $4 | $20 | $8 |
| 85 | Muse Wonder 1.0 | $4 | $20 | $8 |
| 86 | Kimi K3.1 Pro Highspeed | $4 | $20 | $8 |
| 87 | Claude Opus 5 | $5 | $25 | $10 |
| 88 | GPT-5.6 Sol | $5 | $30 | $11.25 |
| 89 | GPT-5.5 | $5 | $30 | $11.25 |
| 90 | GPT-6.2 Astra | $8 | $40 | $16 |
| 91 | Claude Fable 5.2 | $8 | $40 | $16 |
| 92 | Claude Mythos 5.2 | $8 | $40 | $16 |
| 93 | GPT-6 Astra | $10 | $50 | $20 |
| 94 | Claude Fable 5.1 | $10 | $50 | $20 |
USD per 1M tokens, direct from each provider, checked 2026-12-03. Blended = (3 x input + output) / 4, a typical chat mix. Chat rank is the position among models we track on LMArena (CC BY 4.0) Text Arena.
Cheapest by job
- Cheapest overall: Qwen3.7 Flash (Qwen), $0.03 in and $0.13 out. A month of 30M input and 6M output tokens costs $1.68.
- Cheapest good chat model: Gemini 3.8 Flash ($0.75 / $3.75), #8 on Text Arena among tracked models.
- Cheapest strong coding model: Claude Sonnet 5.5 ($2 / $10), #3 on Code Arena among tracked models.
- Cheapest from Chinese labs: Qwen3.7 Flash ($0.03 in, $0.13 out), Hunyuan Hy4 Flash ($0.07 in, $0.28 out), Step 3.5 Flash ($0.10 in, $0.30 out). See best Chinese LLM APIs for ranks and verdicts.
- Off-peak discount: DeepSeek charges half price outside peak hours, so V4.1 Flash drops to $0.15 in and $0.60 out.
- Free option: if you have the hardware, open models run locally at no per-token cost. The local model finder shows what fits your machine.
Temporary prices to watch
- GPT-5.6 Sol: Prompts up to 272K. Longer prompts cost $10 in, $45 out. The $4 in, $20 out promotional price ended Nov 30, 2026.
- Gemini 4 Hydrogen: Flat price across the 1M window. Implicit caching only (explicit caching is not supported). No intro promo. Free tier is free of charge and rate-limited.
- Gemini 4 Carbon: Launch price of $2 in, $10 out ended Nov 30, 2026; $4 in, $20 out from Dec 1. Implicit caching only. Not on the Free tier. Public API from Nov 10, 2026.
- Gemini 4 Argon: Launch price of $2 in, $10 out ended Nov 30, 2026; $4 in, $20 out from Dec 1. Not on the Free tier.
- Gemini 3.8 Flash: Through Dec 31, 2026. From Jan 1, 2027: $1.50 in, $7.50 out.
- Qwen3.7 Plus: List price, prompts up to 256K. Limited-time 20% off. Cached price is for explicit cache hits; implicit cache hits cost $0.08.
- Hunyuan Hy4: Singapore region list price. Tencent bills Hy4 at 50% of list ($0.417 in, $1.251 out) through Dec 31, 2026 (Beijing time). Open weights (Hy4, Hy4-FP8 and Hy4 base, 770B total, 49B active) released on Hugging Face Nov 20, 2026 under the Tencent Hy License.
- LongCat-2.5: Limited-time discounted rate, the only pay-as-you-go price Meituan lists (no list price published). Open weights (MIT), 1.6T total / about 48B active parameters.
We list direct provider prices only. Resellers like OpenRouter may differ. For a head-to-head view, see OpenAI vs Anthropic API pricing, OpenAI vs Gemini API pricing or the best model per task picks.
Sources
FAQ
What is the cheapest LLM API?
Qwen3.7 Flash from Qwen at $0.03 input and $0.13 output per 1M tokens, as of 2026-12-03.
What is the cheapest LLM API for coding?
Among models in the top 8 of LMArena's Code Arena that we track, Claude Sonnet 5.5 is cheapest at $2 input and $10 output per 1M tokens.
Which LLM API has the best price for the quality?
There isn't one winner, because value changes with the task. Our best model pages pick a value model for each task from LMArena scores and our price table.
Is there a free LLM API?
Some providers offer free tiers with tight rate limits, and open models can run locally at no per-token cost. This list covers paid list prices only.
How often are these prices checked?
Daily, against each provider's official pricing page. Qwen's page is checked by hand.
Model vs model, head to head
- DeepSeek V4 Pro vs GPT-6.1 Sol
- Claude Haiku 5.5 vs Gemini 3.8 Flash
- DeepSeek V4.1 Flash vs Gemini 3.8 Flash
- Qwen3.8 Max vs DeepSeek V4 Pro
- Mistral Large 4 vs DeepSeek V4 Pro
- GPT-6 Luna vs Gemini 3.8 Flash
- DeepSeek V4 Pro vs Claude Opus 5.5
- Kimi K3.1 Pro vs DeepSeek V4 Pro
- Kimi K3.1 Pro vs Qwen3.8 Max
- GLM-5.3 vs DeepSeek V4 Pro
- GLM-5.3 vs Qwen3.8 Max
- GLM-5.3 vs MiniMax-M3
- Qwen3.8 Max vs GPT-6.1 Terra
- Qwen3.8 Max vs Claude Opus 5.5
- Qwen3.8 Max vs GPT-6.1 Sol
- MiniMax-M3 vs DeepSeek V4.1 Flash
- MiniMax-M3 vs Claude Sonnet 5.5
- Seed 2.1 Turbo vs Gemini 3.8 Flash
- Seed 2.0 Pro vs Gemini 4 Argon
- DeepSeek V4.1 Flash vs GPT-6 Luna
- DeepSeek V4.1 Flash vs Claude Haiku 5.5
- DeepSeek V4.1 Flash vs Qwen3.8 Flash
- DeepSeek V4 Pro vs Gemini 4 Argon
- MiMo-V2.6 Pro vs DeepSeek V4 Pro
- Grok 4.3 vs DeepSeek V4 Pro
- Claude Sonnet 5.5 vs Claude Haiku 5.5
- GPT-6.1 Terra vs Gemini 3.8 Flash
- Seed 2.1 Turbo vs DeepSeek V4.1 Flash
- Mistral Large 4 vs Mistral Medium 3.5
- Step 5 Preview vs DeepSeek V4 Pro
- Step 3.5 Flash vs DeepSeek V4.1 Flash
- MiniMax-M3.1 Flash vs DeepSeek V4.1 Flash
- MiniMax-M3.1 Flash vs Gemini 3.8 Flash
- GPT-6.1 Terra vs DeepSeek V4.1 Flash
- Muse Spark 1.3 vs Gemini 3.8 Flash
- GPT-6 Luna vs Claude Haiku 5.5
- Qwen3.8 Max vs Gemini 4 Argon
- Gemini 4 Hydrogen vs Gemini 3.8 Flash
- Muse Ember 1.0 vs Claude Haiku 5.5
- Muse Ember 1.0 vs GPT-6 Luna
- Muse Ember 1.0 vs DeepSeek V4.1 Flash
- Muse Ember 1.0 vs Muse Spark 1.3
- ERNIE 5.5 Flash Preview vs DeepSeek V4.1 Flash
- ERNIE 5.5 Flash Preview vs ERNIE 5.1
- Hunyuan Hy4 vs DeepSeek V4 Pro
- Hunyuan Hy4 vs GLM-5.3
- Hunyuan Hy4 Flash vs DeepSeek V4.1 Flash
- Hunyuan Hy4 Flash vs Claude Haiku 5.5
- Hunyuan Hy4 vs Kimi K3.1 Pro
- Hunyuan Hy4 vs Qwen3.8 Max
- LongCat-2.5 vs DeepSeek V4.1 Flash
- LongCat-2.5 vs Kimi K3.1 Pro
- LongCat-2.5 vs GLM-5.3
- LongCat-2.5 vs MiMo-V2.6 Pro
- Qwen4-Max vs Kimi K3.1 Pro
- Qwen4-Max vs Claude Fable 5.2
- Qwen4-Max vs Qwen3.8 Max
- Qwen4-Max vs Gemini 4 Argon
- Hunyuan Hy4 Flash vs Muse Ember 1.0
- Hunyuan Hy4 Flash vs Gemini 4 Hydrogen
- Qwen4-Max vs DeepSeek V4 Pro
- Qwen4-Max vs GLM-5.3
- Qwen4-Max vs GPT-6.1 Sol
- GPT-6.2 Sol vs Qwen4-Max
- Hunyuan Hy4 vs Qwen4-Max
- ERNIE 5.5 Flash Preview vs Hunyuan Hy4 Flash
- ERNIE 5.5 Flash Preview vs GLM-5.3 Flash
- DeepSeek V4 Pro vs DeepSeek V4.1 Flash
- DeepSeek V4.1 Flash vs GLM-5.3 Flash
- DeepSeek V4 Pro vs Claude Fable 5.2
- Kimi K3.1 Pro vs DeepSeek V4.1 Flash
- Step 5 vs DeepSeek V4 Pro
- Amazon Ergo vs DeepSeek V4 Pro
- GLM-5.4 vs DeepSeek V4 Pro
- Step 5 vs DeepSeek V4.1 Flash
- GLM-5.4 vs DeepSeek V4.1 Flash
- Qwen4-Max vs DeepSeek V4.1 Flash
- MiniMax-M3 vs DeepSeek V4 Pro
- Hunyuan Hy4 vs DeepSeek V4.1 Flash
- MiniMax-M4 vs MiniMax-M3
- MiniMax-M4 vs DeepSeek V4 Pro
- MiniMax-M4 vs Kimi K3.1 Pro
- MiniMax-M4 vs Claude Opus 5.5
- MiniMax-M4 vs GPT-6.2 Astra
- MiniMax-M4 vs GLM-5.4
- MiniMax-M4 vs DeepSeek V4.1 Flash
- Compare any AI models side by side
Related
- Best model for Hermes Agent: picks, costs, free and local
- Qwen4-Max vs DeepSeek V4.1 Flash: API price compared
- StepFun Step 5 vs DeepSeek V4.1 Flash: API price compared
- Amazon Ergo: API price, specs and can you run it locally
- Is the Mistral API free? Free mode, Pro and pay-as-you-go
- Best model for OpenClaw: top picks and what they cost
- Gemini API free tier: which models are free
- DeepSeek V4 Pro vs DeepSeek V4.1 Flash: API price compared
- Tencent Hunyuan API pricing: Hy4, Hy4 Flash, promos
- Gemini 4 Neon vs GPT-6.2 Sol: API price compared
- Gemini 4 Neon vs GPT-6.2 Astra: API price compared
- Gemini 4 Neon vs Claude Opus 5.5: API price compared
- Gemini 4 Neon vs Gemini 4 Carbon: API price compared
- Gemini 4 Hydrogen vs Claude Opus 5.5: price and LMArena
- GPT-6.2 Sol vs Gemini 4 Hydrogen: mid-tier API price
- GPT-6.2 Sol vs Claude Sonnet 5.5: mid-tier API price
- GPT-6.2 Sol vs Qwen4-Max: API price compared
- GPT-6.2 Astra vs Gemini 4 Argon: API price compared
- GPT-6.2 Astra vs Claude Fable 5.2: API price compared
- Qwen4-Max vs Claude Fable 5.2: API cost compared
- LongCat-2.5 vs GLM-5.3: which open Chinese model costs less
- LongCat-2.5 vs DeepSeek V4.1 Flash: same price, which to pick
- DeepSeek OCR, TTS and ASR API pricing
- Hunyuan Hy4 vs GLM-5.3: which Chinese flagship costs less
- Hunyuan Hy4 vs DeepSeek V4 Pro: API price and quality
- ERNIE 5.5 Flash Preview vs DeepSeek V4.1 Flash
- Muse Ember vs GPT-6 Luna: which small model is cheaper
- Muse Ember vs Claude Haiku 5.5: API price and quality
- Gemini 4 Hydrogen limits and pricing
- Claude Mythos 5.2 and Fable 5.2 API cost calculator
- MiniMax API pricing: M3, M3.1 Flash, rate limits, M Plan
- Grok API pricing: Grok 4.7, 4.3, Build, tools, rate limits
- StepFun API pricing: Step 5, 3.7 Flash, rate limits
- DeepSeek Search and Fetch API pricing: what changes Oct 31
- DeepSeek off-peak hours and pricing in your time zone
- Claude vs Gemini API pricing: cost per 1M tokens compared
- All AI API prices
- OpenAI vs Anthropic API pricing
- DeepSeek vs Claude API cost
- Best model per task
- Run models locally
- Plan vs API calculator
More guides
- Hit the Claude weekly limit? The cheapest API fallback
- Hit the Codex weekly limit? The cheapest API fallback
- Cheapest AI API for coding in 2026, by quality level
- Best local LLM for a 32GB Mac
- 1M context LLM API pricing: what a 500K-token prompt costs
- Best local LLM for coding in 2026, by hardware
Not sure a plan beats the API for you? Try the plan vs API cost calculator.