Virtual Card for Codex 2026: The Best Virtual Credit Card to Pay for the Codex AI Agent, Your ChatGPT Subscription or the OpenAI API
Quick answer: OpenAI Codex comes with your ChatGPT plan, so to pay for Codex you pay for ChatGPT. If your bank card is declined at OpenAI's checkout, a US virtual Visa or Mastercard is the simplest fix. Cardwisechoice issues them online: you sign up with only an email, top up with crypto, and your card details appear in your dashboard within minutes.
This guide covers what Codex is, what each plan costs in 2026, why cards get declined, how to pay with a virtual card, and how to set up Codex once you are in.
What is OpenAI Codex?
OpenAI Codex is an AI agent for coding. It reads your code, writes new code, fixes bugs and runs tasks across a whole repository. It is not a separate product you buy on its own: Codex is included with ChatGPT plans, and you sign in with your ChatGPT account.
You can use Codex in several places:
- Codex CLI: a command-line tool you run in your terminal.
- IDE extension: works inside VS Code and similar editors.
- Codex in ChatGPT and the desktop app: hand off tasks and review the results.
What is a virtual credit card and how do virtual credit cards work?
A virtual credit card is a card that exists only online. The card issuer gives you a unique card number (a virtual card number), an expiration date and a CVV, but no physical card. You use it like a regular credit card for online transactions: enter the credit card number at checkout and make a payment.
- Prepaid, not a credit line: our cards are prepaid, so you spend only what you load. There is no credit line and no credit check.
- A layer of security: the virtual card number is separate from your bank's credit or debit card, so a data breach at a merchant does not expose your main credit card information, and unauthorized use is limited to the card balance.
- Common use cases: AI subscriptions like Codex, software, and other online purchases.
Codex pricing in 2026: ChatGPT subscription plans and the OpenAI API
| ChatGPT plan | Price | Codex use |
|---|---|---|
| Free | $0 | Limited access to try Codex |
| Go | $8 a month | Light coding |
| Plus | $20 a month | Regular solo development |
| Pro 100 | $100 a month | Heavy daily use |
| Pro 200 | $200 a month | More usage than Pro 100 |
| Pro 500 | $500 a month | The highest limits |
| Business | About $25 a seat monthly, $20 annually | Teams |
| Enterprise and Edu | Custom | Large organisations and schools |
How usage works: since April 2026, Codex usage on paid plans is measured in token-based credits, with a rolling five-hour window and a weekly cap. How much you can do depends on the model and the size of each task. If you hit your limit, you can buy extra usage with ChatGPT credits.
API key instead of a plan: you can also run the Codex CLI with an OpenAI API key and pay per token at API rates. Model names and prices change often, so check OpenAI's API pricing page before you top up.
Why your bank card is declined at OpenAI
OpenAI processes payments through Stripe, which checks every card before it approves a charge. The usual reasons for a decline:
- Your bank blocks foreign online payments: many local cards refuse charges from US companies by default.
- Billing address mismatch: the address must match the one registered to the card.
- 3-D Secure not completed: if you cannot receive or enter the one-time code, the payment stops.
- Not enough balance: tax can make the charge slightly higher than the plan price.
- Card type and route: OpenAI is stricter with prepaid cards on API credit purchases than on ChatGPT plans.
- Country mismatch: a VPN, or a card from one country with an account in another, can trigger fraud checks.
OpenAI payment errors and how to fix them
| What you see | Most likely cause | What to do |
|---|---|---|
| "Your card has been declined" | Bank block or low balance | Top up a few dollars above the price, or use a card built for US online payments |
| "Prepaid cards are not accepted" | Prepaid or gift cards, usually on API credits | Pay for Codex through a ChatGPT plan instead of API credits |
| Address or postal code error | Billing address mismatch | Enter the card's billing address exactly, ZIP included |
| Authentication failed | 3-D Secure not completed | Approve the code, then retry once |
| Declined on every attempt | Too many retries or VPN | Turn off the VPN, wait, then try once more |
Local card keeps failing at OpenAI? Compare our US Visa and Mastercard virtual cards on US debit BINs, ready in minutes.
How to get a virtual credit card and pay for Codex
- Sign up with your email on Cardwisechoice. No bank account or credit check.
- Choose a card: Mastercard USA ($100), Visa Standard ($120) or Visa USA ($150).
- Pay with crypto: BTC, USDT, USDC, BNB, Solana, TRX, TON, Bitcoin Cash or Litecoin. See how to buy a VCC with crypto.
- Activate the card and copy the card number, expiry, CVV and US billing address from your dashboard.
- Open ChatGPT, go to Settings, then the upgrade or billing page, and pick the plan you want for Codex.
- Enter the card details and the billing address exactly as shown in your dashboard, then approve 3-D Secure if asked.
- Sign in to Codex with the same ChatGPT account and start coding.
How much to load: keep a few dollars above the plan price. For Plus, keep at least $23 on the card. Our full ChatGPT payment methods guide covers more payment fixes.
How to set up and use Codex
Install the Codex CLI
- Install Node.js, then open your terminal.
- Run
npm install -g @openai/codex. - Run
codexand sign in with your ChatGPT account (or runcodex login). - Open a project folder and give Codex a task. Type
/statusduring a session to check your usage.
Use Codex in VS Code
- Open the Extensions panel in VS Code.
- Search for the OpenAI Codex extension and install it.
- Sign in with the same ChatGPT account and open the Codex side panel.
The CLI and the extension share the same configuration, so you set things up once.
Connect tools with MCP
MCP (Model Context Protocol) lets Codex use outside tools and data, such as documentation or a database. Add a server from the command line, for example codex mcp add context7 -- npx -y @upstash/context7-mcp, then manage your servers with codex mcp list. Check OpenAI's Codex documentation for project-level settings.
Codex vs Claude Code
Codex runs on OpenAI's models and is billed through your ChatGPT plan. Claude Code runs on Anthropic's models and is billed through a Claude Pro or Max plan. Many developers use both. One virtual card can pay for each, see our VCC for Claude AI guide.
Benefits of using virtual credit cards from Cardwisechoice for Codex
- US-issued Visa and Mastercard: on US debit BINs with a US billing address, which suits a US company like OpenAI.
- Sign up with only an email: no bank account, credit check or paperwork.
- Funded with crypto: nine coins, including USDT and USDC.
- 3-D Secure on every card: the one-time code goes to the email and phone number on your account.
- Apple Pay and Google Pay: add the card to your phone's wallet.
- Reloadable, up to $10,000: top up before each renewal date.
- A safer way to pay: OpenAI never sees your main bank card.
- Valid for one year: if a card expires, add the new card details in ChatGPT before your renewal date.
Virtual card fees and what a year of Codex billing costs
| Fee | Amount | When it applies |
|---|---|---|
| Card issue fee | $5 | Once, when the card is issued |
| Crypto top-up fee | 5% | Each time you add funds |
| Monthly fee | None | Never |
Example: a year of ChatGPT Plus for Codex costs $240. Topping that up adds $12 in top-up fees, so with the one-time $5 issue fee your first year of card fees is $17. See our pricing page.
Good to know before using a virtual card for OpenAI
- OpenAI decides every payment. Our cards work like any other Visa or Mastercard, but each charge is approved or refused at OpenAI's checkout.
- ChatGPT plan first, API second. If a prepaid-type card is refused for API credits, pay for Codex through a ChatGPT plan instead.
- Use your real location. ChatGPT is available in supported countries only. A card fixes card problems, not location.
- Check your BIN with our free BIN checker.
Ready to start coding? Get your virtual card in minutes, or ask our support team first.
Use cases: virtual cards for other AI coding tools
- ChatGPT payment methods and Claude AI
- Cursor and Microsoft Copilot
- v0 and Lovable and Hugging Face
- Gemini Advanced and Perplexity Pro
- Best virtual card providers compared
Frequently asked questions
Can I pay for OpenAI Codex with a virtual card?
Yes. Codex is included with ChatGPT plans, so you add a virtual Visa or Mastercard to your ChatGPT billing and choose a plan. Enter the card's billing address and complete 3-D Secure if asked.
Is OpenAI Codex free?
The ChatGPT Free plan includes limited Codex access. For regular work, most developers use Plus or a Pro plan.
How much does Codex cost?
Codex comes with your ChatGPT plan: Free, Go at $8, Plus at $20, and Pro at $100, $200 or $500 a month. Business is about $25 a seat monthly, and Enterprise is custom.
Why does my card keep getting declined at OpenAI?
The usual causes are a bank block on foreign payments, a billing address mismatch, an incomplete 3-D Secure check, a low balance, a VPN or country mismatch, or a prepaid card used for API credits.
Can I buy OpenAI API credits with a virtual card?
OpenAI is stricter with prepaid cards on API credit purchases. Our cards run on US debit BINs, but if API credits are refused, pay for Codex through a ChatGPT plan instead.
How do Codex usage limits work?
Since April 2026, paid plans use token-based credits with a five-hour window and a weekly cap. You can buy extra usage with ChatGPT credits when you hit a limit.
How do I fund a Cardwisechoice card?
With crypto: BTC, USDT, USDC, BNB, Solana, TRX, TON, Bitcoin Cash or Litecoin. Each top-up has a 5% fee, and there is no monthly fee.
Do I need ID documents to get a Cardwisechoice card?
You sign up with an email address. There is no bank account or credit check, and your card details appear in your dashboard within minutes.
What is the Codex CLI?
The Codex CLI is the terminal version of Codex. Install it with npm, sign in with your ChatGPT account, and use it with the plan you already pay for.
Can I use one card for Codex and other AI tools?
Yes. Keep the balance above the total of your subscriptions, with a few dollars of headroom for each, or use a separate virtual card for each tool.
How do I stop a Codex renewal?
Cancel your ChatGPT plan in Settings before the renewal date. You keep access until the end of the paid period.