LLM Reference

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.

#ModelInput $/1MOutput $/1M
1Gemma 3
FreeFree
2Gemma 3n
FreeFree
3Firefunction V2
FreeFree
4Llama 3.1 8B Instruct
$0.02$0.05
5Llama Guard 3 8B
$0.02$0.06
6Mistral NeMo (2407)
$0.02$0.04
7Aleph Alpha Luminous Base
$0.02$0.06
8Together AI - Gemma 3n-e4B
Tools
$0.02$0.04
9Llama 3.2 1B Instruct
$0.027$0.1
10gpt-oss-20b
Tools
$0.03$0.11
11Llama 3 8B Instruct
$0.03$0.04
12Gemma 2 9B Instruct
$0.03$0.09
13Qwen2.5 Coder 7B Instruct
$0.03$0.09
14Mistral Small 3.1 24B Instruct
Vision
$0.03$0.11
15Granite 3.3 8B Instruct
Tools
$0.03$0.25
16Llama Prompt Guard 2 22M
$0.03$0.03
17Nova Micro
$0.035$0.14
18Gemini 1.5 Flash on Google Vertex AI
Vision
$0.035$0.105
19gpt-oss-120b
Tools
$0.039$0.19
20Qwen2.5 7B Instruct
$0.04$0.1