Guide

API key stolen and abused? 3 public cases, what to check first

The short answer: only 3 cases in our research library are verified key theft — a key used by someone else, not just a charge you do not recognise. One Anthropic key was abused twice in 12 days, pushing spend 29% past the limit, and the refund was refused (#96048). One leaked key lost $300 to strangers while vibe coding (Hacker News). One OpenAI key was drained by unauthorised use (OpenAI community). The wider key-theft pattern is mentioned 23 times in the 656 cases, but only these 3 are verified theft — the other 20 are mostly unauthorised upgrades. Across the 18 pattern cases with an amount, the median mentioned is $297.50.

For anyone whose API bill jumped and whose usage log shows sessions they never ran. Revoke the key before you do anything else.

Check it in 3 minutes

  1. 1

    Revoke the key first, before anything else. A stolen key keeps billing until it is dead. Do this in the Console now, then work out what it cost.

  2. 2

    Read the usage log for sessions that are not yours. Different hours, different prompts, volumes you never reach. The Anthropic case shows abuse twice inside 12 days (#96048).

  3. 3

    Match the log against the invoice. The gap between your own sessions and the billed total is the amount the theft cost.

How the theft happened

ShapeWhat the cases showWhat to keep
Key leaked in code or a screenshot$300 gone after a key leaked while vibe coding (Hacker News discussion 45241001).Where the key was exposed, the key creation date, and the usage log.
Key abused over daysAbused twice in 12 days, limit passed by 29% (#96048).The foreign sessions, and the invoice lines for those dates.
Balance drainedOpenAI key used without authorisation, balance drained (OpenAI community thread 645254).The usage export, and the balance history.

Reconcile it step by step

  1. 1

    Revoke the compromised key and note the exact time you did it.

  2. 2

    Export the usage log for the whole period the key was live.

  3. 3

    Mark every session: yours or not yours. Write down the foreign ones in one line each — date, time, volume.

  4. 4

    Add up the foreign sessions and compare with the invoice total. The gap is the theft.

  5. 5

    Take the pack to support: the log with foreign sessions marked, the invoice, and the public reports that match your pattern. Use the free appeal template, and ask for a human review.

What to keep for a dispute

Run the free check-up in /app first — it reads your logs in your browser and sends nothing anywhere. Then use the free appeal template to send the dispute yourself. If you want someone to set up a hard spend cap for you, that is a paid job on Upwork.

FAQ · API key stolen and abused? 3 public cases, what to check first

How do I know my key was stolen?

Your own sessions cannot explain the bill. Look for usage at hours you were asleep, prompts you never wrote, or volumes far above your own. One case lost $300 after a key leaked in shared code; another shows abuse twice in 12 days.

What do I do first?

Revoke the key in the Console, then set a new one. Do not dispute the bill before the key is dead — a live stolen key keeps adding charges while you argue about the old ones.

Will the vendor refund stolen-key charges?

On the public record, do not count on it. The Anthropic case got a template refusal even with the theft documented (#96048). Across all 656 cases, only 2 report a full refund. Appeal with the usage log attached and ask for a human review.

How do I stop it happening again?

Keep keys out of shared code and screenshots, give each project its own key so one leak does not sink everything, and check the usage log against the bill every week. A key you never look at is a key you will not notice missing.

Sources

Case counts on this page come from our research library of 656 verified public AI billing dispute cases (170 curated cases plus 486 collected on 2026-11-24). Counts are keyword counts over the case texts; one case can match more than one pattern.

Fireborn finds and stops surprise charges for free, and the appeal templates are free too. The paid service is a hard spend cap set up for you, sold on Upwork. It does not promise refunds or log in on your behalf. Figures on this page follow the sources cited. Last verified: 2026-12-01. By Fireborn (6hn68).

Still seeing a gap? Generate a day-by-day reconciliation in /app Get a hard cap set up for you on Upwork