Why a Long AI Chat Forgets How It Started (Context Window Explained)
A context window is how much text a model can hold in its head at once. It is measured in tokens, the small chunks of text, about three quarters of a word each, that models read and write. When the window is full, the model cannot see anything more. It does not get smarter or slower. It just stops remembering the start.
New to these terms? Every word is explained in the series glossary.
Think of it like a whiteboard. You write your chat on the board, oldest at the top, newest at the bottom. The board has a fixed size. When you run out of space, you wipe the top to make room at the bottom. The model still answers, but it has lost the first things you said. That is a context window.
Animation: The window has a fixed size: when it is full, the oldest messages are wiped to make room.
I measured what a window holds in pages. One page is about 500 words, and plain English runs about 1.15 tokens per word, so one page is about 575 tokens. That is from my own token count, not a guess.
| Window | Tokens | Pages it holds |
|---|---|---|
| 8,000 | 8,000 | about 14 |
| 128,000 | 128,000 | about 220 |
| 1,000,000 | 1,000,000 | about 1,700 |
An 8,000 token window holds a short essay. A 128,000 token window holds a small novel. A 1,000,000 token window holds about ten novels. But the number is a limit, not a promise. A model with a big window can still lose track of a fact buried in the middle. Bigger is better, but it is not magic.
Here is what happens when a long chat drops its start. I pasted a long document into a chat, asked questions about the first page, then kept chatting until the window filled. The model answered the early questions fine at first. Then it started saying it could not find things I knew were in the document. It had not broken. It had wiped the top of the whiteboard. The fix was simple. I pasted the first page again, and it answered straight away.
Three things decide how fast a window fills. First, your own messages, because every word you send counts. Second, the files you attach, because a 20 page PDF document is about 11,500 tokens before you ask a single question. Third, the model's own answers, because everything it writes also goes on the board. The Python below does the page arithmetic.
pythonwords = 500 tokens_per_word = 1.15 print("one page is about", int(words * tokens_per_word), "tokens") for window in [8000, 128000, 1000000]: print(window, "tokens is about", round(window / (words * tokens_per_word)), "pages")
Try this
bashpython3 -c "print('8k window:', round(8000/575), 'pages'); print('128k window:', round(128000/575), 'pages'); print('1M window:', round(1000000/575), 'pages')"
Try the full pipeline in How do LLMs work, start to finish. It shows where the window sits in the whole journey from your words to the answer.
Sources
- Token counts measured on this machine, 14 November 2026: tiktoken 0.14.0 (cl100k_base), 100 words is 115 tokens.
- Context window sizes: OpenAI, Anthropic and Google model pages, November 2026.
