AI Token Counter & Estimator
Estimate how many tokens your text uses in GPT, Claude, Gemini or Llama models, plus words, characters and approximate cost before you send it.
🔒 Processed locally in your browser — we don’t upload your input.
How to use the Token Counter
Large language models do not read words; they read tokens, which are chunks of characters produced by a tokenizer. Pricing, rate limits and context-window limits are all measured in tokens, so knowing the count before you send a long document saves money and avoids truncation errors. This token counter gives a fast estimate for any text you paste, along with word, character and line counts.
The estimate uses widely published rules of thumb: for English, one token is about four characters or roughly three quarters of a word with modern BPE tokenizers such as those used by GPT-4o, Claude and Llama 3. The tool combines a character-based and a word-based estimate and also counts punctuation and digits, which often split into extra tokens. Code, non-Latin scripts and unusual formatting usually use more tokens than plain English, so treat the number as a planning figure, typically within about 10–15% of the exact tokenizer result.
Enter a price per million tokens to see the approximate cost of the text as input. Because tokenisation runs locally in your browser, you can safely paste confidential documents, contracts or source code. For exact billing, rely on the usage figures your AI provider reports.
Frequently asked questions
Is this an exact token count?
It is an estimate based on standard heuristics, usually within 10–15% for English text. Exact counts depend on each model’s tokenizer.
How many tokens is 1,000 words?
Roughly 1,300–1,400 tokens for typical English prose.
Why do code and other languages use more tokens?
Symbols, indentation and non-Latin characters often split into several tokens each.
Is my text sent anywhere?
No, counting happens entirely in your browser.
About this tool
Estimate how many tokens your text uses in GPT, Claude, Gemini or Llama models, plus words, characters and approximate cost before you send it. People also look for: token counter, gpt token counter, chatgpt token calculator, claude token count.
Related searches