Token counter
Paste text to count tokens with OpenAI's o200k_base (GPT-4o and newer) and cl100k_base (GPT-4/3.5 era) encodings, see how it splits into tokens, and estimate the cost of sending it to any model. Your text never leaves the browser.
165
characters
29
words · ~1.21 tokens/word
Token visualization (o200k_base)
The quick brown fox jumps over the lazy dog. Tokenizers split text into subword units — common words are usually one token, while rarer words get broken into pieces.
What this prompt costs to send
using 35 input tokens (o200k_base)
| Model | Cost / request | Cost / 1K requests |
|---|---|---|
| Auto RouterOpenRouter | $-5.35e+2 | $-5.35e+5 |
| Auto CodeOpenRouter | $-5.35e+2 | $-5.35e+5 |
| Jev RouterTypesafe | $-5.35e+2 | $-5.35e+5 |
| SwitchyardNVIDIA | $-5.35e+2 | $-5.35e+5 |
| Auto Router (Beta)OpenRouter | $-5.35e+2 | $-5.35e+5 |
| FusionOpenRouter | $-5.35e+2 | $-5.35e+5 |
| Pareto Code RouterOpenRouter | $-5.35e+2 | $-5.35e+5 |
| Body Builder (beta)OpenRouter | $-5.35e+2 | $-5.35e+5 |
| SummarizeScaledown | $1.40e-6 | $0.0014 |
| ExtractScaledown | $1.40e-6 | $0.0014 |
| Mistral NemoMistral | $1.60e-5 | $0.016 |
| Llama 3.1 8B InstructMeta | $2.07e-5 | $0.0207 |
| Ling 3.0 TinyInclusionai | $2.30e-5 | $0.023 |
| Llama 3 8B LunarisSao10k | $2.64e-5 | $0.0264 |
| Ling 3.0 FlashInclusionai | $3.22e-5 | $0.0322 |
| GLM 5.3 Flash (batch)Z.ai | $3.53e-5 | $0.0353 |
| GLM Flash Latest~z Ai | $4.06e-5 | $0.0406 |
| Mistral Small 3Mistral | $4.18e-5 | $0.0418 |
| gpt-oss-20bOpenAI | $4.56e-5 | $0.0456 |
| Nex-N2.5-MiniNex Agi | $5.09e-5 | $0.0509 |
| Gemma 3 4BGoogle | $5.17e-5 | $0.0517 |
| Reka EdgeRekaai | $5.35e-5 | $0.0535 |
| Ministral 3 3B 2512Mistral | $5.35e-5 | $0.0535 |
| gpt-oss-20b (batch)OpenAI | $5.68e-5 | $0.0568 |
| MythoMax 13BGryphe | $5.78e-5 | $0.0578 |
| Qwen3.7 FlashAlibaba (Qwen) | $6.61e-5 | $0.0661 |
| Ternary Bonsai 2 9BPrism Ml | $6.78e-5 | $0.0678 |
| gpt-oss-120b (batch)OpenAI | $6.90e-5 | $0.069 |
| Ling 3.1 FlashInclusionai | $6.91e-5 | $0.0691 |
| Nova Micro 1.0Amazon | $7.12e-5 | $0.0712 |
Showing the 30 cheapest matching paid models. Note: non-OpenAI models use their own tokenizers, so actual token counts may differ slightly.