Skip to content
AgenticAIWiki

← Chapter 59. Budgeting the context window

A token budget for one request

Budget: 200k tokensSystem prompt3kTokens (thousands)System3Tools0History0Docs0Output0Input 3k + output room 0k = 3k of 200k

Swipe to change step

Step 1 of 8. One request has a fixed budget: the context window. Here it is 200k tokens. Every part of the request draws from it, starting with the system prompt. System prompt (3k), highlighted.

Keys: → or J next, ← or K back, Home and End jump, Space toggles auto-play when the diagram has focus.