How Models Work

Context Window

The AI's working memory for a single conversation. Everything in the conversation — your messages, the model's responses, uploaded documents — takes up space in the context window. When the context window fills up, older content may be pushed out and the model may lose track of earlier details. Measured in tokens.

Lessons that cover this

This definition is part of a free, structured course on how AI actually works.

Start learning