Toolizto

AI token cost calculator — estimate your LLM API bill

Pick a model, paste a prompt or enter token counts, and see the cost per call and per month. Prices are editable, so the numbers always match what your provider charges today.

Input mode
Cost per call
$0.00
0 in · 0 out
Estimated monthly cost
$0.00
10,000 calls / month

Prices are editable defaults (reviewed 2026-07). Always confirm on the provider's pricing page.

Ad slot

LLM pricing reference (USD per 1M tokens)

ModelProviderInputOutput
GPT-4oOpenAI$2.50$10.00
GPT-4o miniOpenAI$0.15$0.60
o3-miniOpenAI$1.10$4.40
Claude Opus 4Anthropic$15.00$75.00
Claude Sonnet 4Anthropic$3.00$15.00
Claude Haiku 3.5Anthropic$0.80$4.00
Gemini 2.5 ProGoogle$1.25$10.00
Gemini 2.5 FlashGoogle$0.30$2.50

Defaults reviewed July 2026. Verify current pricing on each provider's official pricing page before relying on these numbers.

Frequently asked questions

How is the token cost calculated?
Cost = (input tokens ÷ 1,000,000 × input price) + (output tokens ÷ 1,000,000 × output price). Providers bill separately for input (prompt) and output (completion) tokens, which is why both prices are shown.
How accurate is the token estimate from pasted text?
The text mode uses a heuristic (a blend of character and word counts) that lands within roughly 10–20% for English. For exact billing, switch to token-count mode and paste the token totals your API response reports.
Are the model prices up to date?
The defaults were reviewed in July 2026, but providers change pricing often. Every price field is editable, so you can enter the current numbers from the provider's pricing page.
Is this calculator free?
Yes. It runs entirely in your browser, nothing is uploaded, and there is no sign-up.