GLOSSARY · AI SECURITY
Context window
A context window is the maximum amount of text, measured in tokens, that a language model can consider at once when producing a response.
Everything the model can use during a conversation must fit in the window: the system prompt, the chat history, and any retrieved documents. When it fills up, older content is dropped or summarized.