Claude Code bug can silently 10-20x API costs
TL;DR Highlight
Claude Code cache bugs reportedly inflate costs 10-20x; the post body wasn't captured
Who Should Read
Developers on Claude Code Max or API plans whose usage drains faster than expected
Core Mechanics
- The original post body wasn't captured
- Only 'Welcome to Reddit Skip to main content' was collected.
- The bug's cause and repro steps can't be verified.
- The title makes one claim
- A Claude Code bug can silently raise API costs 10-20x.
- The URL path mentions two cache bugs.
Community Reactions
- Usage reportedly jumped from 50% to 90% in one day
- A Max 5x user said 2-3 hours of refactoring and bug fixes took usage from 50% to 90%.
- About 45 more minutes the next day hit 100%, all during off-peak hours.
- Heavy 20-session analysis was fine, they said
- The same user ran 20 concurrent headless sessions over two days for only 30% to 50%.
- So the light work eating more usage seemed odd to them.
- Opus 4.6 hallucinated an API and looped, one commenter said
- It kept trying to pass tests until manually stopped, using about $12 in 30 minutes.
- They guessed verbose thinking tokens were the cause, and said Gemini 3.1 Pro did the same.
- A commenter asked how to audit usage
- They asked if there is any way to verify billing besides reverse engineering.
How to Apply
- Log session usage before and after tasks today
- Note the usage percentage at start and end of each task.
- Run similar tasks twice and compare for abnormal differences.
- Cap iterations on agent loops
- Set a maximum attempt count for loops aiming to pass tests.
- Add a stop condition that hands control to a human on repeated failures.
- Set daily cost alerts when using API keys
- Configure usage limits and alerts in the console.
- Stop the session immediately on a spike and investigate.
Try It
# Paste into a Claude Code session (simple check based on commenter experiences, since the post body is missing)
From now on, watch for token waste while working.
1. If the same test fails 3+ times, stop, summarize the cause, and ask me.
2. If unsure an API exists, verify it in official docs or source before writing code.
3. Before spawning a subagent, tell me its goal and expected scope in one line.
Task: {{task description}}Terminology
Related Papers
A Beginner's Guide to Local AI with Inkling, Qwen, and Unsloth
Install Unsloth Desktop, load a quantized Qwen model, and share a private ChatGPT-like AI on your home LAN.
Muru – AI-assisted Rust server for Python apps by mod_WSGI's creator
mod_wsgi's creator is building Muru, an AI-assisted Rust ASGI/WSGI server, documenting it in public
87% of the Anthropic power will come from gas and 11% from coal in 2028
Analysis of Anthropic's contracted data centers: 87% gas, 11% coal power in 2028
Anthropic’s Nasdaq debut
Anthropic listed on Nasdaq and closed its first day below its opening price.
OpenAI still has a WebRTC Problem
WebRTC drops late audio, hurting voice AI; MoQ retransmits and buffers instead
Gemini 4 Neon
Gemini 4 Neon cuts cost per task 32% versus Carbon, at $3 input and $15 output per million tokens
AI is killing All About Berlin
After Google AI Overviews, a Berlin guide site lost 70-75% of its traffic.
Not Everything Needs an LLM
PostHog used small decision models to skip 98.7% of expensive LLM calls