Claude Code Cache Bugs Can Increase API Costs 10-20x

A Reddit post in the ClaudeCode community reports two cache-related bugs in Claude Code that can significantly increase API costs. According to the source, these bugs can cause API costs to silently increase by 10-20 times their expected amount.
Source Details
The information comes from a Reddit post titled "PSA: Claude Code has two cache bugs that can silently 10-20x API costs" posted in the r/ClaudeCode community. The post generated discussion on Hacker News with 27 points and 3 comments at the time of reporting.
Cache bugs in AI coding assistants like Claude Code can be particularly problematic because they affect how the system reuses previously generated content. When cache mechanisms fail, the system may regenerate content unnecessarily, leading to repeated API calls and increased costs without visible changes in functionality.
Technical Context
AI coding assistants typically implement caching to reduce redundant API calls and control costs. Claude Code, like similar tools, likely uses caching to store and reuse code generation results when similar prompts are provided. Cache bugs in such systems can defeat these optimization mechanisms, causing the tool to make full API calls for operations that should be served from cache.
For developers using Claude Code, monitoring API usage and costs is recommended, especially when working with repetitive or similar coding tasks where caching should provide the most benefit.
📖 Read the full source: HN AI Agents
👀 See Also

Claude 4.6 Adaptive Thinking: Reddit User Reports Token Waste and Provides Disable Commands
A Reddit user reports that Claude 4.6's new adaptive thinking feature can waste tokens and add latency in Claude Code, providing shell commands to disable it or cap thinking tokens.

Adaptive Inference Routing Proposal for AI Query Efficiency
A proposal submitted to Anthropic in April 2026 outlines a five-step system for routing queries to appropriate AI models based on complexity scoring, using simple signals like character count and sentence count before any model inference occurs.

Claude Code Subagents Don't Load Skills in Multi-Agent Systems
A developer reports that subagents in Claude Code v2.1.91 cannot access skills defined in .claude/skills/ directory, despite skills working perfectly in the main session. Multiple approaches including skills in agent frontmatter, Skill tool, CLI flags, and Agent Teams all fail.

Claude doubles usage limits outside peak hours for two weeks
Anthropic is temporarily doubling Claude usage limits outside peak hours for all plans. Weekdays outside 5–11am PT/12–6pm GMT get 2x usage, with weekends getting 2x usage all day.