Claude Code Billing Bug Triggered by Specific String
Key point
A bug was found where Claude Code charges API rates instead of the subscription plan when 'HERMES.md' is included in a git commit message.
Details
A bug has been reported in Anthropic's developer tool Claude Code, where having a git commit history containing a specific string results in extra usage charges based on API rates instead of the existing subscription plan.
Details:
- Cause: Occurs when the uppercase string "HERMES.md" is included in a git commit message.
- How it works: When Claude Code includes recent commit history in the system prompt and recognizes this string, it ignores the user's Max plan usage and routes to API-based extra usage instead.
- Impact: Users suddenly receive a request for additional payment, even though their subscription plan still has sufficient remaining capacity.
This issue was reproduced by a user, and Anthropic has confirmed it as a bug. Developers using Claude Code should be careful not to include this string in their commit messages.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.