Quick Answer
Paste a prompt (or leave the sample), set expected output tokens and runs per month, and the calculator shows every supported model ranked by per-run cost: estimated input tokens, cost per run, cost per month at your volume, and the cheapest model highlighted. Token counts are chars-per-token estimates per provider family and prices are providers’ published list prices from this site’s registry — close estimates, not an invoice. Prompt caching notes are included since cached input routinely costs 50–90% less on repeated context.
How It Works
Paste your prompt (or leave the sample) — input tokens are estimated per provider family
Set expected output tokens per run and your runs per month
Compare every model side by side: per-run cost, per-month cost, and the cheapest for this prompt highlighted
Remember prompt caching: repeated long contexts routinely cost 50–90% less than the shown input price
Key Facts
- Every model in the site’s provider registry priced side by side
- Per-run and per-month projections at your actual volume
- Cheapest-model highlight updates as your prompt changes
- Token estimates per provider family (chars-per-token heuristic, labeled)
- No API key, no network — the whole calculation runs in your browser
Frequently Asked Questions
How accurate are the token counts?
They are estimates from a chars-per-token heuristic per provider family (real tokenizers vary with content). Costs inherit that estimate plus the provider’s list price. For exact numbers, your provider’s usage dashboard is the source of truth — this tool is for comparing options, which the heuristic is accurate enough for.
Does it account for prompt caching?
The estimate uses standard input prices; the page notes that cached input (Gemini and OpenAI explicit caching, Anthropic prompt caching) routinely cuts input cost 50–90% on repeated context — so long-system-prompt workloads come in below the shown number.
Where do the prices come from?
The same registry that powers this site’s bring-your-own-key tools, sampled from provider price pages. Prices change; the registry is updated when providers are re-verified.