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

Analysis of TB2 Benchmarking Issues in db-wal-recovery Task
A Reddit analysis reveals problems with Terminal Bench 2.0's db-wal-recovery task, where agents can accidentally destroy evidence by opening SQLite databases, and shows how prompt injection affects leaderboard results.

Anthropic's Mythos Leak Reveals Latent High-Capability System
Leaked documents describe Claude Mythos as a 'step-change' in performance with 'unprecedented cybersecurity risks' and advanced cyber capabilities, while Anthropic's $380B valuation creates structural incentives to maintain a public 'Safety' narrative.

Claude Code v2.1.73: Model Overrides, Stability Fixes, and Performance Improvements
Claude Code v2.1.73 adds modelOverrides for custom provider IDs, fixes critical freezes and deadlocks, resolves subagent model downgrades, and improves voice mode stability. The release addresses 18 specific issues including bash command permission prompts, session corruption, and Linux sandbox failures.

Memory Now 63% of AI Chip Cost: HBM Spend Hits $32B
Epoch AI data shows HBM memory’s share of AI chip component costs rose from 52% to 63% between Q1 2024 and Q4 2025. Total component spend grew from $22B to $52B, with HBM accounting for $20B of that increase.