OpenAI API billing
Is the OpenAI API free to use?
No, the OpenAI API isn't generally free: as of November 2026, new accounts use prepaid billing with a $5 minimum initial purchase, and purchased credits expire after 1 year. Costbrake reads OpenAI's Usage and Costs APIs, alerts you on spikes, and on Pro lets an admin freeze a project's hard spend limit at $0.01 with one confirmed click.
What the Free tier actually gives you
OpenAI has a Free usage tier with a $100 / month usage limit for users in an allowed geography. That limit isn't a promise of $100 in free credits.
Have free credits in your account? OpenAI uses those before your purchased credits. OpenAI's billing docs don't promise free credits to every new account.
There are free items on the pricing page:
omni-moderation-latestis free to use.- File search storage includes the first 1 GB free, then costs $0.10 / GB per day.
For a paid model example, gpt-5-nano in Standard mode costs $0.05 per 1M input tokens, $0.40 per 1M output tokens and $0.005 per 1M cached input tokens. See OpenAI API pricing per million tokens for model costs.
Buy credits and check auto-reload before confirming
New API accounts buy credits upfront, and API usage reduces that balance. Accounts already on monthly billing can also buy credits in advance to offset their invoice.
The minimum initial purchase is $5. The purchase form defaults to $10, and "Use auto-reload" is on by default during setup, so check it before confirming the purchase if you don't want automatic credit purchases.
Turn it off for manual purchases. If you leave it on, configure:
- The balance threshold that triggers a reload.
- The balance to restore to.
- An optional monthly reload limit.
Automatic recharges have a $5 minimum. Your trust tier, based on usage and payment history, determines the maximum balance and automatic recharge amount.
But the monthly reload limit only controls automatic purchases. It doesn't cap usage of credits you already hold, and manual purchases don't count toward it. If a recharge would exceed the remaining monthly allowance, OpenAI may add only the remaining amount, provided it meets the $5 minimum.
Purchased credits expire after 1 year. OpenAI won't extend purchased-credit or credit-grant expiry dates. Credits are non-refundable unless law, contract or an approved exception applies; the prepaid billing docs list the billing-error, unauthorized-activity and service-failure exceptions.
Know what happens at zero
When your prepaid balance runs out, API requests return a billing error with the code credit_balance_exhausted.
The stop isn't immediate. Usage processed during the delay can leave a negative balance, which OpenAI deducts from your next credit purchase.
After a successful purchase, allow a few minutes for the balance to update. If an automatic recharge payment fails, OpenAI emails you, and usage stops when the available balance runs out, subject to that processing delay.
A refunded or disputed payment also removes the equivalent credits from your account.
Check your usage tier separately
OpenAI's approved monthly usage limit is separate from your credit balance and any spend limits you set yourself.
| Usage tier | Qualification | Monthly usage limit |
|---|---|---|
| Free | User must be in an allowed geography | $100 / month |
| Build | $5 in total credit purchases | $500 / month |
| Launch | $100 in total credit purchases | $5,000 / month |
| Grow | $500 in total credit purchases | $200,000 / month |
Your organization moves up automatically as total credit purchases reach each threshold. Higher tiers generally have higher model rate limits.
In Settings > Organization > Limits, check "Rate limits" for model limits. To upgrade, select "Upgrade tier" under "Usage Tiers".
Reaching the approved monthly usage limit returns organization_usage_limit_exceeded. Request a higher approved limit for that error, rather than treating it as an empty credit balance. There's more in What is the OpenAI API usage limit?.
Set spend limits, not just alerts
A spend alert sends a notification. Traffic keeps running.
For an organization cap:
- Open Organization limits.
- Under "Spend", select "Edit spend limit" and enter the "Monthly spend limit".
- Turn on "Enforce a hard limit", then select "Save".
For a project, open Project settings, select "Limits" and use the same spend-limit controls.
When tracked spend reaches an enforced hard limit, affected requests return 429 with organization_spend_limit_exceeded or project_spend_limit_exceeded. Enforcement isn't instantaneous, and recorded spend can slightly exceed the cap while the limit state propagates (not an exact cutoff).
Raising or removing a reached limit lets traffic resume after the update propagates; otherwise, it resets with the next monthly cycle.
Watch OpenAI alongside your other bills
Costbrake tracks spending across 35 providers, including OpenAI. Checks run hourly on Free and every 5 minutes on Pro and Team; during an OpenAI spike, Pro and Team check every 2 minutes.
Its optional, reversible brakes can freeze a project's or organization's monthly hard spend limit at $0.01. An admin has to click and confirm. Costbrake never applies a brake on its own, and OpenAI enforcement usually takes minutes.
See agent setup to connect it, or Costbrake pricing for plans.
Questions and answers
Does the OpenAI API have a free tier?
Yes. The Free usage tier requires the user to be in an allowed geography and has a $100 / month usage limit. That isn't a $100 free-credit grant.
How much do OpenAI API credits cost?
The minimum initial credit purchase is $5, and the default purchase amount is $10. Your balance decreases as you use the API, with charges depending on the model or service.
Do OpenAI API credits expire?
Purchased credits expire after 1 year. OpenAI cannot extend the expiry date of purchased credits or credit grants.
What happens when my OpenAI credits run out?
Requests return a billing error with the code credit_balance_exhausted. Access may not stop immediately, and usage during the delay can create a negative balance deducted from your next purchase.
Does the auto-reload limit cap my API spending?
No. It limits automatic credit purchases, not usage of existing credits, and manual purchases don't count toward it. Use an enforced organization or project spend limit to stop affected requests when tracked spend reaches your cap.
Sources
Updated