Enter your figures
Use the inputs below to calculate the result.
Calculator Results
Results use the figures you enter.
How to use this calculator
What to enter
Enter or select the following as requested: Context Window Tokens; System Prompt Tokens; History Tokens; New Input Tokens; Planned Output Tokens. Follow the units, valid ranges, examples, and options displayed beside each field.
What the result means
The output compares the prompt or conversation token estimate with the selected model context limit or budget. Check whether system instructions, message history, tool calls, and generated output count toward the limit in this tool.
When to use it
Use this to check whether a prompt or conversation is likely to fit within a model’s context window. Token counts are model- and tokenizer-dependent, so verify with the target model when precision matters.