For AI engineering
Context window budget
See how system prompt, tools, history and documents fill a context window, and what compaction buys you.
Sizes are rough and adjustable; real counts depend on the model's tokenizer.
171k of 200k
- System prompt 3.0k
- Tool definitions 24.0k
- Conversation 120k
- Retrieved documents 16.0k
- Reserved for the answer 8.0k
29.0k left. Still, less noise in the window usually means better tool choices.