Context Budget
Definition
Planned distribution of the limited model context to instructions, documents, history and tool data.
A context budget specifies how much space individual input parts receive. Depending on the API, output or further processing must also be considered. It is a planning parameter and not a uniformly standardized parameter; the meaningful distribution depends on the task and the model.
Simply explained
Your workbook only fits a limited number of pages; you reserve space for the most important documents.
Why it matters in practice
Relevant for agents with long histories, many tools and extensive retrieval.
Example from business
Sample scenario: A support agent limits old messages so that current error data and relevant manual locations can be accommodated.
Limits and pitfalls
- Filling the entire window with documents; forgetting output reserve; optimizing token numbers instead of information benefits.
Origin & history
Building on the context management required since early LLM applications; Context Engineering made planning more visible.
Use in mid-sized companies
- Set budgets per component, measure actual consumption and receive mandatory information if reduced.
Frequently asked questions
Is it a money budget?
Primarily a space budget here. Are there standard shares? No. Can caching replace it? No.
Sources
- Effective context engineering for AI agents · Anthropic, Effective context engineering for AI agents
Source check: 10/09/2026. Definition and documented classification verified; examples describe possible applications.
Editorially reviewed on: