AI Token Cost Calculator
Estimate tokens, then compare per-request and per-month API cost across models. All prices editable.
Token counts are an estimate (~4 chars or ~0.75 words per token), not any specific model's exact tokenizer. Default prices are reference points that may be outdated — edit them to match your provider's current published rate.
1. Your text (optional)
Estimated tokens: 0
2. Token counts & scale
3. Compare models
| Model | Input $/1M | Output $/1M | Cost / request | Cost / month |
|---|
Cheapest option is highlighted.
About this tool
LLM APIs bill by tokens, split into input and (usually pricier) output rates per million tokens. Estimate a request's cost, then project it to a monthly bill at your call volume.
Why the numbers are estimates
Each model family tokenizes differently, so no single formula matches every vendor exactly — this uses a transparent approximation instead of faking precision. Default prices are reference points that go stale; every rate is a plain editable number, so paste in your current published rate and the cost columns recalculate instantly.