You set up a long chat carefully. The first message explains the project, the rules and the background. Twenty messages later, the model contradicts one of those rules, or asks for a fact you gave it at the start. It feels like forgetfulness, but underneath it is arithmetic: everything in the conversation has to fit inside a fixed space called the context window, and a long chat eventually outgrows it.

This guide explains why the start of the chat is what goes missing, what else shares the window besides your messages, and how to measure the problem with the free Context Window Checker on Ovatly. One limit up front: the window sizes in the checker come from a snapshot dated November 2026, and providers change their limits, so verify the figure with the provider before relying on it.

Contents

  • Quick answer
  • One window for the whole conversation
  • Why the beginning is what goes missing
  • How to check how much room a text leaves, step by step
  • Worked example: a 12-token sentence and a long transcript
  • What to do when the start of the chat matters
  • Limitations
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

A model can only work with the text that fits in its context window. A conversation is not stored separately from that window: the system prompt, every earlier message, your newest message and the reply all draw on the same token budget. As the chat grows, the total eventually reaches the window's size, and the earliest messages are the ones that no longer fit, so the model answers as if they were never written. To see the pressure building, paste your chat transcript into the Context Window Checker: it counts the text in tokens and shows, for each model, the percentage of the window it fills and how many tokens remain.

One window for the whole conversation

A context window is measured in tokens, the chunks of text a model actually processes. In the checker's snapshot table, GPT-4o has a window of 128,000 tokens and Gemini Flash has a window of 1,000,000 tokens. Those numbers sound enormous, and for a single prompt they are. The catch is what counts against them.

Your latest message is only one tenant: the system prompt takes tokens, every earlier message and reply takes tokens, and the reply the model is about to write takes tokens too. The checker's own notes make the same point from the other side: the check covers your input only, while a real conversation also spends tokens on the system prompt, earlier messages and the model's reply. A chat is a budget being spent on everything at once, not just the part you are looking at.

Why the beginning is what goes missing

Each exchange adds its tokens to a running total that started with your first message. Early on, the total is a tiny fraction of the window and nothing is at risk. As the chat lengthens, the total climbs toward the cap. Once the conversation no longer fits whole, something has to sit outside what the model can consider, and the material at risk is the oldest: your opening instructions, the background you supplied first, the early decisions.

That is why the failure has a particular shape: the model does not lose the thread of the last few messages, which are recent and comfortably inside. It loses the setup. Rules stated once at the beginning stop being followed. Facts given early get asked for again. A format agreed at the start quietly drifts. None of this means the model discarded your instructions on purpose. It means the window filled up, and the start of the chat is the part that stopped fitting.

How to check how much room a text leaves, step by step

  1. Copy the text you want to measure: a chat transcript, or the document you are thinking of pasting into an already long chat.
  2. Open the Context Window Checker and paste the text in.
  3. Click Check context fill.
  4. Compare the fill bars. Each model shows its window size, the percentage your text fills, and the spare tokens left over.
  5. Pick a model where the text fits with room left for the reply. If a bar turns red, the tool states how many tokens you are over, which tells you how much trimming the job needs.

Worked example: a 12-token sentence and a long transcript

The checker's own example shows the scale at the small end. The sentence "Prompt engineering is the practice of writing instructions for AI models." is 12 tokens. Against GPT-4o's window of 128,000 tokens it fills 0.0094 percent and leaves 127,988 tokens spare. Against Gemini Flash's window of 1,000,000 tokens it fills 0.0012 percent. Ordinary prompts are tiny next to modern windows.

Now scale that up with plain arithmetic on the same window sizes. Suppose you paste a long chat transcript and the counter reads 120,000 tokens. Against GPT-4o, that transcript alone fills 93.75 percent of the window and leaves 8,000 tokens for everything else, including the system prompt and the next reply. The start of that chat is the material under pressure. The same 120,000-token transcript against Gemini Flash fills 12 percent of its 1,000,000-token window and leaves 880,000 tokens spare, so nothing is close to being squeezed out. Long is not an absolute property of a chat; it is a ratio between the conversation and the window it has to fit in.

What to do when the start of the chat matters

The checker points at the same three remedies its own FAQ lists for text that does not fit. Trim the text: cut the transcript or document down before it goes in, and a tool such as the Prompt Shortener can help with a bloated prompt. Split the work into parts, so each part is handled in a conversation with room to spare. Or choose a model with a larger window, where the same conversation fills a smaller share.

One habit ties the three together: keep the opening instructions in the text you carry forward. When you start a fresh conversation because the old one filled up, the setup has to travel with you, because the new window starts empty.

Limitations

The window sizes come from a snapshot data table dated November 2026; providers change limits, so verify with the provider before relying on a figure. Token counts use the GPT tokenizer (o200k encoding), so fills for other model families are approximations. The check covers the text you paste: a live conversation also spends tokens on the system prompt and the model's replies, so a real chat fills faster than the pasted transcript alone suggests. And the checker measures text against window sizes; it cannot tell you how a particular chat product behaves at the limit, only how close your text is to it.

Common mistakes

  • Assuming the model remembers everything said earlier, however long the chat runs. Memory is the window, and the window is finite.
  • Pasting a huge document into an already long chat without checking the combined size. Each part may fit alone while the total does not.
  • Judging length by words or pages. Windows are measured in tokens, so count in tokens.
  • Filling the window completely. A full window leaves no room for the reply the model still has to write.
  • Treating the snapshot window sizes as live facts. They are a November 2026 snapshot; providers raise limits over time.

FAQs

Why does the AI forget the beginning of a long conversation? Because the whole conversation has to fit inside the model's context window at once. The system prompt, every earlier message, your newest message and the reply all draw on the same token budget. As the chat grows and the total reaches the window's size, the earliest messages are the ones that no longer fit, so the model answers as if they were never written.

Can I check how much room my conversation leaves? Yes. Paste the chat transcript, or the document you plan to add to it, into the Context Window Checker. It counts the text in tokens and shows, for each model, the percentage of the window it fills and how many tokens remain.

What happens when text does not fit in a context window? In the checker, the model's bar turns red and the tool states how many tokens you are over. Trim the text (the Prompt Shortener can help), split it into parts, or choose a model with a larger window.

Are the window sizes in the checker live? No. They are a labeled snapshot from November 2026. Providers raise limits over time, and the snapshot note on the tool says to verify before budgeting or building.

Is my text sent anywhere to check it? No. Counting and comparison happen in your browser, so the text you paste stays on your device.

Conclusion

A long chat forgets its start for a measurable reason: the conversation outgrows the one window everything has to share, and the earliest messages are what stop fitting. The Context Window Checker turns that from a suspicion into two numbers, percentage full and tokens remaining, before you hit the limit mid-conversation. How much of the window you should deliberately leave unused is the companion question, covered in How Much of the Context Window Should You Actually Use?. More guides like this one live in the AI and Prompt Tools guides archive.