Read page 3 as text
Build a token budget
5
THE WINDOW
ONE SHARED SEQUENCE BUDGET
1,000 tokens total
Input 850
Reserved output 150
Input + reserved output must fit
input + output
→
1,000 max
Is the advertised limit all mine?
A context limit constrains the sequence. In a simple shared budget, input and reserved generated output must fit together.
Toy total budget: 1,000 tokens
6
COUNT THE PARTS
TOY LIMIT: 1,000 TOKENS
100 + 500 + 250 + 150 = 1000
rules / history / docs / output
100 + 500
250 + 150
Budget instructions, conversation, documents and output, including formatting overhead in your estimates.
100 + 500 + 250 + 150 = 1,000
7
ONE MORE TOOL RESULT
TOY LIMIT: 1,000 TOKENS
100 + 500 + 250 + 200 + 150 = 1200
rules / history / docs / tool / output
1,000 + 200
→
1,200: too much
Adding a 200-token result makes this example exceed its limit. Something must shrink or be excluded.
1,000 + 200 = 1,200 tokens
8
MAKE AN EXPLICIT CHOICE
TOY LIMIT: 1,000 TOKENS
100 + 300 + 250 + 200 + 150 = 1000
rules / history / docs / tool / output
history 500
→
history 300
Reducing history from 500 to 300 tokens restores the budget, if the needed information survives.
100 + 300 + 250 + 200 + 150 = 1,000