Skip to main content
AI FundamentalsBeginner

Context Window Explained — What LLMs Can "Remember"

The context window is the total amount of text an LLM can see at once — both your input and its output. Understanding it helps you avoid "forgetting" issues and use AI tools more effectively.

TL;DR: The context window is the total amount of text an LLM can see at once — both your input and its output. Understanding it helps you avoid "forgetting" issues and use AI tools more effectively.

What Is the Context Window?

Think of the context window as the AI's working memory. Everything the model can "see" during a conversation — your messages, its replies, system instructions — must fit within this window, measured in tokens. Once exceeded, the model loses access to earlier content.

context windowtokensworking memorycontext limit