Skip to main content
How to cancel · AI / developer API

How to cancel OpenAI API.

The OpenAI API has no cancel button. It's usage-based, so you stop charges by removing the things that incur usage rather than by ending a plan: set the spend limit to its floor, delete every API key, and remove the payment method. The trap that bites people most is legacy user keys — they delete their organization's keys, see the dashboard go empty, and keep getting billed because an old personal key at platform.openai.com/settings/profile/api-keys is still live.

Self-serve with traps to watchLast verified June 2, 2026OpenAI API help doc
Before you start

What you need ready.

  • Organization owner or admin access (only owners/admins can change limits, keys, and billing).
  • Know whether you're on prepaid credits or post-paid (auto-recharge) billing — the wind-down differs slightly.
  • A list of the integrations, scripts, and teammates that currently use your keys, so nothing is left running.
The flow

Step-by-step.

Verbatim from the OpenAI API help center on June 2, 2026. We re-verify quarterly.

  1. Step 01

    Drop your spend limit to the floor

    Go to platform.openai.com → Settings → Organization → Limits and set the monthly budget / usage limit as low as it allows. The org-level cap defaults very high (often around $100,000), so lowering it explicitly is what actually caps exposure.

  2. Step 02

    Delete every API key — including the legacy ones

    Delete all keys at Settings → Organization → API keys. Then check the legacy/user keys at platform.openai.com/settings/profile/api-keys and delete those too. The legacy keys are the ones people miss and the reason charges continue after a 'cleanup'.

  3. Step 03

    Account for other members and integrations

    Confirm no other org member holds an active key and no connected third-party app is still calling the API under your billing. A single forgotten integration keeps the meter running.

  4. Step 04

    Remove the payment method

    Go to Settings → Organization → Billing → Payment methods and delete the card. If a past-due invoice or active paid usage blocks removal, clear the invoice first, then remove the card.

Gotchas

What trips people up.

  • Critical

    Legacy / user keys keep billing after org keys are gone

    Deleting your organization's keys but leaving personal/legacy keys at platform.openai.com/settings/profile/api-keys is the single most common reason API charges continue. Delete those too.

  • Critical

    In-flight usage still settles at the end of the cycle

    API charges reflect usage already consumed and settle at the end of the billing cycle. After you stop everything, expect one final invoice covering the usage up to that point.

  • Caution

    You can't remove the card while there's active usage or a past-due invoice

    An outstanding invoice or active paid service can block payment-method removal until it's resolved. Pay or fix the invoice first, then delete the card.

  • Caution

    The default usage limit is enormous

    The organization's monthly usage limit can default to roughly $100,000. If you only lower the project budget and not the org limit, you can still be exposed to large charges.

  • Caution

    Another member or app can spend under your billing

    Keys held by other organization members, or third-party apps you authorized, draw on the same billing account. Removing only your own key doesn't stop theirs.

Data after cancellation

What happens to your account.

Removing keys and the payment method does not delete your billing history or past invoices — OpenAI retains those for accounting. Your account and organization stay open (and reusable) unless you delete them separately. Stopping the API does not touch any ChatGPT subscription on the same account.

Refund policy

What you get back.

API charges reflect actual metered usage and are generally not refundable; prepaid credits are likewise generally non-refundable. If you see charges you can't account for — for example, billing continuing after you deleted keys — contact OpenAI through the Help Center with the invoice details to investigate.

Alternatives

Lower-friction options.

If you don’t need to fully cancel, one of these often accomplishes what you actually want.

  • Set a low monthly budget instead of fully stopping

    If you still want occasional API access, lower the org usage limit to a small monthly figure rather than deleting every key — you keep the integration alive but capped.

  • Scope keys per project with per-project budgets

    Rather than killing all access, create per-project keys with their own budgets so a single runaway integration can't run up the whole account.

After you cancel

Track the cancellation. Spot the charge that didn’t stop.

Cancelling is one click. Verifying that the charge actually stops on your next statement is the part most people skip. Spendrein watches your bank statement after a cancellation and flags any recurring charge from the same vendor that keeps coming through, so you find out from us before you find out from a surprise renewal invoice.

Spendrein does not impersonate you with vendor support agents or click through their cancellation flows. It tracks what you did, watches for the result on your statement, and gives you a public reference you can share with the vendor if they push back.

Track a cancellation freeFree · No bank linking · Statements deleted after analysis
Questions

Cancelling OpenAI API, plainly explained.

  • How do I cancel or stop OpenAI API charges?

    There's no cancel button — the API is usage-based. Stop charges by setting your org usage limit to its floor (Settings → Organization → Limits), deleting every API key including legacy user keys at platform.openai.com/settings/profile/api-keys, and removing the payment method.

  • I deleted my API keys but I'm still being charged — why?

    Three usual causes: a legacy/user key still exists at platform.openai.com/settings/profile/api-keys, another organization member's key is still active, or usage already incurred is settling at the end of the billing cycle. Delete the legacy keys, audit member keys, and expect one final invoice.

  • Is the OpenAI API the same as ChatGPT Plus?

    No. The OpenAI API (platform.openai.com) and ChatGPT (chatgpt.com) are separate products with separate billing. Stopping API usage does nothing to a ChatGPT subscription — cancel that separately via the ChatGPT cancellation guide at /cancel/chatgpt.

  • Can I set a hard spending cap on the OpenAI API?

    You can set a monthly budget / usage limit per organization and per project in Settings → Limits. Lower the organization limit specifically — its default is very high — so a project-only cap doesn't leave the org exposed.

  • Will removing my card erase past API charges?

    No. Removing the payment method only stops future billing attempts. OpenAI keeps your billing history and any unpaid invoices remain due.

  • Why can't I remove my payment method?

    An active paid service or a past-due invoice can block removal. Resolve the outstanding invoice (or cancel the active service) first, then delete the card from Settings → Organization → Billing → Payment methods.

Other cancellation guides

Cancelling another vendor next?