Free modelsExplainedDaily archiveLive dashboard
LLM API pricing · cheapest

Cheapest LLM API (Nov 2026): 10 Lowest Prices, Live

The cheapest LLM API right now is inclusionAI: Ling 3.0 Tiny at $0.015 per million input tokens and $0.045 per million output tokens. Here are the 10 lowest-priced models, the cheapest for coding, for long documents and for images, and the cheapest model from each big lab.

Prices in US dollars per 1 million tokens, from OpenRouter's live list. Last checked Mon, 23 Nov 2026 10:01 UTC.

The 10 cheapest LLM APIs

ModelInput / 1MOutput / 1MCached input / 1MContext
inclusionAI: Ling 3.0 Tiny$0.015$0.045$0.003262K
Meta: Llama 3.1 8B Instruct$0.02$0.04—131K
Mistral: Mistral Nemo$0.029$0.03—131K
inclusionAI: Ling 3.0 Flash$0.021$0.063$0.004262K
Google: Gemma 3 4B$0.04$0.05$0.02131K
Nex AGI: Nex-N2.5-Mini$0.025$0.1$0.003262K
Z.ai: GLM Flash Latest$0.04$0.078$0.031M
Z.ai: GLM 5.3 Flash$0.04$0.078$0.031M
Qwen: Qwen3.7 Flash$0.03$0.13$0.0061M
OpenAI: gpt-oss-20b$0.03$0.13$0.03131K

A chatbot reply (1,500 tokens in, 400 out) costs $0.000041 on inclusionAI: Ling 3.0 Tiny. A thousand of them cost $0.04.

Cheapest LLM API for coding

Models made for code (their names say Code, Coder or Devstral), cheapest first.

ModelInput / 1MOutput / 1MCached input / 1MContext
Qwen: Qwen3 Coder 30B A3B Instruct$0.07$0.28—262K
Qwen: Qwen3 Coder Next$0.12$0.8$0.07262K
Qwen: Qwen3 Coder Flash$0.195$0.975$0.0391M
Mistral: Codestral 2508$0.3$0.9$0.03256K
Qwen: Qwen3 Coder 480B A35B$0.3$1$0.1262K
OpenAI: GPT-5.1-Codex-Mini$0.25$2$0.03400K

Cheapest with a 1M-token context window

For whole codebases, books or long chats.

ModelInput / 1MOutput / 1MCached input / 1MContext
Z.ai: GLM Flash Latest$0.04$0.078$0.031M
Z.ai: GLM 5.3 Flash$0.04$0.078$0.031M
Qwen: Qwen3.7 Flash$0.03$0.13$0.0061M
Tencent: Hy4 flash$0.035$0.141$0.0021M
DeepSeek: DeepSeek V4.1 Flash$0.05$0.199$0.0011M
inclusionAI: Ling 3.1 Flash$0.06$0.18$0.0121M

Cheapest that can read images

ModelInput / 1MOutput / 1MCached input / 1MContext
Google: Gemma 3 4B$0.04$0.05$0.02131K
Nex AGI: Nex-N2.5-Mini$0.025$0.1$0.003262K
Z.ai: GLM Flash Latest$0.04$0.078$0.031M
Z.ai: GLM 5.3 Flash$0.04$0.078$0.031M
Qwen: Qwen3.7 Flash$0.03$0.13$0.0061M
Tencent: Hy4 flash$0.035$0.141$0.0021M

Cheapest model from each lab

LabCheapest modelIn / out per 1M1,000 replies
ClaudeClaude Haiku 5.5$0.1 / $0.5$0.35
OpenAIgpt-oss-20b$0.03 / $0.13$0.10
GeminiGemma 3 4B$0.04 / $0.05$0.08
DeepSeekDeepSeek V4.1 Flash$0.05 / $0.199$0.15
GrokGrok 4.3$1.25 / $2.5$2.88
MistralMistral Nemo$0.029 / $0.03$0.06
QwenQwen3.7 Flash$0.03 / $0.13$0.10
KimiKimi K2.5$0.5 / $2.5$1.75
Meta LlamaLlama 3.1 8B Instruct$0.02 / $0.04$0.05

Cheaper still: free

If your project is small, you may not need to pay at all. The free LLM API guide lists free models with their daily limits, and the free LLM API calculator shows whether a free tier covers your use.

Compare every model's price

This page covers one slice. The LLM API pricing table lists all 360 models side by side, refreshed every 30 minutes, with a filter to find any model fast.

New to LLM APIs?

Start with what an LLM API is, then how tokens work and how to get an API key. When you're ready to write code, see how to use an LLM API in Python, and to keep bills down read prompt caching explained and how to cut LLM API costs. Want it free? See the free LLM API guide.

Questions

What is the cheapest LLM API?

inclusionAI: Ling 3.0 Tiny, at $0.015 in and $0.045 out per million tokens, among models with at least a 32K context window. Next are Meta: Llama 3.1 8B Instruct ($0.02 / $0.04) and Mistral: Mistral Nemo ($0.029 / $0.03).

What is the cheapest LLM API for coding?

Among models built for code, Qwen: Qwen3 Coder 30B A3B Instruct is cheapest at $0.07 in and $0.28 out per million tokens. Coding agents send a lot of input, so cached input prices matter too.

Is there a free LLM API?

Yes. Several providers have free tiers or free models, with daily limits. The free LLM API guide lists the ones that work today.

Which cheap LLM API provider should I use?

If you want one key for many models, OpenRouter lists all of the models here at the providers' own prices plus a 5.5% fee when buying credits. If you only use one lab's models, buying direct skips that fee.

How do you rank the cheapest models?

By input price × 3 + output price, because most requests send about three times more tokens than they get back. Models with less than a 32K-token context window, and free models, are left out.

Get this in your inbox at 7am

One free email each morning with the AI repos, models and stories that are picking up speed, including new free models. Your own time zone, no spam.

See today's email