
Every AI model has a limit to how much it can “remember” in a single conversation. That limit is called the context window, and it’s one of the most important specs you’ll see when comparing models—even if vendors don’t always make it easy to understand what it means in practice.
If you’ve ever had ChatGPT or Claude suddenly “forget” something you mentioned earlier, or refuse to process a long document, you’ve hit the edge of its context window. Here’s what’s actually happening and why it matters for the tasks you use AI for every day.
What a Context Window Actually Is
A context window is the maximum amount of text a model can process at one time, measured in tokens. Tokens are chunks of text—roughly four characters each in English, so about 750 words per 1,000 tokens.
When you start a new conversation, everything you type and everything the model responds with goes into that window. The model “sees” the entire conversation history every time it generates a reply. Once the window fills up, older parts of the conversation get cut off, and the model loses access to that information entirely.
As of November 2026, context windows vary widely. GPT-4o supports 128,000 tokens (around 96,000 words). Claude 3.5 Sonnet offers 200,000 tokens. Google’s Gemini 1.5 Pro goes up to 2 million tokens, enough for entire books or codebases.
Why It Matters More Than You Think
Context window size directly affects what you can do with a model. A larger window means you can:
- Upload longer documents for summarization or analysis without splitting them
- Have much longer back-and-forth conversations before the model forgets earlier instructions
- Work with large codebases or datasets in a single session
- Provide more examples and reference material in a single prompt
Smaller windows force workarounds. If you’re working with a 10,000-word report and a model with a 32,000-token window, you can upload the whole thing. But if the conversation grows too long—lots of revisions, clarifications, or tangents—you’ll eventually hit the limit and the model will lose track of the original document.
That’s why some tools let you “pin” important instructions or upload files as persistent background knowledge. They’re working around the fixed size of the window.
How Models Handle the Limit
When a conversation exceeds the context window, models handle it in one of two ways. Some will truncate the beginning of the conversation and keep only the most recent exchanges. Others will refuse to continue and ask you to start a new chat.
Neither option is ideal. Truncation means the model silently loses access to earlier context, which can lead to confusing replies or repeated questions. Manual resets mean you have to re-explain your task from scratch.
Most models don’t warn you when you’re approaching the limit. You’ll only notice when responses start to feel disconnected or when the model asks you to repeat something you already said.
When Bigger Isn’t Always Better
It’s tempting to think a 2-million-token window is always better than 128,000. In practice, it depends on what you’re doing.
Models with enormous windows can handle massive inputs, but they’re often slower and more expensive per request. If you’re just drafting emails or brainstorming ideas, a smaller, faster model will feel more responsive.
There’s also a performance question. Some research suggests that models can lose track of information buried deep in very long contexts—a phenomenon researchers call “lost in the middle.” Vendors are working on this, but for now, putting critical instructions at the beginning or end of a prompt tends to work better than hiding them in the middle of a huge document.
How to Work With Context Limits
If you’re working with long documents or complex projects, a few strategies help:
- Start a new conversation when the topic shifts significantly, rather than piling everything into one thread
- Use features like custom instructions, memory settings, or pinned messages to keep key information accessible without filling the window
- When uploading large files, ask the model to focus on specific sections rather than trying to process everything at once
- If a model starts forgetting earlier parts of the conversation, summarize the key points and start fresh with that summary
Understanding context windows won’t change how you write prompts, but it will help you understand why some tasks work smoothly and others don’t—and how to structure your work so you’re not constantly fighting the limits.
Want one useful AI idea in your inbox every day? Subscribe to the One Two Three AI newsletter and get practical tips like this, no fluff.
