Claude Code token-saving tips: 5 settings that keep cache hit rate above 98%
AlchainHust · x · 2026-10-13
AlchainHust shares hard-won Claude Code token-saving settings, with a screenshot showing 5.8B tokens used in 7 days and 97% of the weekly quota burned:
- Use Opus5.5 as the main model but don't fill the 1M context: set auto-compaction between 400k–600k; too short hurts quality, too long is slower, pricier, and actually worse.
- Finish tasks in one continuous burst: the main agent's cache lasts 1 hour; coming back hours later means cache misses and much higher input token costs.
- Use Sonnet 5.5 for subagents: Opus adds little for grunt work, Haiku barely saves anything.
- Manually raise subagent cache TTL to 1 hour: the default is only 5 minutes, generating tons of uncached input tokens.
- Launch as few subagents as possible: a solo main-agent conversation sustains 98%+ cache hit rate; any subagent noticeably increases consumption.
More from coding & agent
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29
- Vibe-codevember day 28: 'Hive', a Three.js creative coding demo built with AI — thespite · 2026-11-29
- 'End user programming!': a three-word verdict on what LLM coding really unlocks — round · 2026-11-29
- Founder claims LLMs aren't even the right ML approach for writing programs — jfischoff · 2026-11-29
- Gmail's official MCP only drafts, never sends: devs slam over-cautious agent design — steipete · 2026-11-29
- a16z's Casado: agents are nowhere near production-ready for long-running tasks — lateinteraction · 2026-11-29