My Tool Studio

AI Token Counter

Tokens for ChatGPT, Claude and Gemini

Your prompt or text
Token count
Characters
74
Words
13
ModelTokensContext 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

  1. Paste your text

    Paste a prompt, document or code, or open a text file.

  2. Read the token counts

    See tokens per model, context used and cost if you add a price.

  3. 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.

Questions

How many tokens is a word?
In English, one word is about 1.3 tokens, or 100 tokens is about 75 words. Hindi and other scripts often use more tokens per word.
Is this ChatGPT token counter accurate?
Yes for OpenAI models: it uses the official o200k and cl100k tokenizers. Claude and Gemini counts are estimates because their tokenizers are not public.
What is a context window?
It is the most tokens a model can read and write in one request. Long prompts may need to be shortened to fit.
How do I estimate the cost of a prompt?
Enter the model's price per million input tokens; the cost column shows the price for your text.
Why do Hindi and code use more tokens?
Tokenizers are trained mostly on English, so other scripts and symbols are split into smaller pieces.
Is my text uploaded to count tokens?
No. The tokenizer runs in your browser.