Cheapest AI API right now
As of 2026-12-01, the cheapest AI API we track is Llama 3.1 8B Instruct (Novita AI) at $0.02 per 1M input tokens and $0.05 per 1M output tokens. The cheapest flagship-class model is Llama 4 Maverick Instruct at $0.27 / $0.85. Among OpenAI, Anthropic and Google, the cheapest current models are GPT-6 Luna ($0.1 / $0.5), Claude Haiku 5.5 ($0.1 / $0.5) and Gemini 4 Hydrogen ($1.5 / $7.5).
Standard USD rates per 1M tokens; no cache, batch or long-context adjustments. Opening answer ranks by input price; table ranks by blended price. Dataset updated daily; snapshot . Row dates are price evidence, not publication dates. How we verify · Full pricing comparison · Calculate your workload
Cheapest by tier
budget
| Model | Provider | Input / 1M | Output / 1M | Blended / 1M | Price verified | Official source |
|---|---|---|---|---|---|---|
| Qwen3.5 4B | castform | $0.03 | $0.15 | $0.06 | castform pricing |
mid
| Model | Provider | Input / 1M | Output / 1M | Blended / 1M | Price verified | Official source |
|---|---|---|---|---|---|---|
| Llama 3.1 8B Instruct | Novita AI | $0.02 | $0.05 | $0.0275 | Novita AI pricing |
flagship
| Model | Provider | Input / 1M | Output / 1M | Blended / 1M | Price verified | Official source |
|---|---|---|---|---|---|---|
| Llama 4 Maverick Instruct | Novita AI | $0.27 | $0.85 | $0.415 | Novita AI pricing |
Cheapest per provider
| Model | Provider | Input / 1M | Output / 1M | Blended / 1M | Price verified | Official source |
|---|---|---|---|---|---|---|
| Llama 3.1 8B Instruct | Novita AI | $0.02 | $0.05 | $0.0275 | Novita AI pricing | |
| Qwen3.5 4B | castform | $0.03 | $0.15 | $0.06 | castform pricing | |
| GPT-OSS 20B | Groq | $0.075 | $0.3 | $0.13125 | Groq pricing | |
| Ministral 3 3B | Mistral AI | $0.1 | $0.1 | $0.1 | Mistral AI pricing | |
| Muse Spark 1.2 Contributor | Meta Llama | $0.1 | $0.2 | $0.125 | Meta Llama pricing | |
| Claude Haiku 5.5 | Anthropic | $0.1 | $0.5 | $0.2 | Anthropic pricing | |
| GPT-6 Luna | OpenAI | $0.1 | $0.5 | $0.2 | OpenAI pricing | |
| Llama 3 8B Instruct Lite | Together AI | $0.14 | $0.14 | $0.14 | Together AI pricing | |
| Qwen3.8-Flash | Alibaba Qwen | $0.15 | $0.47 | $0.23 | Alibaba Qwen pricing | |
| DeepSeek V4.1 Flash | DeepSeek | $0.3 | $1.2 | $0.525 | DeepSeek pricing | |
| Muse Glimmer 30B (OpenRouter) | openrouter | $0.3 | $1.2 | $0.525 | openrouter pricing | |
| Qwen3.8 27B | cerebras | $0.99 | $1.49 | $1.115 | cerebras pricing | |
| Grok Build 0.1 | xAI | $1 | $2 | $1.25 | xAI pricing | |
| GLM-5.2 | Z.ai | $1.4 | $4.4 | $2.15 | Z.ai pricing | |
| Gemini 4 Hydrogen | Google Gemini | $1.5 | $7.5 | $3 | Google Gemini pricing | |
| Kimi K3 | telnyx | $2.7 | $13.5 | $5.4 | telnyx pricing | |
| Kimi K3 | moonshot | $3 | $15 | $6 | moonshot pricing |
Frequently asked questions
Which AI API is the cheapest right now?
As of 2026-12-01, the cheapest AI API we track is Llama 3.1 8B Instruct (Novita AI) at $0.02 per 1M input tokens and $0.05 per 1M output tokens. The cheapest flagship-class model is Llama 4 Maverick Instruct at $0.27 / $0.85. Among OpenAI, Anthropic and Google, the cheapest current models are GPT-6 Luna ($0.1 / $0.5), Claude Haiku 5.5 ($0.1 / $0.5) and Gemini 4 Hydrogen ($1.5 / $7.5).
How are the cheapest AI APIs ranked?
The table ranks active, current text models by a blend of three input tokens to one output token: (3 × input price + output price) / 4. The opening answer and tier/provider winners compare input prices, breaking ties by output price. Preview, previous-generation, suspended, unverified-price and non-text models are excluded.
Which flagship-class AI API is cheapest?
Llama 4 Maverick Instruct has the lowest input price among eligible models in maintained flagship/frontier tiers: $0.27 input / $0.85 output per 1M tokens. Tier labels are editorial classifications, not benchmark guarantees.
How often are these prices updated?
The dataset is updated daily. Snapshot: 2026-12-01T01:21:17.982Z. Each row shows its own price-verification date and official source; a new snapshot does not mean every price was rechecked. Rates exclude cache, batch, long-context surcharges, tax and tool fees. Confirm your workload with the provider before purchase.