See what your prompt costs on every model
Exact token counts, live pricing, and context-window fit across 29 models — free, in your browser, nothing stored.
Counts include each model's own chat-template overhead.
128 charsCost = uncached input × input price + cached input × the provider's cache-read price + assumed output × output price. Models without a cached rate get no discount.
29 models
| Model | Tokens | Relative · context use | Cost |
|---|---|---|---|
| OpenAI | |||
GPT-5.1 OpenAI · … | unpriced | ||
GPT-5 mini OpenAI · … | unpriced | ||
GPT-5 nano OpenAI · … | unpriced | ||
GPT-4.1 OpenAI · … | unpriced | ||
GPT-4o OpenAI · … | unpriced | ||
GPT-4o mini OpenAI · … | unpriced | ||
o3 OpenAI · … | unpriced | ||
| Anthropic | |||
Claude Fable 5 Anthropic · … | unpriced | ||
Claude Sonnet 5 Anthropic · … | unpriced | ||
Claude Opus 4.8 Anthropic · … | unpriced | ||
Claude Opus 4.5 Anthropic · … | unpriced | ||
Claude Sonnet 4.5 Anthropic · … | unpriced | ||
Claude Haiku 4.5 Anthropic · … | unpriced | ||
Gemini 3 Pro Google · … | unpriced | ||
Gemini 2.5 Pro Google · … | unpriced | ||
Gemini 2.5 Flash Google · … | unpriced | ||
Gemini 2.5 Flash-Lite Google · … | unpriced | ||
| xAI | |||
Grok 4 xAI · … | unpriced | ||
Grok 4 Fast xAI · … | unpriced | ||
Grok 3 xAI · … | unpriced | ||
| Open weights | |||
Llama 4 Scout Meta · … | varies by host | ||
Llama 3.3 70B Meta · … | varies by host | ||
DeepSeek V3.1 DeepSeek · … | varies by host | ||
DeepSeek R1 DeepSeek · … | varies by host | ||
Qwen3 32B Alibaba · … | varies by host | ||
Gemma 3 27B Google · … | varies by host | ||
gpt-oss-120b OpenAI · … | varies by host | ||
GLM-4.6 Z.ai · … | varies by host | ||
Mistral Small 3 Mistral · … | varies by host | ||
How counting works
Exact, in your browser
OpenAI and open-weights models are tokenized with their real tokenizers (tiktoken and Hugging Face), running entirely client-side. Your prompt never leaves the page.
Exact, via provider APIs
Anthropic, Google, and xAI don't publish their tokenizers, so counts come from each provider's official count-tokens endpoint — which tokenizes without running the model and never stores your prompt.
Prices that stay current
Pricing is refreshed automatically every week from a community-maintained dataset and reviewed before merging — last updated 2026-07-07. Model health is checked weekly too.
FAQ
Why do the same words cost different amounts on different models?
Every vendor trains its own tokenizer vocabulary, so identical text splits into different numbers of tokens — often 10–30% apart, more for code and non-English text. Multiply that by per-token prices that vary 100× between models and the same prompt can differ wildly in real cost.
How is monthly cost calculated?
Your prompt's input tokens × the model's input price, plus your assumed output length × its output price, times your requests per month. If part of your prompt is served from cache, set the cached-input percentage and the cached share is billed at the provider's cache-read rate.
Can I see exactly where tokens split?
Click any row to see the prompt colorized token by token, with token IDs — including each model's own chat-template overhead. For Claude, Gemini, and Grok the boundaries aren't public, but the counts are exact.