Token counter and LLM cost calculator
What does this prompt actually cost?
Paste your text. The tokenizer runs in your browser, nothing is uploaded, and every price is a current list rate. Where a model has no public tokenizer, the count is approximated — and labelled, rather than passed off as exact.
35tokens27words157characterso200k_base, counted in your browser
Show the token split35 pieces
Providers — 4 of 12 in the ranking
$5.00 in·$30.00 out
exact$0.7150
$10.00 in·$50.00 out
estimated$1.3000
$2.00 in·$12.00 out
estimated$0.2900
$0.20 in·$0.50 out
estimated$0.0164
$0.435 in·$0.87 out
estimated$0.0322
$0.95 in·$4.00 out
estimated$0.1081
$1.50 in·$7.50 out
estimated$0.1935
$3.00 in·$15.00 out
estimated$0.3810
$0.59 in·$0.79 out
estimated$0.0366
$0.35 in·$0.75 out
estimated$0.0268
$2.50 in·$10.00 out
estimated$0.2750
$2.00 in·$8.00 out
estimated$0.2220
Ranked cheapest first · 1,000 calls
- $0.0322cheapest · 38 in
- $0.2900×9.0 · 37 in
- $0.7150×22.2 · 35 in
- $1.3000×40.4 · 40 in
Current list prices
Per million tokens, in USD. Cached input is the rate for a prompt prefix the provider has already seen — on long system prompts it is usually the largest saving available.
| Model | Provider | Input | Cached | Output | Context |
|---|---|---|---|---|---|
| claude-fable-5 | Anthropic | $10.00 | $1.00 | $50.00 | 1M |
| claude-haiku-4-5 | Anthropic | $1.00 | $0.10 | $5.00 | 200K |
| claude-opus-4-5 | Anthropic | $5.00 | $0.50 | $25.00 | 200K |
| claude-opus-4-6 | Anthropic | $5.00 | $0.50 | $25.00 | 1M |
| claude-opus-4-7 | Anthropic | $5.00 | $0.50 | $25.00 | 1M |
| claude-opus-4-8 | Anthropic | $5.00 | $0.50 | $25.00 | 1M |
| claude-opus-5 | Anthropic | $5.00 | $0.50 | $25.00 | 1M |
| claude-sonnet-4-5 | Anthropic | $3.00 | $0.30 | $15.00 | 200K |
| claude-sonnet-4-6 | Anthropic | $3.00 | $0.30 | $15.00 | 1M |
| claude-sonnet-5 | Anthropic | $2.00 | $0.20 | $10.00 | 1M |
| codestral-mamba-latest | Mistral | $0.25 | — | $0.25 | 256K |
| command-r | Cohere | $0.15 | — | $0.60 | 128K |
| command-r-plus | Cohere | $2.50 | — | $10.00 | 128K |
| deepseek-chat | DeepSeek | $0.28 | $0.028 | $0.42 | 131K |
| deepseek-coder | DeepSeek | $0.14 | — | $0.28 | 128K |
| deepseek-reasoner | DeepSeek | $0.28 | $0.028 | $0.42 | 131K |
| deepseek-v3.2 | DeepSeek | $0.28 | — | $0.40 | 164K |
| deepseek-v4-flash | DeepSeek | $0.14 | $0.003 | $0.28 | 1M |
| deepseek-v4-pro | DeepSeek | $0.435 | $0.004 | $0.87 | 1M |
| devstral-latest | Mistral | $0.40 | — | $2.00 | 256K |
| devstral-medium-latest | Mistral | $0.40 | — | $2.00 | 256K |
| devstral-small-latest | Mistral | $0.10 | — | $0.30 | 256K |
| gemini-2.5-pro | $1.25 | $0.125 | $10.00 | 1M | |
| gemini-2.5-pro-preview-tts | $1.25 | $0.125 | $10.00 | 1M | |
| gemini-3-flash-preview | $0.50 | $0.05 | $3.00 | 1M | |
| gemini-3-pro-preview | $2.00 | $0.20 | $12.00 | 1M | |
| gemini-3.1-flash-lite | $0.25 | $0.025 | $1.50 | 1M | |
| gemini-3.1-flash-lite-preview | $0.25 | $0.025 | $1.50 | 1M | |
| gemini-3.1-pro-preview | $2.00 | $0.20 | $12.00 | 1M | |
| gemini-3.5-flash | $1.50 | $0.15 | $9.00 | 1M | |
| gemini-3.5-flash-lite | $0.30 | $0.03 | $2.50 | 1M | |
| gemini-3.6-flash | $1.50 | $0.15 | $7.50 | 1M | |
| gpt-4.1 | OpenAI | $2.00 | $0.50 | $8.00 | 1M |
| gpt-4.1-mini | OpenAI | $0.40 | $0.10 | $1.60 | 1M |
| gpt-4.1-nano | OpenAI | $0.10 | $0.025 | $0.40 | 1M |
| gpt-5.4 | OpenAI | $2.50 | $0.25 | $15.00 | 1.1M |
| gpt-5.4-mini | OpenAI | $0.75 | $0.075 | $4.50 | 272K |
| gpt-5.5 | OpenAI | $5.00 | $0.50 | $30.00 | 1.1M |
| gpt-5.6 | OpenAI | $5.00 | $0.50 | $30.00 | 1.1M |
| gpt-5.6-luna | OpenAI | $0.20 | $0.02 | $1.20 | 1.1M |
| gpt-5.6-sol | OpenAI | $5.00 | $0.50 | $30.00 | 1.1M |
| gpt-5.6-terra | OpenAI | $2.00 | $0.20 | $12.00 | 1.1M |
| gpt-oss-120b | Cerebras | $0.35 | — | $0.75 | 131K |
| grok-4 | xAI | $3.00 | — | $15.00 | 256K |
| grok-4-1-fast | xAI | $0.20 | $0.05 | $0.50 | 2M |
| grok-4-1-fast-reasoning | xAI | $0.20 | $0.05 | $0.50 | 2M |
| grok-4-1-fast-reasoning-latest | xAI | $0.20 | $0.05 | $0.50 | 2M |
| grok-4-fast-reasoning | xAI | $0.20 | $0.05 | $0.50 | 2M |
| grok-4.20-0309-reasoning | xAI | $2.00 | $0.20 | $6.00 | 2M |
| grok-4.3 | xAI | $1.25 | $0.20 | $2.50 | 1M |
| grok-4.3-latest | xAI | $1.25 | $0.20 | $2.50 | 1M |
| grok-4.5 | xAI | $2.00 | $0.50 | $6.00 | 500K |
| grok-4.5-latest | xAI | $2.00 | $0.50 | $6.00 | 500K |
| jamba-1.5 | AI21 | $0.20 | — | $0.40 | 256K |
| jamba-1.5-large | AI21 | $2.00 | — | $8.00 | 256K |
| jamba-1.5-mini | AI21 | $0.20 | — | $0.40 | 256K |
| jamba-large-1.6 | AI21 | $2.00 | — | $8.00 | 256K |
| jamba-large-1.7 | AI21 | $2.00 | — | $8.00 | 256K |
| jamba-mini-1.6 | AI21 | $0.20 | — | $0.40 | 256K |
| jamba-mini-1.7 | AI21 | $0.20 | — | $0.40 | 256K |
| kimi-k2-0711-preview | Moonshot | $0.60 | $0.15 | $2.50 | 131K |
| kimi-k2-0905-preview | Moonshot | $0.60 | $0.15 | $2.50 | 262K |
| kimi-k2-thinking | Moonshot | $0.60 | $0.15 | $2.50 | 262K |
| kimi-k2-thinking-turbo | Moonshot | $1.15 | $0.15 | $8.00 | 262K |
| kimi-k2-turbo-preview | Moonshot | $1.15 | $0.15 | $8.00 | 262K |
| kimi-k2.5 | Moonshot | $0.60 | $0.10 | $3.00 | 262K |
| kimi-k2.6 | Moonshot | $0.95 | $0.16 | $4.00 | 262K |
| kimi-latest-128k | Moonshot | $2.00 | $0.15 | $5.00 | 131K |
| llama-3.1-70b-instruct | Perplexity | $1.00 | — | $1.00 | 131K |
| llama-3.1-8b-instant | Groq | $0.05 | — | $0.08 | 128K |
| llama-3.1-8b-instruct | Perplexity | $0.20 | — | $0.20 | 131K |
| llama-3.3-70b | Cerebras | $0.85 | — | $1.20 | 128K |
| llama-3.3-70b-versatile | Groq | $0.59 | — | $0.79 | 128K |
| llama3.1-70b | Cerebras | $0.60 | — | $0.60 | 128K |
| llama3.1-8b | Cerebras | $0.10 | — | $0.10 | 128K |
| ministral-8b-latest | Mistral | $0.15 | — | $0.15 | 262K |
| mistral-large-3 | Mistral | $0.50 | — | $1.50 | 262K |
| mistral-large-latest | Mistral | $0.50 | — | $1.50 | 262K |
| mistral-medium-3-5 | Mistral | $1.50 | — | $7.50 | 262K |
| mistral-medium-latest | Mistral | $1.50 | — | $7.50 | 262K |
| moonshot-v1-128k | Moonshot | $2.00 | — | $5.00 | 131K |
| moonshot-v1-128k-vision-preview | Moonshot | $2.00 | — | $5.00 | 131K |
| open-codestral-mamba | Mistral | $0.25 | — | $0.25 | 256K |
| qwen-3-32b | Cerebras | $0.40 | — | $0.80 | 128K |
| sonar | Perplexity | $1.00 | — | $1.00 | 128K |
| sonar-deep-research | Perplexity | $2.00 | — | $8.00 | 128K |
| sonar-pro | Perplexity | $3.00 | — | $15.00 | 200K |
| sonar-reasoning | Perplexity | $1.00 | — | $5.00 | 128K |
| sonar-reasoning-pro | Perplexity | $2.00 | — | $8.00 | 128K |
| zai-glm-4.6 | Cerebras | $2.25 | — | $2.75 | 128K |
| zai-glm-4.7 | Cerebras | $2.25 | — | $2.75 | 128K |