Context Window Calculator
See how much of a model's context window your prompt would use.
What is the Context Window Calculator?
Every LLM has a maximum "context window" — the total number of tokens (prompt plus conversation history plus the model's response) it can handle in a single request. This tool shows how much of that budget a given token count uses up, and how much room is left.
How to use it
- Pick a context window size, or enter a custom one for a model not listed.
- Enter how many tokens you're currently using (from your prompt, conversation history, or an estimate from the AI Token Counter).
- See the remaining budget and percentage used.
This is especially useful for long conversations or documents, where it's easy to lose track of how close you are to a model's limit until a request suddenly fails. All calculation happens locally in your browser.