Context Window

Level 2

Short Description

The maximum amount of text (measured in tokens) that a language model can consider at once when producing a response.

Friendly Description: The context window is how much an AI can "see" at one time, kind of like how much you can hold in your short-term memory during a conversation. If the context window is small, the AI can only consider a few paragraphs. If it's large, the AI can take in entire books or long meetings without forgetting the beginning by the time it reaches the end.

Example: If you paste a 50-page report into an AI and ask, "What were the three main concerns raised in the introduction?" the model can only answer well if its context window is big enough to hold all 50 pages at once. Modern AI models have very large context windows precisely so they can handle long documents like this.