AI API Cost Calculator
Estimate your monthly API spend across all major AI models. Pick a use-case preset or adjust the sliders — costs update instantly.
Use case presets
10,000= 333/day
100100,000
500≈ 375 words
10016,000
200≈ 150 words
508,000
Input tokens/mo
5.0M
Output tokens/mo
2.0M
GPT-4o
$32.50/month
$390.00 per year
All models — same workload
Click any row to select that model and see its cost breakdown.
What is a token?
Roughly 0.75 words in English. "Hello, world!" is about 4 tokens. 1,000 tokens ≈ 750 words ≈ 1.5 pages of text.
Input vs output pricing
Output tokens cost 3–6× more than input tokens. Apps that generate long responses pay significantly more per request.
Prompt caching
Claude and GPT-4o both support caching repeated system prompts, cutting input costs by up to 90% for apps with fixed prompts.
Full pricing breakdown
Input price, output price, context window, and free tiers for all 15 models in one table.