Results.

SCEPTRA.TECH

What Is a Context Window? The One Idea That Explains Most AI Mistakes


 Ask an AI chatbot a question about the message it answered five minutes ago and it may look at you blankly. Ask it to summarize a long PDF and the summary quietly drops chapter three. These are not random bugs. Almost all of them come back to one idea: the context window.

What a context window actually is

A context window is the amount of text a model can consider at one time. Everything the model "knows" about your conversation lives inside that window: your messages, its replies, any files you uploaded, and the hidden instructions that shape its behavior. Once something falls out of the window, the model cannot see it anymore. It is not being difficult. The text is simply gone.

Windows are measured in tokens, not words. A token is roughly three quarters of an English word, so 100,000 tokens is about 75,000 words, or a decent-sized novel. Modern models advertise windows from tens of thousands to a million tokens, and the number keeps growing.

Why it explains so many weird answers

Three common complaints trace straight back to the window:

"It forgot what I said earlier." Long chat, small window. The oldest messages scroll out and the model answers as if they never happened.

"It summarized only part of my document." If the file is bigger than the window, something has to be left out or compressed, and the model rarely warns you which parts went missing.

"It got dumber halfway through." Even when everything fits, models tend to pay more attention to the start and end of the window than the middle. Researchers call this the "lost in the middle" effect, and it is why a key instruction buried in a huge prompt can get ignored.

How to work with it, not against it

Put the important stuff late or early. If you paste a long document and a question, end with the question. Restate critical facts when a chat gets long instead of assuming they are still in view. Split huge files into sections and summarize each, then summarize the summaries. And when a conversation starts giving odd, forgetful answers, the fix is often boring: start a fresh chat with a short recap of what matters.

The catch with giant windows

A bigger window is not a free upgrade. Filling a million-token window costs more in API calls and can slow responses down, and attention still is not perfectly even across all that text. Google own Gemini documentation notes that quality can vary with how much of the window you use, which is a polite way of saying: just because it fits does not mean it is all being read carefully.

The context window is the single most useful mental model for understanding what chatbots can and cannot do. Once you see every conversation as a fixed-size whiteboard that quietly erases its oldest writing, the strange behavior stops being strange.

Sources: Google context window guide, Anthropic on context windows. Concepts as of November 2026.

Comments