How AI tokens work
AI models don't read words. They read tokens, small pieces of text that are often a whole word, part of a word, or a punctuation mark. Every chat app and API limits how many tokens you can send at once (the context window), and API pricing is charged per token.
Each company splits text its own way, so the same paragraph has a different count in each model. As a rough guide for English:
- ChatGPT: about 75 words per 100 tokens.
- Claude (current models): fewer words per token. Anthropic says 1 million tokens is roughly 555,000 words.
- Gemini: about 4 characters per token, according to Google.
Code, tables, other languages and emoji usually use more tokens than plain English.
How accurate is this counter?
The ChatGPT number is an exact count using the o200k tokenizer that current GPT models use. Claude and Gemini don't publish a tokenizer that runs in the browser, so those numbers are estimates based on each company's published guidance. They're good for planning; for an exact count, use the provider's own token-counting API.
Text too long? Split it into parts that each fit.
Frequently asked questions
What is a token?
A small chunk of text, often a word or part of a word, that AI models read and write. In English, 100 tokens is roughly 75 words for ChatGPT.
Why do Claude, ChatGPT and Gemini give different token counts?
Each company uses its own tokenizer, which splits text differently, so the same text has a different count in each model.
Is my text uploaded anywhere?
No. The counter runs entirely in your browser. Your text is never sent to a server.
Do images and files count as tokens?
Yes. Images and attached files also use up the context window, but this tool only counts text.