T2 / TOOLS / OPTIMIZE-TOKEN-USAGE
Context Window Budget Planner
Will it all fit? Break your system prompt, tools, history, and retrieved docs into components, reserve room for the output, and see exactly how much of the context window you are using — per model.
>> MODEL
>> WHAT GOES IN THE WINDOW
>> BUDGET
Window
200,000
Used
48,000
24%
Remaining
152,000
Status
FITS
System prompt1,200 (0.6%)
Tool definitions800 (0.4%)
Conversation history12,000 (6%)
Retrieved documents30,000 (15%)
Reserved for output4,000 (2%)
Changelog
v1.0.0Initial release. Per-component context budgeting with output reservation, fits/over-budget status, and a stacked window-usage bar.6/6/2026