1. Enter prompt characters
Count the visible text and formatting characters in the user content.
2. Enter prompt words
Use the same prompt content so the two estimates describe one input.
3. Set approximation ratios
Adjust characters per token and words per token for the language and content type.
4. Add hidden input
Include system messages, tool schemas, retrieved text, or other non-user tokens.
5. Estimate output length
Enter the maximum or typical completion size expected.
6. Review total context
Use the combined estimate to compare with a model’s usable context window.