What is a token budget?
Language models bill and truncate by tokens — pieces of text, not characters. A token budget is how much of the context window your instruction, tools, and retrieved documents consume together.
Oversized system prompts leave less room for user messages and RAG chunks. aiStructEdit analysis reports token usage per section so you trim or split before production.