Allocate your context budget before you build: system prompt, RAG, history, tool outputs, response reserve.