Token Cost Calculator

Estimate LLM API costs from input and output token counts — no data leaves your browser

Usage

Pick a model or enter custom prices

Estimated cost

Anthropic · $5/1M in · $25/1M out

Input cost / request$0.005000
Output cost / request$0.0125
Per request$0.0175
Total (1 requests)$0.0175
Reference prices as of 2026-07-11. Anthropic list prices are current; OpenAI and Google values are approximate — always confirm with the provider’s pricing page, or use “Custom prices”.