-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Activity
Found 3 possible duplicate issues:
- [BUG] Literal "HERMES.md" in git commit messages triggers 400 "out of extra usage" on Max OAuth (content filter false-positive misclassified as quota error) #53171
- [BUG] CLI completely blocked by "out of extra usage" error despite Max 20x plan at only 10% usage #45020
- Billing bug: Extra usage pool consumed while session limit still has remaining capacity #29704
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
Thank you for reaching out about a refund. I understand you've encountered a billing issue where requests were incorrectly routed to extra usage instead of your Max 20x plan quota due to the presence of "HERMES.md" in git commit messages.
Let me look up your account information to help process your refund request.
I sincerely apologize for the disruption you experienced with the billing routing issue. We take service reliability very seriously.
However, I need to let you know that we are unable to issue compensation for degraded service or technical errors that result in incorrect billing routing. We are consistently working on improvements to our infrastructure to better handle these types of issues and prevent similar problems from happening in the future.
Thank you for your patience and for taking the time to document this issue so thoroughly. Your detailed reproduction steps will be valuable for our engineering team.
Thanks for the report! This was an overactive anti-abuse system. Fixed.
You are welcome! Can I get my refund now.
Refund the guy, it’s really drop in the ocean, but would look good.
Refunding him would be the easiest PR win in the world. Just sayin
@sasha-id This is ridiculous. You admit it's Anthropics' fault, yet you refuse to refund him?
Makes me rethink my choice of using Claude.
A skeptical observer might believe that the overactive anti-abuse bug was triggered by more than just the reported "HERMES.md" string, and has collectively cost Anthropics customers millions.
The refusal to refund might be based on them not wanting to set an expensive precedent.
Let's hope this theory is proven wrong and that they do right by their customer(s).
55 remaining items
Note that per @bcherny ‘s report of this being an overactive anti-abuse system, they consider some “abuse” something that they are just going to extra usage bill you for. Is it servicing a customer for money, or is it abuse? Abuse should be blocked, not upcharged.
If there exists a mode for an anti-abuse system to bypass your quotas and fulfill your requests (but with an upcharge) then the “anti-abuse” system is functioning in bad faith by design.
The alleged abuse is owning the client. If you try to own the code that runs on your computer you're in breach.
It's hilarious to me because it's literally saying that using an agent to act act in your stead is a special of breach of trust -- in other words, they DO NOT BELIEVE YOU HAVE A RIGHT TO DELEGATE YOUR AGENCY TO... A SOFTWARE AGENT.
For a company that claims to sell personal agents (that act using your agency) it's pretty fuckin' great
Of course in public their message is the opposite, publicly they say that person+agent should get the red carpet roll out from everyone.
Hypocrites.
I'll just note that Chinese open weight models can be hosted on your local hardware (if you have the hardware to run them) and they cost 10-50 times less while being around 2.7% worse than Anthropic models at coding (as if the latter fact actually matters.)
Have a nice day, Anthropic.
Summary
When a git repository's recent commit history contains the case-sensitive string
HERMES.md, Claude Code routes API requests to "extra usage" billing instead of the included Max plan quota. This silently burned through $200 in extra usage credits while my Max 20x plan capacity remained largely untouched (13% weekly usage).Environment
claude-opus-4-6[1m](also reproduces withclaude-opus-4-7)Reproduction
Minimal reproduction — no project files needed:
The trigger is the string
HERMES.mdin git commit messages — not the presence of a file with that name on disk. Claude Code includes recent commits in its system prompt, and something server-side routes the request differently when this string is present.What triggers it vs. what doesn't
"HERMES.md""test HERMES.md test""hermes.md"(lowercase)"HERMES"(no extension)"HERMES.txt""AGENTS.md""README.md"HERMES.mdon disk, clean commit msgImpact
HERMES.mdin recent git commits would silently have their usage billed to extra creditsExpected behavior
API request billing should not depend on the content of git commit messages in the system prompt. All requests from a Max plan subscriber should route to the included plan quota first.
How I found this
Systematic binary search: cloning affected repos, testing orphan branches, then isolating individual commit message strings until
HERMES.mdwas identified as the exact trigger.