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

llama.cpp Q8_0 quantization gets 3.1x speedup on Intel Arc GPUs with SYCL reorder fix
A fix to llama.cpp's SYCL backend brings Q8_0 quantization on Intel Arc GPUs from 21% to 66% of theoretical memory bandwidth, achieving 15.24 tokens/second versus 4.88 tokens/second previously on an Arc Pro B70 with Qwen3.5-27B.

Agentic AI Failure Modes and Developmental Scaffolding
Agentic AI systems fail in production through alignment drift, context loss across handoffs, boundary violations, and coordination collapse. The source proposes a 'developmental scaffolding' approach with five components: coherence monitoring, coordination repair, consent and boundary awareness, relational continuity, and adaptive governance.

Chrome's Gemini Nano AI Model Consumes 4GB of Disk Space
Google Chrome automatically downloads a 4GB weights.bin file for the Gemini Nano on-device AI model, which may bloat storage without clear user notification. Disabling the On-Device AI toggle in settings removes the file and prevents re-download.

GLM-5.1 Released with Coding Performance Matching Claude Opus 4.5
Zhipu AI's GLM-5.1 model is now available to all Coding Plan users, achieving 77.8 points on SWE-bench-Verified and 56.2 points on Terminal Bench 2.0. The model features a 200K context window, 128K max output, and 744B parameters with 40B activated.