Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

Reddit user reports $167 in Anthropic API use despite $30 limit

AI summary

A Reddit user reported that an Anthropic API key generated $167 in usage despite a $30 spending limit, with most charges reportedly involving Opus 5.5 and Fable requests. The user said one affected key had never been committed to code, while others were hardcoded in a private GitHub repository. They rotated the keys and began reviewing usage logs, but the source of the exposure and the reason for the limit overrun remain unknown.

In-depth insight

The account highlights security and billing-control questions around exposed API keys, although it does not establish how the keys leaked or why the stated limit was exceeded.

I run a small SaaS, a WordPress plugin with an AI backend. This week I found that someone else had used my Anthropic API key. They ran $167 of usage, mostly Opus 5.5 and Fable requests, even though I had a $30 spend limit set.

What I know

  • one of the affected keys was an older key that was never committed to my code. Other keys were hardcoded in a private GitHub repo.
  • I only use Claude chat and Claude Desktop, with no other AI tools.
  • The usage was on the most expensive models, which looks like someone choosing the priciest option rather than normal traffic from my app.
  • The cause is still unknown.

Processing img g8t8py564u0i1...

  • Both of the keys were used in specific proportion, the one key in code could make sense, but the other one which never was in code was also used which doesnt' make sense.

What I’ve done

  • Rotated every key in the project.
  • Moved all secrets out of git into an untracked config file.
  • I’m checking the usage logs for the first unauthorized call, and my GitHub security log.

Questions

  • Where could a key that was never in my repo have leaked from? I’m checking old .env and notes files, pasted text in chats, shell history, browser extensions, old laptops, backups and clipboard tools. What am I missing?
  • Why did a $30 limit allow $167? Has anyone seen limits overshoot because of delayed usage reporting, per-workspace versus org limits, or limits that only apply to part of the usage? there is no way to opening a support ticket with Anthropic just a fin agent.
  • Is there a way to see which IP or client made each request, so I can tell it apart from my own traffic?

submitted by /u/alisaleem252 [link] [comments]

#Anthropic#Claude#Claude Desktop#GitHub#Opus 5.5

Original · 1 min readRead the original
Group chat

No comments yet. Start the conversation.