Claude Code re-bills a finished sub-agent's whole context on follow-up, wasting quota

Schadz · reddit · 2026-09-16

A Reddit user diagnosed a Claude Code quota anomaly: when you send a follow-up to a finished sub-agent, Claude Code rebuilds its conversation in a way the prompt cache doesn't recognize (messageschanged), re-writing nearly the agent's entire context at expensive cache-write rates. In tests, two resumed agents wrote 243K and 399K tokens back to cache, versus only 2K-4K per message while agents were still running.

Key findings:

The author has filed the issue with Anthropic and urges affected users to check their own usage.

Original post →

More from coding & agent

coding & agent channel →