What is Context rot?
In Turkish: Bağlam çürümesi (context rot) · Topic: Using AI
The gradual drop in a language model's answer quality and consistency as its input grows longer, even when everything still fits inside the context window. It shows up often in long chats and multi-document tasks.
How does it work?
A model cannot pay equal attention to every part of its input. As the text grows, important details can get buried among irrelevant ones, early instructions can lose weight, and conflicting passages can confuse the model. It is a bit like trying to recall the first decision made in a meeting that has run for hours. How strong the effect is depends on the model and the task, and there is no single threshold everyone agrees on. Common countermeasures include summarizing a chat and starting fresh, putting only relevant passages into the context, and repeating critical instructions.
Why does it matter?
Model announcements often highlight a long context window, but a large window does not mean every piece of information is used equally reliably. Understanding context rot helps teams that work with long documents or build agent systems keep realistic expectations, and it guides them toward design choices such as summarization and retrieval.
Example
In a coding chat that has run for hours, if the assistant starts ignoring the constraints given at the beginning, the fix is often to open a new chat and carry over a short summary.
FAQ
Is context rot the same as filling up the context window?
No. When the window is full, part of the text no longer fits, gets cut off, or triggers an error. With context rot the input still fits, but the quality of the model's answers declines.
Can context rot be avoided completely?
Not completely. Keeping the context short and relevant, splitting long jobs into stages, and restating key instructions can still reduce its effect noticeably.