LLM context window calculator
Add the token budgets that compete inside one request. The calculator includes an output allowance and a configurable safety reserve, then shows whether the plan fits.
1. Enter your token budgets
Planning…
Input + output + reserve
Capacity after the plan
Window minus output and reserve
Prompt budget ÷ 1.33
How this calculator works
The fixed input is system instructions + conversation history + retrieved context. Planned usage adds the output allowance and the percentage reserve. A positive remaining value means the assumptions fit; it does not replace measurement with the model’s tokenizer.
Read the full explanation
See LLM context window explained for the worked arithmetic, word-count caveats, overflow strategies, and common mistakes. For the token estimate behind the rough word result, read how many tokens are in 1,000 words?.