Context Window — AI Glossary

A context window is the maximum amount of text (measured in tokens) that an AI model can process in a single interaction, including both the input prompt and the generated output. Models with larger context windows can handle longer documents and maintain more conversation history, but performance may degrade as the window fills up.