Claude Code subagent cache only lasts 5 minutes — set subagentPromptCacheTtl to avoid overpaying
daniel_mac8 · x · 2026-10-10
Daniel (danielmac8) flags a costly default in Claude Code: subagent prompt cache lives only 5 minutes, so any subagent idle past that loses cache pricing and re-pays full token rates. The fix is setting "subagentPromptCacheTtl": 1h in your config (he corrected his earlier syntax). For heavy multi-agent orchestration workflows, this one setting can save real money.
Related event: Claude Code Subagent Cache Lasts Just 5 Minutes, Costing Users(4 posts)→
More from coding & agent
- NVIDIA expands OpenShell for agent permissions; Anthropic, CrowdStrike, Palantir already using it — NVIDIAAI · 2026-12-02
- Anchor Browser lands in Hermes Agent: cloud browser handles logins without pasting passwords — ghumare64 · 2026-12-02
- Developer uses Neon to fix the weirdest bugs Opus left in centrifuge controllers — jonathanberte · 2026-12-02
- NVIDIA launches Nemotron 4, built for long-running coding agents that work for days — nvidia · 2026-12-02
- Solo filmmaker makes 3.5-min AI short film: 21 shots with Midjourney, Seedance 2.5 and ElevenLabs — DavidmComfort · 2026-12-02
- Claude Code + ARIA via MCP: debugging agent evals from 4/12 to 9/12 — CoreWeaveDevs · 2026-12-02