FULL STORY

Claude Code Subagent Cache: From Complaints to Real-World Tests

Developers complained that Claude Code's subagent prompt cache lasted only 5 minutes, driving up costs. Anthropic then extended it to 1 hour, and users tested whether the change actually saves money.

2026-10-10 ~ 2026-10-11 · 2 episodes · 6 posts

Episode 1 · Claude Code Subagent Cache Lasts Just 5 Minutes, Costing Users (2026-10-10, 4 posts)

Developer Daniel warns that Claude Code subagent prompt caches expire after just 5 minutes by default, silently inflating costs; a one-line config can extend the TTL to an hour. Anthropic's Boris Cherny explained the default reflects typical Agent SDK workloads.

Episode 2 · Developer Tests Whether Extending Claude Code Subagent Cache to 1 Hour Saves Money (2026-10-11, 2 posts)

A developer released an open-source script to evaluate whether extending Claude Code's subagent prompt cache TTL from 5 minutes to 1 hour actually saves money, and after real-world testing reverted to the 5-minute default.