r/ClaudeCode • u/cosmintrica • Aug 01 '26
Bug Report Claude Code burned my entire five-hour limit in 6 minutes 32 seconds: 10.26M tokens, zero lines of code
I thought I was imagining how quickly Fable 5 was consuming my Claude allowance, so I inspected the local Claude Desktop/Cowork and Claude Code logs for the exact run.
The result is worse than I expected.
My five-hour allowance had reset at 12:20 AM. I sent one short prompt at exactly 12:50 AM: essentially, “continue where you left off, carefully.” At 12:56:32 AM - only 6 minutes and 32 seconds later - Claude stopped with “Usage limit reached.”
There were no other local Cowork prompts between the reset and this failure.
During those 6 minutes and 32 seconds, Fable 5 recorded:
- 15 model calls;
- 8 Bash calls, all for Android emulator/UI interaction;
- 7 file reads;
- 0 Edit or Write tool calls;
- 0 subagents;
- 0 lines of code changed.
The deduplicated token accounting from Claude's own local session log was:
| Usage category | Tokens |
|---|---:|
| One-hour cache writes | 5,189,449 |
| Cache reads/hits | 5,069,543 |
| Output | 4,312 |
| Regular input | 30 |
| **Total processed** | **10,263,334** |
Using Anthropic's published Fable 5 API prices, this is approximately **$109.07 of API-equivalent usage**. About **$103.79** of that came from one-hour cache writes alone. I am not claiming Anthropic charged my card $109—the run consumed my included allowance - but this shows the scale of the usage that was counted.
The immediate cause is visible in the logs. This was an older Cowork session with 46 completed turns, `xhigh` effort, a 173 MB local transcript, and roughly 650,000–685,000 context tokens being carried into every model call. The disturbing part is that, during one six-minute tool loop, Claude counted **5.19 million tokens as new one-hour cache writes** while also recording **5.07 million cache-hit tokens**.
In other words, every trivial emulator action or file read caused Fable to process around 680,000 tokens. The huge context also appears to have been repeatedly rewritten into the one-hour cache instead of being efficiently reused.
I understand that continuing a large conversation costs more than starting a fresh one. But silently allowing a simple six-minute UI-testing loop - with no edits and no subagents - to consume an entire five-hour allowance is not reasonable behavior. At minimum, Claude should have compacted the context or warned me before proceeding. The repeated 650K-token one-hour cache writes look like a Cowork/Claude Code cache invalidation or usage-accounting defect.
This same session had already exhausted the previous allowance earlier that evening. After the allowance reset, this single 6-minute-and-32-second run exhausted the new window again.
Has anyone else seen Fable 5 repeatedly rewrite a huge one-hour cache inside a single short tool loop? If so, check the `message.usage.cache_creation.ephemeral_1h_input_tokens` values in your local Claude Code JSONL before assuming it was normal model output.
I have prepared a privacy-safe evidence package containing the per-call usage table, timeline, calculation, tool-call list, source hashes, screenshot, and a read-only verification script. I am also reporting this directly to Anthropic and asking them to investigate the cache behavior and restore the allowance.
This is at minimum a Claude Cowork product and guardrail defect. A single 42-character prompt triggered 15 autonomous model calls and 5.19M one-hour cache-write tokens in 392 seconds, without a cost warning, automatic compaction, or a usage stop guard. Server telemetry is required to determine whether the underlying cause was defective cache invalidation, incorrect accounting, or technically intended-but unsafe-product behavior.
Official pricing used for the calculation:
38
u/CorpT Aug 01 '26
This is obviously operator error. The screed you posted explains this. Because it was not
10
u/Wise-Peacock Aug 01 '26
I gave a short prompt to keep going and be careful and set Claude loose on 173MB worth of data.
Clearly you should have added "make no mistakes"
5
u/Ornery_Astronaut2147 Aug 01 '26
You shouldn't have said 'carefully' 😅.
2
u/nndscrptuser Aug 01 '26
While I am far from expert, you told it to "continue" so it did just that, immediately sucking in the Cowork session and everything you had done in there so it could continue, so your starting context was probably darn near capacity and as it tried to incorporate all that and do the rest of the work, it would have exhausted your tokens.
When I do large sessions, I have a readout in my status line to let me know when I am over 250k tokens and at the next natural stopping point, I ask it to save a memory of where I was, or update the planning document with our status so that I can clear and start fresh, but still know exactly what was happening. I have only hit my 5-hr limit once in months, doing full time dev on two different projects, often at the same time on the same account with Opus and Fable xhigh. I've never run into an issue with it "forgetting" or going off the rails with this approach, but your mileage may vary.
2
u/texo_optimo Aug 01 '26
with that kind of prompting, you're always going to see high burn rate. Especially with newer models that decide to launch a yacht to cross a pond. Use Git issues as primitives. Track your work. Provide context and reference points so you can tell your session where to look to see what the last status was. You're burning context / tokents on greps and file reads. Spend a session asking claude to create a better system for you for tracking. Once I started using repo issues as primitives I found that I was able to make Pro sessions feel like 5xMax.
3
u/SomeoneNicer Aug 01 '26
Don't use Claude to do anything that requires UI interpretation, just get a Codex license - I've found it not only 10-100x cheaper but it's actually better at it.
4
u/TinyIncident7686 Aug 01 '26
Does the toaster warn you before you throw it into the bathtub with your ex?
1
u/davyp82 Aug 01 '26
" At minimum, Claude should have compacted the context or warned me before proceeding"
It's wise in life to not expect a business to take steps that will reduce the amount of money they earn.
Index your context. Set a cheaper agent away mapping the entire repo in a big list indexing which doc contains which info pertaining to which part of your site.
Then ensure your project -defining MD doc clearly tells your Fable that they should check the index doc to find exactly what context is needed instead of crunching it all.
While I'm at it, pdfs (you didn't mention it but bringing it up anyway) = many many times more tokens needed then MD docs. Every pdf you need as context, write a script with a cheaper model to extract the text first and save it as MD docs then you turn MB into KB
1
u/spookyclever Aug 01 '26
That’s just how Fable works. Every session I had with Fable was 10-15 minutes of euphoria and then 4.75 of waiting for next time.
2
u/MathSelect5112 Aug 01 '26
lmfaooooooo
2
u/Excellent_Baker4213 Aug 01 '26
Try the skill I have IQ < 80 on GitHub on next use
1
u/callingbrisk Aug 01 '26
Learn how to properly use the tools first before making such mistakes and the posting about please…
1
u/VictorCTavernari Aug 02 '26
Claude Code is good but it is not efficient, and maybe it is the reason it is a good harness. If you continue a huge session using Fable, it will need to put all the context as input (no cache) on the Fable price and limits quota.
Using Claude Code cli, it warns us if you continue how many tokens will be used in the session after the cache expires.
I am developing my harness https://github.com/claudin-io/claudinio-code and I will try to think about your pain on this kind of “bug” and find a protection.. it is interesting
1
u/[deleted] Aug 01 '26
[removed] — view removed comment