跪拜 Guibai
← All articles
Frontend · Backend · JavaScript

OpenAI's Two Billing Systems Are Tripping Up Codex Users — Here's How to Untangle Them

By ikoala ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

The ChatGPT subscription versus API balance confusion is the single biggest billing support issue for Codex users. Paying for the wrong thing — or paying correctly but logging in the wrong way — means quota that looks missing, wasted money, and hours of troubleshooting that could be avoided by understanding the two-wallet architecture upfront.

Summary

OpenAI runs two independent billing systems that Codex users routinely mix up. A ChatGPT Plus or Pro subscription buys product quota inside the ChatGPT and Codex apps. An API prepaid balance on platform.openai.com buys raw API calls. Neither one automatically grants access to the other, and logging in via `codex login` versus an `OPENAI_API_KEY` determines which wallet gets charged.

Web payment failures are a frequent blocker, especially for users outside the US. The workaround is subscribing through the iOS App Store or Google Play, where the payment link goes through Apple or Google and often succeeds when direct credit-card payments fail. The catch: the ChatGPT account logged into the mobile app must be the exact same one used to log into Codex, or the subscription looks like it never took effect.

Codex Credits sit inside the ChatGPT product ecosystem as extra usage quota for Plus and Pro subscribers. They are not API credits. For most individual developers who just want to write code, fix bugs, and read projects, starting with a ChatGPT Plus plan and buying additional Credits as needed is the lower-friction path. The API billing route only makes sense once scripting, automation, or third-party tool integration becomes necessary.

Takeaways
A ChatGPT Plus or Pro subscription and an OpenAI API prepaid balance are completely separate wallets; buying one does not grant quota in the other.
Logging into Codex via `codex login` consumes ChatGPT product quota; using an `OPENAI_API_KEY` consumes the API billing account.
When web payment for a ChatGPT subscription fails, subscribing through the iOS App Store or Google Play often succeeds because the payment link goes through Apple or Google.
The ChatGPT account used inside the mobile app must be identical to the one used to log into Codex, or the subscription will not apply.
Codex Credits are extra usage quota inside the ChatGPT product ecosystem, not API credits, and are typically available to Plus and Pro subscribers.
Beginners should start with a ChatGPT Plus plan and only move to API billing when scripting or automation requires direct API control.
Avoid shared accounts and third-party top-ups; Codex can access project code, terminals, GitHub, and browser sessions, so account ownership matters.
Conclusions

The billing confusion is a design problem, not a user error. OpenAI surfaces two separate payment systems under one brand and one set of products, with no clear boundary in the UI between 'product quota' and 'API credit.'

Mobile app store subscriptions act as an unofficial payment rail for users whose credit cards get rejected on the web, which suggests OpenAI's direct payment processing has regional gaps that Apple and Google's infrastructure fills.

The advice to avoid shared or gray-market accounts is not just about security hygiene — Codex's deep system access (terminal, GitHub, browser) means a compromised or reclaimed account could expose an entire development environment.

Concepts & terms
Codex Credits
Extra usage quota purchasable inside the ChatGPT/Codex product ecosystem for Plus and Pro subscribers. They extend the amount of Codex work you can do under your ChatGPT plan and are distinct from API prepaid balances.
OpenAI API prepaid balance
A separate billing wallet on platform.openai.com used to pay for raw API calls. It is not connected to ChatGPT subscriptions and does not grant access to ChatGPT Plus, Pro, or Codex product features.
From the discussion

Practical workarounds dominate the thread. Phone verification is solved via SMS platforms, while payment hurdles split between US-region prepaid cards and Apple Pay tax optimization. A brief endorsement of a third-party service sits at the end.

Phone number verification can be bypassed using an SMS verification platform.
App Pay payments fail unless a US-region account and a US prepaid card are used.
Apple subscription billing requires selecting a tax-free US state to avoid high surcharges.
A third-party service is promoted as a stable alternative, though its relevance to the article's billing confusion is unclear.
Featured comments
咕嘟咕嘟扑通扑通 1 likes

For Apple subscriptions, you must choose a tax-free state for the US region, remember! Some states have scary tax rates [smile]

ikoala

Pro

See top comments, translated →
Source: juejin.cn ↗ Google Translate ↗ Backup ↗