Cheapest LLM APIs (2026)
Most affordable large language model APIs ranked by input token price. Compare pricing across providers to find the best value for your workload.
| # | Model | Input $/1M | Output $/1M | |
|---|---|---|---|---|
| 1 | Gemma 3 | Free | Free | |
| 2 | Gemma 3n | Free | Free | |
| 3 | Firefunction V2 | Free | Free | |
| 4 | Llama 3.1 8B Instruct | $0.02 | $0.05 | |
| 5 | Llama Guard 3 8B | $0.02 | $0.06 | |
| 6 | Mistral NeMo (2407) | $0.02 | $0.04 | |
| 7 | Aleph Alpha Luminous Base | $0.02 | $0.06 | |
| 8 | Together AI - Gemma 3n-e4B Tools | $0.02 | $0.04 | |
| 9 | Llama 3.2 1B Instruct | $0.027 | $0.1 | |
| 10 | gpt-oss-20b Tools | $0.03 | $0.11 | |
| 11 | Llama 3 8B Instruct | $0.03 | $0.04 | |
| 12 | Gemma 2 9B Instruct | $0.03 | $0.09 | |
| 13 | Qwen2.5 Coder 7B Instruct | $0.03 | $0.09 | |
| 14 | Mistral Small 3.1 24B Instruct Vision | $0.03 | $0.11 | |
| 15 | Granite 3.3 8B Instruct Tools | $0.03 | $0.25 | |
| 16 | Llama Prompt Guard 2 22M | $0.03 | $0.03 | |
| 17 | Nova Micro | $0.035 | $0.14 | |
| 18 | Gemini 1.5 Flash on Google Vertex AI Vision | $0.035 | $0.105 | |
| 19 | gpt-oss-120b Tools | $0.039 | $0.19 | |
| 20 | Qwen2.5 7B Instruct | $0.04 | $0.1 |