Context Window (CtxWin)

The total amount of text an AI model can read and remember at one time during a conversation or task, measured in tokens.

Technically: The finite sequence length, measured in tokens, that a transformer model processes in a single forward pass — covering system prompt, conversation history, retrieved documents, tool outputs, and few-shot examples. It is the model's working memory: content outside it is invisible unless retrieved or summarized. Sizes range from a few thousand to millions of tokens.

Category: Data & Representations

Related ideas