Runs entirely in your browser. Nothing you paste is sent anywhere or saved. If you paste text, the word and page boxes are ignored.
How the estimate works
The calculator uses the rule of thumb in OpenAI's help article Understanding and counting tokens: for common English text, 1 token is about 4 characters, about three-quarters of a word, and 100 tokens is about 75 words.
| What you give it | Formula | Example |
|---|---|---|
| Pasted text | Larger of (characters ÷ 4) and (words ÷ 0.75) | 28 characters, 6 words: max(7, 8) = 8 tokens |
| Word count | Words ÷ 0.75 | 75,000 words = 100,000 tokens |
| Page count | Pages × words per page ÷ 0.75 | 300 pages × 500 words = 200,000 tokens |
| Margin | Tokens × (1 + margin ÷ 100) | 200,000 with a 10% margin = 220,000 tokens |
A model fits when your tokens plus the tokens kept for the answer are no more than its context window, your input is no more than its documented maximum input (922,000 tokens on OpenAI's GPT-6 models), and the answer allowance is no more than its documented maximum output (for example 65,536 tokens by default on Gemini 4 models).
The rule is an estimate. OpenAI says the ratio differs by model and by language, and Anthropic's pricing page says the tokenizer in Claude 4.7 and later models produces about 30% more tokens for the same text than its earlier tokenizer. If you are close to a limit, add a margin or count exactly with the vendor's token counting tool.
Which windows does it check?
The calculator checks the API models in the model comparison, Meta's two open-weight Muse models, and the chat app windows that vendors publish:
| Window | Tokens | Source |
|---|---|---|
| ChatGPT Free, GPT Instant | 27K | ChatGPT pricing |
| ChatGPT Go or Plus, GPT Instant | 54K | ChatGPT pricing |
| ChatGPT Pro, GPT Instant | 128K | ChatGPT pricing |
| ChatGPT Go or Plus, GPT Reasoning | 256K | ChatGPT pricing |
| ChatGPT Pro, GPT Reasoning | 400K | ChatGPT pricing |
| Gemini app, Google AI Pro | 1M | Google AI plans |
| Muse Glimmer (open weights, default) | 128K | Meta docs |
| Muse Spark Open (open weights) | 1,048,576 | Meta docs |
| GPT-6 Astra, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Luna | 1,050,000 (max input 922,000) | OpenAI models |
| Claude Fable 5.2, Opus 5.5, Sonnet 5.5, Haiku 5.5 | 1M | Anthropic context windows |
| Gemini 4 Carbon, Argon, Hydrogen; Gemini 3.5 Flash-Lite | 1,048,576 | Gemini models |
| Mistral Large 4 / Mistral Small 4 | 1M / 256k | Mistral models |
| Grok 4.7 | 500,000 | xAI Grok 4.7 |
| Muse Wonder, Muse Spark 1.3, Muse Ember | 1,048,576 | Meta models |
Where a vendor writes "1M" or "256k" without an exact number, the calculator uses 1,000,000 and 256,000. The ChatGPT figures are total windows: OpenAI's pricing page says the part left for your own input is smaller, because system instructions, memories and reasoning share the same space. Claude's apps list "up to 1M, varies by model" without a per-plan figure, so they are not in the list. All limits checked 13 November 2026.
Next step
If your document only fits the largest windows, read context windows explained first: a model that can hold a million tokens does not use all of them equally well.
Frequently asked questions
- How many tokens is a page of text?
- OpenAI's rule of thumb is that 1 token is about three-quarters of an English word, so 100 tokens is about 75 words. A page of 500 words is therefore about 667 tokens. Pages vary a lot, so set the words-per-page box to match your documents.
- Why does the calculator keep tokens back for the answer?
- The context window holds the model's answer as well as your input. Anthropic's docs describe the window as covering the conversation plus the new output, and Google lists Gemini 4's window as a unified limit for input and output. If your input fills the whole window there is no room left to reply.
- Is the estimate exact?
- No. Each model family has its own tokenizer, and OpenAI says other languages can have a different ratio of characters, words and tokens. Use the margin box for non-English text or code, or use the vendor's token counting API for an exact count.