Free guide

Context window explained: why long chats drift and long files get cut

A context window is the amount of text an AI model can take into account at once: your messages, its replies and anything you've pasted, all counted together. When a conversation or document outgrows it, something has to give, and that's why long chats drift and long files get cut. Four practical habits follow from it.

Verified 29 Oct 2026 4 live tool facts · How this is maintained


You're forty messages into helping an assistant rewrite a staff handbook. At the start you said "UK English, no bullet points, keep it under a page". Now it's writing "organization" and producing bullet lists again. It hasn't gone rogue. Your first message has slid towards the edge of what it can see, and the fix is to understand that edge.

Context window explained in one paragraph

Here's the context window explained in one paragraph. An AI model doesn't read a conversation the way you remember one. Each time it replies, it takes in a block of text: the system's own instructions, your messages, its earlier replies and any files you've added. That block is measured in tokens, which are small chunks of text, and it has a maximum size. That maximum is the context window. Anything outside it, the model simply doesn't see when it writes its next answer.

How tools handle a full window varies. Some drop the oldest messages, some summarise them, some stop and tell you. Window sizes differ between models and plans and change often, so check your tool's current documentation rather than relying on a number you read once.

Four consequences you'll notice at work

What you seeWhat's going onThe habit that helps
A long chat ignores your early instructionsEarly messages are dropped or carry less weightRestate key rules, or restart with a summary
A long document's later sections go missingThe file was cut to fitSplit it, or ask about one part at a time
Answers mix up two separate tasksBoth tasks share one crowded windowOne chat per task
Usage limits arrive sooner than expectedEvery reply re-reads the whole conversationKeep chats short and focused

The next four sections take each one as a task.

Task: a long drafting session that stays on brief

Drafting is where drift shows first. You set the rules in message one, then spend an hour on details, and the rules quietly lose their grip.

Two habits fix most of it. Put the standing rules in a short block you can paste again whenever output wanders. And when a chat has gone long, ask for a handover note, then start fresh:

Summarise this conversation as a brief for a new chat: the purpose of the document, every style rule I've given, the decisions we've made, and what's left to do. Use short bullet points. Leave out anything we tried and rejected.

Paste the brief into a new conversation and carry on. Check it first: a summary can drop a rule too.

Task: reviewing a long report without losing the ending

Long documents are where context limits cause silent errors. Say Aled, a policy officer at a council in Carmarthen, pastes a long consultation response and asks for the main objections. The summary is tidy and confident. It also says nothing about the final chapter, because the tool cut the file to fit and didn't make that obvious.

Some tools handle long documents better than others. Claude's strength, for example: Well-scoped everyday tasks, bug fixes and polished documents, slides and spreadsheets✓. Its limitation: Usage limits reset in rolling five-hour windows, even on paid plans✓. A long file still uses up that allowance faster.

Whatever the tool, test before you trust. Ask a question whose answer you know sits near the end. If the answer is wrong or missing, split the document into sections and summarise each one separately, then ask for a combined view. Our guide to using AI to read long documents goes further on splitting and checking.

Task: comparing several documents at once

Comparison is harder than summary, because the model has to hold several sources in view and keep them apart. Push too much in and it starts attributing one document's point to another.

Label each source clearly before you paste it, and ask the model to cite which label every point comes from:

I'm going to give you three supplier proposals, labelled A, B and C. Compare them on price structure, delivery dates and data handling. For every point you make, say which proposal it comes from. If a proposal doesn't mention something, say so rather than guessing.

Tools built around your own documents can help here. Gemini Notebook's strength: Answers and audio overviews built only from your own documents✓. Its limitation: It only knows what you upload, and the free plan limits sources per notebook✓.

Task: keeping two jobs from bleeding into each other

The fourth habit is the simplest. One chat, one task. If you use the same conversation to draft a job advert and then plan a team away day, the advert's tone leaks into the agenda, and old details resurface in odd places. A new chat costs nothing and starts with a clean window.

Workspace and project features in some tools let you keep shared reference files and instructions alongside separate chats, which helps on recurring work. Our guide to AI projects and workspaces explains how they differ.

How Teach me AI teaches context windows

Context windows are taught properly in the released module How large language models work, at Level III, Builder. You don't need to be a builder to take it; a path includes it when your role and goal call for it, and may put it on the "Later" shelf if other modules come first.

The lesson uses a step-through interactive explainer, so you move through the idea one stage at a time instead of reading it as a block of text. It's the quickest way to see why an instruction that has dropped out of view stops shaping the reply. The diagrams read on a phone and are described in words for screen readers. Each lesson ends with a short quiz, and the module ends with a test.

Context windows connect to tokens, which explain why limits and prices are counted the way they are; our guide on AI tokens covers that side. The glossary has one-page definitions of both terms.

Five habits to keep

  1. Restate your standing rules when output starts to wander.
  2. Restart long chats with a checked summary.
  3. Test long documents with a question about the ending.
  4. Label sources when you compare them, and ask for citations to the labels.
  5. Keep one task per chat.
What changed

1 fact on this page has moved

The values above are current. These are what they replaced, which matters if you made a decision or built something on the old ones.

Every change, in the Ledger →

Common questions

Why does the AI forget what I told it at the start of the chat?

In a long conversation, early messages can fall outside what the model is working with, or get less weight than recent ones, depending on the tool. Your opening instructions are the most likely to fade. Restate the important ones, or start a fresh chat with a short summary of where you got to.

Is a bigger context window always better?

Not always. A bigger window lets you give the model more at once, but more text can also mean more for it to overlook, and longer inputs often count more heavily against usage limits. A focused excerpt with a clear question usually beats a whole archive with a vague one.

Does the context window mean the AI remembers me between chats?

No, those are different things. The context window covers the current conversation. Some tools have separate memory or custom instruction features that carry information across chats, and those work by putting saved text back into the context window. Check each tool's settings to see what it keeps.

How do I know if my document was too long for the AI?

Warning signs are a summary that ignores the later sections, answers that say a topic isn't covered when it is, or a tool message that the file was truncated. Test it: ask about something you know sits near the end. If it can't find it, split the document.

Go deeper

Modules that teach this properly

More on this

Practical AI skills

Every guide on this topic →

Next step

Find out where you actually stand

A short placement assessment scores you across five skill areas and builds a path through our 18 released modules, skipping whatever you already know. No card needed.

Find your level
When this changes

The facts on this page are re-checked on a schedule. One email a month says what moved in AI tools and the rules, and what it means for you.

Once a month. We’ll email you a link to confirm, and every issue has a one-click unsubscribe. How we use your address.