LLM API cost calculator

Enter your monthly request volume and average token counts — we rank every major LLM API by what it would actually cost you per month.

Model$/1M in$/1M outContextMonthlyNotes
Mistral Small 4 Mistral$0.1$0.3256K$35.00
Llama 4 Scout (Groq) Meta (Groq)$0.11$0.34128K$39.00Hosted inference
DeepSeek V4 Flash DeepSeek$0.14$0.281000K$42.00Cache-hit input near-free
GPT-5.4 nano OpenAI$0.2$1.25400K$103
DeepSeek V4 Pro DeepSeek$0.435$0.871000K$131Reasoning tier
Mistral Large 3 Mistral$0.5$1.5256K$175Open-weight
Gemini 2.5 Flash Google$0.3$2.51000K$185Legacy
GPT-5.4 mini OpenAI$0.75$4.5400K$375
Grok 4.3 xAI$1.25$2.51000K$375
Claude Haiku 4.5 Anthropic$1$5200K$450Fastest
Gemini 3.5 Flash Google$1.5$91000K$750
Gemini 3.1 Pro Google$2$121000K$1,000≤200k prompt; higher above
GPT-5.4 OpenAI$2.5$15400K$1,250
Claude Sonnet 4.6 Anthropic$3$151000K$1,350
Claude Opus 4.8 Anthropic$5$251000K$2,250
GPT-5.5 OpenAI$5$30400K$2,500Cached input $0.50
Claude Fable 5 Anthropic$10$501000K$4,500Most capable

List prices, no caching/batch discounts applied. Data as of 2026-06-09.