Launch offer: everything is 100% off. Download any skill free, no sign-up. Get the skills
TechFixError fixesBill spiked
Bill spiked

Unexpected OpenAI API charges

What you'll see once a hard limit is on
429  project_spend_limit_exceeded
429  organization_spend_limit_exceeded
Short answer

Turn on a hard spend limit now so it can't get worse, then use the Usage page to find which key and project spiked. It is usually a leaked key, a public endpoint with no limits, or a loop.

Why it happens

OpenAI bills per token. Three things usually cause a sudden jump:

Spend alerts only send an email; OpenAI says traffic continues. Only a hard limit makes requests fail with a 429 once the limit is reached.

Fix it by hand

  1. Stop the bleeding. Open Project settings, then Limits. In Spend, choose Edit spend limit, enter a monthly amount, and turn on Enforce a hard limit. Do the same under Organization limits. OpenAI notes enforcement isn't instant, so spend can slightly exceed the amount.
  2. Find the spike. Open the Usage page and filter by project and API key. Note which key, model and day the jump came from.
  3. If the key or traffic isn't yours, treat it as a leak. Rotate the key now: see OpenAI API key leaked.
  4. If it's your code, find every place that calls OpenAI. For each one exposed to the internet, require a logged-in user, add a per-user rate limit, and set an output cap on every request (max_output_tokens in the Responses API).
  5. Look for loops. Retries need a maximum count and backoff. Frontend code must not call the API on every render. Background jobs need a stop condition.
  6. Contact OpenAI support through help.openai.com if the usage came from someone else.

Stop it happening again

Let TechFix do this for you

Bill Spiked $7

Bill Spiked finds the uncapped calls, open endpoints and loops in your code, ranked by how much damage each could do, adds the limits as diffs you approve, and gives OpenAI's spend-cap checklist. Paste a usage export and it maps the spike to the code that caused it.

  • Finds the uncapped calls, loops and open endpoints that run up a bill, ranked by how much damage each can do.
  • Adds the limits as diffs you approve, and gives a spending-cap checklist for each paid provider in your code.
  • Verdict first. Every finding shows the file and line, what it breaks, and the fix as a diff that is applied only with your OK.

Bill Spiked: how it works, with examples · Install guide

Works with Claude Code, Claude.ai, Cursor, Codex and other agents that read SKILL.md files. No installs, no accounts, works offline. No-questions refund.

Sources (checked 2026-10-13)