Cheapest chat APIs
Every chat model with a published price, ranked by blended cost for a typical mix of input and output tokens.
Current leader: Gemini Exp 1114 (Google Gemini). Refreshed 2026-09-13 13:40 UTC.
| # | Model | Provider | Input $/1M | Output $/1M | Cached $/1M | Context |
|---|---|---|---|---|---|---|
| 1 | Gemini Exp 1114 | Google Gemini | free | free | — | 1.0M |
| 2 | Gemini Exp 1206 | Google Gemini | free | free | — | 2.1M |
| 3 | Gemma 3 27b It | Google Gemini | free | free | — | 131K |
| 4 | Gemma 4 26b A4b It | Google Gemini | free | free | — | 262K |
| 5 | Gemma 4 31b It | Google Gemini | free | free | — | 262K |
| 6 | Learnlm 1.5 Pro Experimental | Google Gemini | free | free | — | 33K |
| 7 | Labs Leanstral 1 5 | Mistral AI | free | free | — | 262K |
| 8 | Labs Leanstral 1 5 1 | Mistral AI | free | free | — | 262K |
| 9 | Anthropic.claude Mythos Preview | Amazon Bedrock | free | free | — | 1M |
| 10 | Gemma 2b It Lora | Cloudflare Workers AI | free | free | — | 8K |
| 11 | Mistral 7b Instruct V0.2 Lora | Cloudflare Workers AI | free | free | — | 15K |
| 12 | Llama 2 7b Chat Hf Lora | Cloudflare Workers AI | free | free | — | 8K |
| 13 | Gemma 7b It Lora | Cloudflare Workers AI | free | free | — | 4K |
| 14 | Codegeex4 | Ollama | free | free | — | 33K |
| 15 | Codegemma | Ollama | free | free | — | 8K |
| 16 | Codellama | Ollama | free | free | — | 4K |
| 17 | Deepseek Coder V2 Base | Ollama | free | free | — | 8K |
| 18 | Deepseek Coder V2 Instruct | Ollama | free | free | — | 33K |
| 19 | Deepseek Coder V2 Lite Base | Ollama | free | free | — | 8K |
| 20 | Deepseek Coder V2 Lite Instruct | Ollama | free | free | — | 33K |
| 21 | Deepseek V3.1:671b Cloud | Ollama | free | free | — | 164K |
| 22 | GPT Oss:120b Cloud | Ollama | free | free | — | 131K |
| 23 | GPT Oss:20b Cloud | Ollama | free | free | — | 131K |
| 24 | Internlm2 5 20b Chat | Ollama | free | free | — | 33K |
| 25 | Llama2 | Ollama | free | free | — | 4K |
| 26 | Llama2 Uncensored | Ollama | free | free | — | 4K |
| 27 | Llama2:13b | Ollama | free | free | — | 4K |
| 28 | Llama2:70b | Ollama | free | free | — | 4K |
| 29 | Llama2:7b | Ollama | free | free | — | 4K |
| 30 | Llama3 | Ollama | free | free | — | 8K |
| 31 | Llama3.1 | Ollama | free | free | — | 8K |
| 32 | Llama3:70b | Ollama | free | free | — | 8K |
| 33 | Llama3:8b | Ollama | free | free | — | 8K |
| 34 | Mistral | Ollama | free | free | — | 8K |
| 35 | Mistral 7B Instruct V0.1 | Ollama | free | free | — | 8K |
| 36 | Mistral 7B Instruct V0.2 | Ollama | free | free | — | 33K |
| 37 | Mistral Large Instruct 2407 | Ollama | free | free | — | 66K |
| 38 | Mixtral 8x22B Instruct V0.1 | Ollama | free | free | — | 66K |
| 39 | Mixtral 8x7B Instruct V0.1 | Ollama | free | free | — | 33K |
| 40 | Orca Mini | Ollama | free | free | — | 4K |
| 41 | Qwen3 Coder:480b Cloud | Ollama | free | free | — | 262K |
| 42 | Vicuna | Ollama | free | free | — | 2K |
| 43 | Auto | OpenRouter | free | free | — | 2M |
| 44 | Free | OpenRouter | free | free | — | 200K |
| 45 | Bodybuilder | OpenRouter | free | free | — | 128K |
| 46 | Nemotron 3.5 Lightning:free | OpenRouter | free | free | — | 1M |
| 47 | Laguna S 2.1:free | OpenRouter | free | free | — | 262K |
| 48 | Laguna Xs 2.1:free | OpenRouter | free | free | — | 262K |
| 49 | Glm 5.2:free | OpenRouter | free | free | — | 256K |
| 50 | Nemotron 3.5 Content Safety:free | OpenRouter | free | free | — | 128K |
| 51 | Nemotron 3 Ultra 550b A55b:free | OpenRouter | free | free | — | 1M |
| 52 | Minimax M3:free | OpenRouter | free | free | — | 1.0M |
| 53 | Nemotron 3 Nano Omni 30b A3b Reasoning:free | OpenRouter | free | free | — | 256K |
| 54 | Gemma 4 26b A4b It:free | OpenRouter | free | free | — | 262K |
| 55 | Gemma 4 31b It:free | OpenRouter | free | free | — | 262K |
| 56 | Minimax M2.7:free | OpenRouter | free | free | — | 197K |
| 57 | Nemotron 3 Super 120b A12b:free | OpenRouter | free | free | — | 262K |
| 58 | Llama 3.3 70B Instruct Turbo Free | Together AI | free | free | — | — |
| 59 | Ternary Bonsai 27B | Together AI | free | free | — | 262K |
| 60 | Qwen2.5 Coder 7B | Nebius | $0.01 | $0.03 | — | 33K |
Other use cases
Frequently asked
› What is the cheapest chat API right now?
Gemini Exp 1114 from Google Gemini currently leads this list, at $0/1M input tokens. Rankings are recomputed from the raw dataset on every refresh, so they track price cuts automatically.
› How are these rankings calculated?
Each use case applies a capability filter (context size, vision, tool calling, cache pricing) and then ranks the surviving models by the blended cost that profile actually pays. See the methodology page for the exact formulas.
› Is the cheapest model always the right choice?
No. Check the capability flags and context window, and benchmark quality on your own data — the cheapest model that fails your evals costs more than the second cheapest that passes them.