Context Window
The maximum number of tokens a model can consider in one request — a hard, shared budget.
The context window is the token ceiling for a single call. Everything competes for it: system prompt, tool definitions, chat history, retrieved documents, the user message, plus room reserved for the output. Exceed it and the request is rejected or truncated — which is why agents need compaction.