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).

Cheapest active text APIs by blended price (3:1 input:output)
ModelProviderInput / 1MOutput / 1MBlended / 1MPrice verifiedOfficial source
Llama 3.1 8B Instruct Novita AI$0.02$0.05$0.0275 Novita AI pricing
Llama 3 8B Stheno V3.2 Novita AI$0.05$0.05$0.05 Novita AI pricing
Qwen3.5 4B castform$0.03$0.15$0.06 castform pricing
AutoGLM-Phone-9B-Multilingual Novita AI$0.035$0.138$0.06075 Novita AI 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
Muse Spark 1.3 Contributor Meta Llama$0.1$0.2$0.125 Meta Llama pricing
GPT-OSS 20B Groq$0.075$0.3$0.13125 Groq pricing
Llama 3 8B Instruct Lite Together AI$0.14$0.14$0.14 Together AI pricing
Ministral 3 8B Mistral AI$0.15$0.15$0.15 Mistral AI pricing
RNJ-1 Instruct Together AI$0.15$0.15$0.15 Together AI pricing
Qwen3.5 9B Together AI$0.17$0.25$0.19 Together AI 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
Muse Ember 1.0 Meta Llama$0.1$0.5$0.2 Meta Llama pricing
Ministral 3 14B Mistral AI$0.2$0.2$0.2 Mistral AI pricing
Llama 3.3 70B Instruct Novita AI$0.135$0.4$0.20125 Novita AI pricing
Qwen3.8-Flash Alibaba Qwen$0.15$0.47$0.23 Alibaba Qwen pricing
Qwen3.8 Flash Novita AI$0.15$0.47$0.23 Novita AI pricing
GLM 5.3 Flash Novita AI$0.15$0.5$0.2375 Novita AI pricing

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

Lowest input price: budget
ModelProviderInput / 1MOutput / 1MBlended / 1MPrice verifiedOfficial source
Qwen3.5 4B castform$0.03$0.15$0.06 castform pricing

mid

Lowest input price: mid
ModelProviderInput / 1MOutput / 1MBlended / 1MPrice verifiedOfficial source
Llama 3.1 8B Instruct Novita AI$0.02$0.05$0.0275 Novita AI pricing

flagship

Lowest input price: flagship
ModelProviderInput / 1MOutput / 1MBlended / 1MPrice verifiedOfficial source
Llama 4 Maverick Instruct Novita AI$0.27$0.85$0.415 Novita AI pricing

Cheapest per provider

Lowest input price per provider among eligible active text models
ModelProviderInput / 1MOutput / 1MBlended / 1MPrice verifiedOfficial 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.