// Cost IntelligenceLLM Cost
LLM Cost
Estimator
Know your spend before you ship. Every token has a price tag.
Calculate AI API costs across Claude, GPT, and Gemini. Compare providers side-by-side, optimize with caching and batching, and find the cheapest model that meets your quality floor.
// Model
// Workload
tokens
tokens
// Optimizations
Daily
$1.05
Monthly
$31.50
Annual
$383.25
// Cost per request — Sonnet
Input
$0.0030
Output
$0.0075
Total$0.010
// Optimization opportunities
Enable caching (50% hit rate) to save$4.05/mo
Use Batch API (50% discount, up to 24h latency) to save$15.75/mo
Route simple tasks to Haiku to save$28.87/mo
// Break-even analysis
Sonnet→Haikusaves $28.87/mo
Best for classification, routing, and simple extraction
// Pricing reference (per 1M tokens)
| Provider | Model | Input | Output |
|---|---|---|---|
| Claude | Haiku | $0.25 | $1.25 |
| Claude | Sonnet | $3 | $15 |
| Claude | Opus | $15 | $75 |
| OpenAI | GPT-4o-mini | $0.15 | $0.6 |
| OpenAI | GPT-4o | $2.5 | $10 |
| OpenAI | o1 | $15 | $60 |
| Gemini | Flash | $0.075 | $0.3 |
| Gemini | Pro | $1.25 | $5 |