Token counter
Count tokens, characters, and words in a prompt.
About Token counter
Estimate how much text a tokenizer represents as tokens. Words and tokens are different units: punctuation, spaces, language, and the chosen tokenizer affect the count.
Steps, and limitations
How to use it
- Enter the prompt or text to count.
- Select the available tokenizer that fits your use case.
- Review the token, word, and character totals.
Things to know
- A plain-text token count may exclude message framing, tool definitions, images, and other provider-specific overhead.
- The selected tokenizer must match the actual model usage closely enough for your estimate.