AI API Cost Calculator
Estimate monthly LLM spend across providers. Enter average input/output tokens per request and your request volume to compare real costs side by side.
๐ Runs entirely in your browser ยท nothing is uploaded or stored
| Model | In $/1M | Out $/1M | Monthly cost |
|---|
Prices reflect published list rates (May 2026) and may change. Edit the numbers to match your real usage. Caching, batch discounts and free tiers are not included.
๐ฐ Cut your bill
- Use a smaller model for routing/classification
- Cache repeated context
- Trim system prompts
- Batch async jobs (often 50% off)
โก Cost vs latency
Cheaper models are usually faster too. Reserve premium models for the few requests that truly need top reasoning.
Frequently Asked Questions
Are these prices current?
They reflect published list pricing as of May 2026. Providers change rates often โ always confirm on the official pricing page before budgeting.
Does it include caching discounts?
No. Prompt caching, batch API discounts and committed-use deals can cut costs 50โ90%. This gives you the un-discounted baseline.
Related tools