AI Token Counter
Tokens for ChatGPT, Claude and Gemini
- Free, no sign up
- Runs in your browser
- Works on phone and desktop
| Model | Tokens | Context used |
|---|---|---|
| GPT-5, GPT-4.1, GPT-4o | … | |
| OpenAI o3, o4-mini | … | |
| GPT-4, GPT-3.5 Turbo | … | |
| Claude (estimate) | … | |
| Gemini (estimate) | … |
OpenAI counts use the official o200k and cl100k tokenizers and are exact. Claude and Gemini do not publish their tokenizers, so their numbers are estimates. Everything is counted in your browser.
How to use
Paste your text
Paste a prompt, document or code, or open a text file.
Read the token counts
See tokens per model, context used and cost if you add a price.
See the split
Tick Show how the text splits to see each token highlighted.
About the AI Token Counter
This token counter shows how many tokens your text uses in ChatGPT, Claude and Gemini. Paste a prompt, document or code and see exact token counts for GPT-5, GPT-4.1, GPT-4o and the o-series (o200k tokenizer) and GPT-4 and GPT-3.5 (cl100k tokenizer), plus estimates for Claude and Gemini. It also shows the share of each model's context window you are using, the cost if you enter a price per million tokens, and how the text splits into tokens. Everything runs in your browser, so your prompt is never sent anywhere.
Exact OpenAI token counts.
Claude and Gemini estimates.
Context window and cost per model.
Private: counted in your browser.