Developer asks how $167 was charged to Anthropic API keys despite a $30 limit
A user on r/ClaudeAI reports about $167 of unauthorized usage on their Anthropic API keys, mostly on the priciest models, despite a $30 limit. One affected key was never in their code. They rotated all keys and the source of the leak is still unknown.
Why it matters
A good reminder to rotate keys, check usage logs, and not rely on a single spend limit.
What happened
1 min readA user on r/ClaudeAI reports about $167 of unauthorized usage on their Anthropic API keys, mostly on the priciest models, despite a $30 limit. One affected key was never in their code. They rotated all keys and the source of the leak is still unknown.
Our analysis
This is a single, unresolved report; neither the leak source nor the limit overshoot is established, so it cannot be treated as a vulnerability in Anthropic's service. Practical lessons: search old .env files, shell history and backups, use a separate key per project, and set spend alerts. The author's own theories, such as delayed usage reporting, are unconfirmed.