AI Cost Calculator.
Pick a model, enter your usage, see the bill before you ship. Covers Claude, GPT 5, and Gemini, with input, output, and prompt caching all factored in.
- Free, no sign-up
- Runs in your browser
- 8 models compared
Prices reflect public list pricing as of 2026 and are approximations. Always check provider pricing pages before committing to a budget.
Inputs
with Claude Sonnet 4.6 · 500 DAU
Cost composition (per message)
- Input (cached)$0.0012
- Input (uncached)$0.0008
- Output$0.0060
Same workload across models
Click a model to select it3 ways to cut this number in half
- Cache aggressively. System prompts + retrieved chunks rarely change. Get cache hit rate to 70%+, saves up to 90% on input cost.
- Use a smaller model for routing. Run a cheap model first to decide if you need the flagship. Most queries don't.
- Cap output tokens. Concise prompts → concise answers. Cut output from 400 to 200 tokens and you often get the same quality at half the cost.
Building this and want a second opinion?
Free 30 minute call. We'll audit your prompt, caching strategy, and eval setup, no slides.
How this calculator works.
Per message cost = (input tokens × input price) + (output tokens × output price). We multiply by your messages per user per day and your DAU to project daily, monthly, and annual spend. If you turn on prompt caching, the cached portion of input tokens gets the provider's cache hit discount applied (typically 10x cheaper).
What this calculator does NOT include
- Image, audio, or video token costs (those are priced separately by every provider)
- Fine tuning training costs
- Vector database / embedding costs (~$0.02 per 1M embeddings on most providers)
- Your hosting bill (typically <5% of inference cost for serverless deployments)
Pricing sources
Numbers approximate public list prices as of 2026. Authoritative sources: Anthropic, OpenAI, Google.