Context Budget
Quick definition
The portion of a model's available context allocated to instructions, user input, retrieved data, and history.
The portion of a model's available context allocated to instructions, user input, retrieved data, and history.
Why it matters: A context budget reserves room for output and limits crowding from irrelevant documents.
Practical example: An agent assigns separate token allowances to history and retrieved passages.
Common use cases: Long-context design, RAG, and conversation management.
Examples
- An agent assigns separate token allowances to history and retrieved passages.
Use cases
- Long-context design, RAG, and conversation management.
Frequently asked questions
What is Context Budget?
The portion of a model's available context allocated to instructions, user input, retrieved data, and history.
What should I know before using Context Budget?
A context budget reserves room for output and limits crowding from irrelevant documents. Example: An agent assigns separate token allowances to history and retrieved passages.