The context window is the amount of text a language model can look at while generating a response: your prompt, the conversation so far, any files you attach and the answer itself. Anthropic describes it as the model’s working memory, different from the data it was trained on. Google defines it as the number of tokens a model can process in a given prompt. A larger context window lets you work with longer documents or conversations; a smaller one may cut off earlier parts. Providers list context window sizes on their model and pricing pages, and some charge different rates for very long prompts.
Official sources: docs.claude.com/en/docs/about-claude/glossary; developers.google.com/machine-learning/glossary (checked 2026-11-26).