LLM Context Window Calculator
Set a context limit and output reserve, then see how much room is left for input, system text, and history.
Progress
Open a Saved Budget
Context Limit
Use the context limit you plan to work within. The output reserve is set aside before calculating how much input fits.
Prompt Sections
Enter known counts or count text separately with the bundled o200k_base tokenizer. Use Unused for an absent section.
Budget Result
- Input Capacity After Reserve
- Remaining Input
- Used Including Reserve
- Combined Overage