Frequently asked questions.
Simple answers about tokens, models, accuracy and privacy.
Frequently asked questions.
What is an AI token?
A token is a unit used by language models to process text. Tokens aren't always whole words: punctuation, spaces, and parts of words can affect the count.
Is this an exact token count?
When the tokenizer loads successfully, the count is exact for the selected OpenAI-compatible encoding. If the tokenizer is unavailable, we clearly label an approximate estimate instead. Chat/API requests may add overhead.
Does this work for Claude or Gemini?
Not exactly. Different providers use different tokenizers. This tool currently supports o200k_base and cl100k_base encodings, not exact Claude or Gemini token counts.
Is my text saved or uploaded?
No. The text is processed in your browser and isn't submitted to a server by this website. The page downloads its tokenizer library from a third-party CDN.
Why won't the token number load?
The exact tokenizer needs an internet connection to download its library. If it cannot load, the tool keeps working with a clearly labelled approximate estimate.
Ready to check your own text?
Open the Token Counter