Skip to content

What does OpenAI 'You exceeded your current quota' mean?

Short answer

It's a billing error, not a rate limit. Your organization or project is out of prepaid credits or hit a spend or usage limit (error type insufficient_quota, 429), so retrying won't help. Add credits or raise the limit. If usage spiked unexpectedly, check for a leaked key first.

Last updated 2026-11-25 · Reviewed by ProofForge

The exact error

text
{"error":{"message":"You exceeded your current quota, please check your plan and billing details.","type":"insufficient_quota","param":null,"code":"insufficient_quota"}}

Why it happens

  • Prepaid credit balance is zero (newer responses use code credit_balance_exhausted).
  • An organization or project spend limit was reached (organization_spend_limit_exceeded, project_spend_limit_exceeded).
  • Someone else is using your key: a key in frontend code or a public repo gets found and drained.

How to fix it

  1. Open the Usage page and look at which key or project consumed the spend.
  2. If usage doesn't match your traffic, rotate the key now and see /leaked-keys/openai.
  3. Add credits or adjust limits, and keep a hard project spend limit so a leak can't run up an unlimited bill.
  4. Read error.code, not just the status, so your app shows a billing message instead of retrying.
ts
try { await openai.responses.create({...}) }
catch (err) {
  if (err.status === 429 && err.code !== 'rate_limit_exceeded') {
    // billing / quota: alert yourself, do not retry in a loop
  }
}

Check it's fixed

After adding credits or raising the limit, one request succeeds. Usage per key matches your own traffic.

Check your live app

A free, read-only public-surface scan. It cannot diagnose private sessions or every cause described above.

Read-only. No writes or row contents.

FAQ

Is this the same as 'Rate limit reached'?

No. Rate limits clear after waiting. Quota and spend errors persist until credits or limits change.

I have a paid ChatGPT plan. Why no API credits?

ChatGPT subscriptions and API billing are separate.

How do I know if my key leaked?

Unexplained usage, requests at odd hours, or models you don't use. Run a ProofForge scan to check whether your live app's JavaScript exposes the key.

Sources

Related

Read as Markdown · Scan methodology