4 ms·
This turned out to be a bug. https://x.com/om_patel5/status/2038754906715066444?s=20 https://x.com/om_patel5/status/2038754906715066444?s=20 One reddit user r
by dinakernel 6mo ago
This turned out to be a bug.
https://x.com/om_patel5/status/2038754906715066444?s=20 https://x.com/om_patel5/status/2038754906715066444?s=20
One reddit user reverse engineered the binary and found that it was a cache invalidation issue.
They are doing some hidden string replacement if the claude code conversation talks about billing or tokens. Looks like that invalidates the cache at that point.
If that string appears anywhere in the conversation history, I think the starting text is replaced, your entire cache rebuilds from scratch.
So, nothing devious, just a bug.
- kif 6mo agoAnecdotally when Claude was error 500'ing a few days ago, its retries would never succeed, but cancelling and retrying manually worked most of the time.
- replwoacause 6mo agoNothing devious, but is Anthropic crediting users? In a sense, this is _like_ stealing from your customer, if they paid for something they never got.
- arvid-lind 6mo agoNot seeing any quota returned on my Pro account. My weekly usage went up to 20% in about one hour yesterday before I panicked and stopped the task. It was outside of the prime hours too which are supposed to run up your quota at a slower rate.
- esperent 6mo agoOutside of prime hours is the normal rate. Prime is at a fast rate, as of about two weeks ago.
- TazeTSchnitzel 6mo agoThat bug would only affect a conversation where that magic string is mentioned, which shouldn't be common.
- dinakernel 6mo agoI guess so - but for people working on billing section of a project or even if they include things like - add billing capability etc in Claude MD - it might be an issue, I think
- pier25 6mo agohttps://xcancel.com/om_patel5/status/2038754906715066444 https://xcancel.com/om_patel5/status/2038754906715066444
- mook 6mo agoThat is a summary and a picture of https://old.reddit.com/r/ClaudeAI/comments/1s7mkn3/psa_claude_code_has_two_cache_bugs_that_can/ https://old.reddit.com/r/ClaudeAI/comments/1s7mkn3/psa_claud... it looks like?
- novaleaf 6mo agoyour linked bug is a cherry pick of the worst case scenario for the first request after a resume. While it should be fixed, this isn't the same usage issue everyone is complaining about.
- ibejoeb 6mo ago> BUG 2: every time you use --resume, your entire conversation cache rebuilds from scratch. one resume on a large conversation costs $0.15 that should cost near zero. I use it with an api key, so I can use /cost. When I did a resume, it showed the cost from what I thought was first go. I don't think it's clear what the difference is between api key and subscription, but am I believe that simply resuming cost me $5? The UI really make it look like that was the original $5.
- orf 6mo agoYou have to actually send something
- davesque 6mo agoI'm not sure this is the issue. I asked Claude Code a simple question yesterday. No sub agents. No web fetches. Relatively small context. Outside of peak hours. Burned 8% of my Max 5x 5hr usage limit. I've never seen anything like this before, even when the cache is cold.
- RyujiYasukochi 6mo ago[flagged]
- ifwinterco 6mo agoYep I was going to say - this is just bad design. This kind of approach is inherently fragile, you are unavoidably destroying information in some sense by mixing things together
- TranquilMarmot 6mo agoWhoa. Is Claude coming in here and generating responses about itself. https://stopsloppypasta.ai/en/ https://stopsloppypasta.ai/en/