Context Window Usage Calculator
Find what percentage of a model's context window your prompt is using.
Inputs
Saved Scenarios
— select 2+ to compare| Metric | |
|---|---|
Context Used
25.0%
Tokens Remaining
96,000
Spark says
How it's calculated
Formula
- Max\ Context
- — The model's maximum context window size, in tokens
What is the Context Window Usage Calculator?
Every LLM has a fixed maximum context window (the total tokens it can 'see' at once, including prompt, conversation history, and output) — this calculator shows how much headroom is left.
How to use it
- 1 Enter the tokens already used (prompt + conversation history).
- 2 Enter the model's maximum context window size.
Worked examples
Frequently asked questions
What happens if I exceed the context window?
Behavior varies by provider — some truncate the oldest content, some return an error, and some silently drop earlier context. Check your provider's specific handling.