# HERMES.md：人为失误导致额外收取200美元，拒绝退款

- 来源：Hacker News 热门（buzzing.cc 中文翻译）
- 作者：homebrewer
- 发布时间：2026-04-30 03:28
- AIHOT 分数：45
- AIHOT 链接：https://aihot.virxact.com/items/cmokgov9m00cksljeer25iei6
- 原文链接：https://github.com/anthropics/claude-code/issues/53262

## AI 摘要

Anthropic公司的Claude服务出现计费错误，导致用户被额外收取200美元费用。该公司承认这是一个技术故障，但拒绝向受影响用户退款。相关讨论在GitHub和Hacker News社区引发关注，该话题在Hacker News上获得了165个投票点数。事件凸显了AI服务提供商在计费系统可靠性和客户服务政策方面存在的问题。

## 正文

Notifications You must be signed in to change notification settings

Fork 21.4k

Star 132k

HERMES.md in git commit messages causes requests to route to extra usage billing instead of plan quota #53262

Description

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).

HERMES.md

Environment

Claude Code v2.1.119

macOS (Apple Silicon)

Max 20x plan ($200/month)

Model: claude-opus-4-6[1m] (also reproduces with claude-opus-4-7)

claude-opus-4-6[1m]

claude-opus-4-7

Reproduction

Minimal reproduction — no project files needed:

# This FAILS with "out of extra usage" (routes to extra usage billing) mkdir /tmp/test-fail && cd /tmp/test-fail git init && echo test > test.txt && git add . && git commit -m "add HERMES.md" claude -p "say hello" --model "claude-opus-4-6[1m]" # => API Error: 400 "You're out of extra usage..." # This WORKS (routes to plan quota) mkdir /tmp/test-pass && cd /tmp/test-pass git init && echo test > test.txt && git add . && git commit -m "add hermes.md" claude -p "say hello" --model "claude-opus-4-6[1m]" # => "Hello!" # Cleanup rm -rf /tmp/test-fail /tmp/test-pass

The trigger is the string HERMES.md in 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.

HERMES.md

What triggers it vs. what doesn't

Commit message Result "HERMES.md" Fails — routes to extra usage "test HERMES.md test" Fails "hermes.md" (lowercase) Works "HERMES" (no extension) Works "HERMES.txt" Works "AGENTS.md" Works "README.md" Works File named HERMES.md on disk, clean commit msg Works Same repo, orphan branch (no history) Works

"HERMES.md"

"test HERMES.md test"

"hermes.md"

"HERMES"

"HERMES.txt"

"AGENTS.md"

"README.md"

HERMES.md

Impact

$200.98 in extra usage credits consumed for requests that should have been covered by the included Max 20x plan quota

Multiple projects became completely unusable once extra usage was depleted, while the plan dashboard showed 86%+ remaining weekly capacity

The error message ("out of extra usage") gives no indication that content-based routing is the cause, making this extremely difficult to diagnose

Any user with HERMES.md in recent git commits would silently have their usage billed to extra credits

HERMES.md

Expected 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.md was identified as the exact trigger.

HERMES.md

Hi everyone, sorry I missed responding here but we're reaching out to affected users and giving them a refund + another month of credits (in this case another $200). You should get an email soon if you were affected.

Metadata

Metadata

Assignees

Labels

Type

Fields

Projects

Milestone

Relationships

Development

Issue actions
