OpenAI's Two Billing Systems Are Tripping Up Codex Users — Here's How to Untangle Them
Many people get stuck at one step when using Codex: how exactly do you buy Codex? Is Plus enough? Are Credits in Codex the same as API top-ups?
This article explains purchasing and top-ups clearly. Let's not go around in circles; we'll tackle it directly from where beginners get confused most easily.
These two articles were strongly requested by members of the AI Coding group. If you're using Codex, you can check them out over the next couple of days.
I also have some AI Coding (SDD Agent AI tools, etc.) and Node tech exchange groups. If you're interested, add me on WeChat ikoala520 to join the group, learn together, and improve together.
Preview for tomorrow's article: A beginner's tutorial for Codex, mainly covering installation, configuration, plugins, MCP, Skills, and similar topics. It's a bit long.
A note upfront: this article was written on June 14, 2026. OpenAI's plans, quotas, and entry points change quickly. For specific prices, purchasable quotas, and button locations, refer to the actual pages in your account and the official pages. The main goal of this article is to help you sort out "where to buy, where to top up, and how to distinguish the two billing systems."
Conclusion First
There are two main paths to using Codex:
| Usage Method | What You Buy | Suitable For |
|---|---|---|
| Log into Codex with a ChatGPT account | ChatGPT plan + Codex available quota / Credits | Most individual users, beginners, daily coding |
| API key / OpenAI API | OpenAI API prepaid balance | People who need scripting, automation, and control over API calls themselves |
Do not mix these two up.
Buying Plus / Pro in ChatGPT mainly solves the usage quota within ChatGPT and Codex products. Topping up on platform.openai.com solves the API call balance.
In one sentence:
A ChatGPT subscription is not an API balance, and an API balance does not automatically become ChatGPT Plus.
Why Codex Users Should Prioritize the ChatGPT Subscription
If you just want to get Codex running, prioritize the ChatGPT subscription instead of immediately researching API top-ups.
The reason is practical:
| Your Concern | Where the ChatGPT Subscription is More Suitable |
|---|---|
| Want to use Codex even without knowing how to code | The Codex App / ChatGPT account path is more intuitive |
| Also need to write articles, generate images, ask questions normally | The ChatGPT plan serves more than just Codex |
| Don't want to manage API keys, models, billing yourself | Just log in with your account, low mental overhead |
| Mainly for daily work efficiency | Plus / Pro is usually more suitable for getting started than API top-ups |
So beginners shouldn't rush to ask "how much to top up for API." First, determine if you need the entire suite of ChatGPT capabilities: writing code, reading projects, generating images, organizing documents, asking various daily questions.
If the answer is yes, then start with a ChatGPT subscription.
Type 1: How Individual Users Buy Codex
If you're a beginner, I suggest taking the ChatGPT account route first.
The general process is:
- Open ChatGPT.
- Log in with the account you plan to use long-term.
- Go to the account avatar / settings / plan page.
- Choose to upgrade to Plus or Pro.
- Complete the payment as prompted on the page.
- Go back to the Codex App or Codex CLI and log in with the same ChatGPT account.
If you've already installed Codex CLI, you can run:
codex login
It will guide you to log in with your ChatGPT account. Once logged in, Codex will operate based on your account plan and quota.
A small reminder here: don't use shared accounts of unknown origin just for convenience. Codex can access your project code, terminal environment, GitHub, Gmail, browser, and other tools. Account ownership should be crystal clear.
[Most Important Part of This Article] If Web Payment Fails, Try Subscribing via Mobile
Many people don't fail to buy because they don't know how, but because they get stuck on payment.
If web page payments keep failing, consider subscribing via mobile. The advantage is that the payment link goes through Apple or Google, which is smoother for some users.
How to do it on iOS
The common approach is:
- Prepare an Apple ID that can download ChatGPT.
- Download ChatGPT from the App Store.
- Top up your Apple account balance, or prepare a usable payment method.
- Open the ChatGPT App and log in with the ChatGPT account you intend to use long-term.
- Subscribe to Plus or Pro within the App.
The most critical point here is step 4: The ChatGPT account logged into the App must be the same as the one you'll use to log into Codex later.
Otherwise, you might encounter a very annoying situation: the payment went through, but Codex is logged into a different account, making it look like it didn't take effect.
How to do it on Android
The common approach for Android is:
- Prepare a Google account that can download ChatGPT.
- Install ChatGPT via Google Play.
- Log into the App with your target ChatGPT account.
- Complete the subscription through Google Play.
Some users report that Google Play is more credit-card friendly, but this depends on region, account, and bank card risk control, and isn't guaranteed for everyone.
My suggestion: prioritize using Apple / Google / ChatGPT accounts that you can maintain long-term yourself. Don't buy accounts or top-ups from unclear sources just to save a few dozen bucks.
How to Choose Between Plus and Pro
Beginners don't need to agonize over this right away.
| Situation | Suggestion |
|---|---|
| Just want to try Codex, occasionally modify code | Use the free quota or Plus first |
| Use Codex daily for writing code, fixing bugs, reading projects | Starting with Plus is more suitable |
| High-frequency use, often running long tasks, multi-threading, multi-project | Then consider Pro |
| Team-wide unified use | Look at Business / Enterprise |
My advice is simple: start with a plan that can stably cover your daily workload. When you genuinely encounter insufficient quota, then upgrade or buy Credits.
Don't jump straight to the highest tier just because it "looks more powerful." The real money-saving aspect of Codex isn't the plan name, but whether it helps you avoid pitfalls, reduce rework, and cut down on late nights.
Type 2: How to Top Up Codex Credits
If you're already a Plus or Pro user, after using Codex to a certain extent, you might see a Credits-related entry point.
The common path is:
Codex Settings -> Usage -> Credits
Or when your quota is almost used up, the page will prompt you to buy Credits. Clicking settings shows:
A few points to note here:
| Issue | Explanation |
|---|---|
| Can Free / Go directly buy Codex Credits | Usually, you'll be guided to upgrade to Plus first |
| Can Plus / Pro buy extra Credits | Possible when supported on the account page |
| Can Credits auto-renew | Auto top-up can be enabled when supported on the page |
| Do Credits expire | Refer to the official help center and account page display |
You can think of these Credits as: extra quota for use within the ChatGPT / Codex products.
It is not an API balance.
Type 3: How API Users Top Up
If you write your own scripts, connect to third-party tools, or use an API key to call the OpenAI API, then you need to look at the OpenAI Platform billing.
The entry point is generally:
https://platform.openai.com/settings/organization/billing/overview
The general process:
- Log into the OpenAI Platform.
- Go to the Billing page.
- Add a payment method.
- Top up the balance for the API account.
- If long-term use is needed, set up auto-recharge.
- Go back to your local environment and configure
OPENAI_API_KEY.
When using an API key locally, you generally configure:
export OPENAI_API_KEY="Your API Key"
Then let the tool read this environment variable.
This path is more suitable for developers: you can control calls, models, limits, and logs yourself. But it's also more like a "developer bill," not a regular ChatGPT subscription.
The 4 Easiest Things to Mix Up
1. Having Plus doesn't mean you have an API balance
Many people ask: I already bought Plus, why does the API still say I have no quota?
Because Plus is a ChatGPT product subscription, and the API is a Platform bill. They are not the same wallet.
Logging into the ChatGPT website, Codex App, or Codex CLI with your ChatGPT account is one path. Calling the API with OPENAI_API_KEY is another path.
2. Topping up the API doesn't make ChatGPT Plus
The reverse is also true.
Topping up an API balance in the Platform only means your API calls can be charged. It will not automatically activate Plus for ChatGPT, nor will it automatically increase the Codex product quota within ChatGPT.
3. Codex login method affects the billing source
If you use codex login to log into a ChatGPT account, it usually consumes the product quota associated with that ChatGPT account.
If you use OPENAI_API_KEY to call the OpenAI API, it usually goes through the Platform API bill.
So when troubleshooting quota issues, the first step isn't asking "do I have money," but first checking:
Am I currently logged in via ChatGPT, or via an API key?
4. Be cautious with third-party top-ups, shared accounts, and low-price annual plans
The biggest problem with these schemes isn't the price, but account risk and subsequent uncontrollability.
Codex isn't just a simple chat tool. It might read your projects, run commands, connect to GitHub, read browser pages. It's best to keep both the account and payment method in your own hands.
Follow This Order for Beginners
If you just want to get Codex running as soon as possible, I suggest following this order:
- First, register and log into your own ChatGPT account.
- Try the free tier if available.
- If web payment goes smoothly, upgrade to Plus / Pro within ChatGPT.
- If web payment fails, then consider subscribing via the iOS / Android App.
- If Plus isn't enough, then consider Pro or extra Credits.
- Only when you need scripting, automation, or to call the API yourself, go to the Platform to top up the API balance.
This is the most stable way and least likely to lead to spending money incorrectly.
A Final Distinction Table
| What You Want to Do | Where to Go |
|---|---|
| Upgrade ChatGPT to Plus / Pro | ChatGPT account plan page |
| Web payment keeps failing | iOS App Store / Google Play subscription |
| Buy extra Credits for the Codex product | Codex / ChatGPT Usage / Credits page |
| Top up API key balance | OpenAI Platform Billing |
| Check API consumption | OpenAI Platform Usage |
| Cancel ChatGPT subscription | ChatGPT account plan page |
| Manage API auto-recharge | OpenAI Platform Billing |
Just remember this one line:
For daily Codex use, check the ChatGPT plan first; for writing programs to call the interface, check the API bill.
I also have some AI Coding (SDD Agent AI tools, etc.) and Node tech exchange groups. If you're interested, add me on WeChat ikoala520 to join the group, learn together, and improve together.
Reference entry points:
- Codex Pricing: https://developers.openai.com/codex/pricing
- ChatGPT Pricing: https://openai.com/chatgpt/pricing/
- API Billing: https://platform.openai.com/settings/organization/billing/overview
- ChatGPT Credits Help Center: https://help.openai.com/en/articles/12642688-using-credits-for-flexible-usage-in-chatgpt-free-go-plus-pro
- API Prepaid Billing Help Center: https://help.openai.com/en/articles/8264644-what-is-prepaid-billing
Top 5 of 11 from juejin.cn, machine-translated. The original thread is authoritative.
How to handle the phone number
I got a phone number verification platform, sent and received an SMS and it went through...
Please share
Need to pay with App Pay but can't
Prepaid card
Need a US region prepaid card, and it has to be a US region account
For Apple subscriptions, you must choose a tax-free state for the US region, remember! Some states have scary tax rates [smile]
Pro
Right
CC full-blooded, pure and stable, supports CS, need DD