You have felt this, whether you use ChatGPT, Claude, Gemini, or any other assistant. A new chat is sharp. But after a long back and forth, the AI starts forgetting what you told it at the top, contradicting itself, or ignoring an instruction you gave earlier. It did not get a worse model. Its memory got cluttered. There is a name for this, context rot, the slow drop in an AI’s answer quality as a chat grows long and crowded. Here is what is really happening, and what to do about it today.

Why it happens

An AI has no memory between messages. Before every single reply, it rereads the entire chat from the top: your messages, its answers, everything you pasted. Think of it working at a desk, where every message drops another page onto the pile.

Two things that almost nobody tells you:

  • It reads the start and the end best, and loses the middle. Just like a person skimming a huge stack, it pays most attention to the first and last pages. The important thing you said in the middle gets missed.
  • A bigger memory does not fix it. You may have heard these tools now hold a whole book’s worth of text. True, but quality starts slipping long before it is “full.” A bigger desk piled with clutter is still clutter.

What to do (today, no technical setup)

  1. Start a fresh chat for a new task. Do not drag a long, unrelated thread into something new. Clean desk, sharp answers.
  2. Reset when it gets long. Ask: “summarize what we have decided so far.” Copy that, open a new chat, paste it, and keep going. Same progress, clean desk.
  3. Put what matters first and last. Your key instruction goes at the start, and repeat it at the end of your message, because the middle is exactly where it gets lost.
  4. One chat, one job. Long mixed conversations go bad the fastest.
  5. Do not paste everything “just in case.” Give it only what this question needs. Too much background buries the part that matters.
  6. Use the built-in memory for facts you reuse. Most assistants can now remember things about you across chats. Handy for your preferences, but it is not a substitute for keeping a single chat clean.

The mindset

The model is not getting dumber, your chat is getting cluttered. Treat the AI’s memory like a desk you keep tidy, not a drawer you keep stuffing. Keep it clean and it stays sharp, even on a long task.