LLM API Cost Calculator — Compare Monthly Spend Across Models
Estimate monthly API bills across 39+ frontier and open-weight models with workload presets, prompt caching discounts and 50% Batch API savings.
| Model | Lab | Context | In / Out ($/1M) | Est. / 1K Reqs | Est. Monthly Cost |
|---|
Live frontier vs budget price tiers (Nov 2026)
| Model Tier | Input / Output ($/1M) | Cached Input | Best Workload Fit |
|---|---|---|---|
| Ultra-Budget / Flash Tier | $0.035–$0.15 / $0.14–$0.60 | $0.001–$0.015 / 1M | High-volume bots, routing, extraction & background agents (Hy4 Flash, DeepSeek V4.1 Flash, Inkling-2-Mini, GPT-6 Luna, Claude Haiku 5.5) |
| Production Workhorse Tier | $1.00–$3.00 / $4.25–$15.00 | $0.05–$0.15 / 1M | Daily production coding, RAG & general apps (GPT-6.2 Sol, Claude Sonnet 5.5, Gemini 4 Neon, Qwen 4 Max, Grok 4.7) |
| Frontier Flagship Tier | $4.00–$8.00 / $20.00–$40.00 | $0.20–$0.40 / 1M | Hardest architecture, agentic engineering & deep reasoning (GPT-6.2 Astra, Claude Fable 5.2, Claude Opus 5.5) |
Tips to cut your LLM API bill
- Monthly Input M = (Requests/mo × Avg Input Tokens) ÷ 1,000,000; Monthly Output M = (Requests/mo × Avg Output Tokens) ÷ 1,000,000.
- Output tokens are typically 3×–5× more expensive than input tokens — reducing verbose output often cuts bills faster than switching providers.
FAQ
How much does prompt caching actually save on LLM API bills?
Prompt caching discounts repeated system prompts, repo context or tool definitions by 50%–95% depending on provider (for example, GPT-6.2 Astra drops from $8/M to $0.40/M cached input; DeepSeek V4.1 Flash drops to $0.001/M).
When should I toggle the 50% Batch API discount?
Asynchronous Batch APIs from OpenAI, Anthropic and Google cut both input and output token prices by 50% in exchange for up to 24-hour completion windows — ideal for evals, enrichment and bulk classification.
How often are model prices updated in this calculator?
Prices are reconciled against official provider pricing pages and live OpenRouter/LiteLLM feeds. Click any verified model name to inspect its full pricing history, sources and benchmarks.