OpenRouter finds context rot in 1M-token AI agents
OpenRouter tested five models across varying session lengths to investigate context rot, finding that models struggle with counting tasks and tracking settings as prompts grow despite broad context windows. Truncating old messages severely damaged accuracy, whereas a chunked compaction technique successfully preserved single facts and reduced both prompt token count and request costs. Open article →