AI Token Cost Calculator
| Model | $/M in | $/M out | Estimated cost |
|---|---|---|---|
| Amazon Nova MicroAmazon | $0.035 | $0.14 | — |
| Claude Haiku 4.5Anthropic | $1 | $5 | — |
| GPT-5.2OpenAI | $1.75 | $14 | — |
| Claude Sonnet 5.5Anthropic | $2 | $10 | — |
| Gemini 3.8 Flash (intro price thru Dec 2026)Google | $0.75 | $3.75 | — |
| Gemini 3.5 FlashGoogle | $1.5 | $9 | — |
| Claude Sonnet 5Anthropic | $2 | $10 | — |
| Gemini 3.1 ProGoogle | $2 | $12 | — |
| Claude Opus 5.5Anthropic | $4 | $20 | — |
| Claude Opus 5Anthropic | $5 | $25 | — |
| GPT-5.6 SolOpenAI | $5 | $30 | — |
| Claude Fable 5.1Anthropic | $10 | $50 | — |
Pricing snapshot from 2026-10-03, sourced from provider pricing pages (Anthropic and Google rows re-checked on that date; OpenAI and Amazon rows last confirmed 2026-09-03) — not fetched live, so double-check the provider's own pricing page before committing real spend, especially for high-volume use. Also note: the cheapest price-per-token isn't always the cheapest price-per-task — a model that needs more retries, more reasoning tokens, or longer outputs to get a usable answer can cost more overall than a nominally pricier one. Token counts from pasted text use a rough ≈4-characters-per-token estimate, not an exact tokenizer.
Estimate and compare API costs across 12 current AI models — paste a prompt or enter token counts directly, no sign-up.
How it works
- Paste your prompt (optional) to estimate input tokens, or enter token counts directly
- Enter your expected output token count
- See estimated cost across 12 models from Anthropic, OpenAI, Google, and Amazon, side by side
Frequently asked questions
How current is this pricing?
This is a point-in-time snapshot sourced from provider pricing pages, not a live feed — this site's tools run entirely in your browser and don't call third-party APIs at runtime. Provider prices can change without notice, so check the provider's own pricing page before committing real spend, especially for high-volume use.
Is the cheapest price-per-token always the cheapest option?
Not necessarily. A model with a lower listed price can still cost more per task if it needs more retries, more reasoning tokens, or longer outputs to produce a usable answer. Price-per-token is a starting point, not the full picture.
How accurate is the token estimate from pasted text?
It uses a rough ≈4-characters-per-token approximation, a commonly cited rule of thumb — not an exact tokenizer count, which varies slightly by model and provider.
Related tools
From the blog
ChatGPT Plus vs API: When Does Paying Per Token Actually Save You Money?
$20/month feels simple, but it isn't always cheaper than the API — and most break-even calculators lock you into comparing against one fixed model. Here's how to find your real break-even point with any model you actually use.
2026-09-22
The Cheapest AI Model Per Token Isn't Always the Cheapest Per Task — Here's a Calculator That Compares 8 of Them
AI API prices dropped roughly 80% between early 2025 and early 2026, and now span a 1,400x range between the cheapest and priciest models. We built a calculator to estimate and compare costs across 8 current models — and to flag the catch that per-token price alone can miss.
2026-09-03Update history
- 2026-10-03 Added links to related tools.
- 2026-10-03 Added Claude Sonnet 5.5 ($2/$10), Claude Opus 5.5 ($4/$20), Gemini 3.8 Flash ($0.75/$3.75 intro price through Dec 2026) and Gemini 3.5 Flash ($1.50/$9) per official pricing pages; Anthropic and Google prices re-checked 2026-10-03, OpenAI/Amazon rows unchanged and still dated 2026-09-03.
- 2026-09-03 Launched: AI token cost calculator covering 8 current models across Anthropic, OpenAI, Google, and Amazon, with an optional paste-to-estimate input. Entirely client-side; pricing snapshot dated in the tool itself.