OpenAI Codex Pricing 2026: Plans, Credits & How to Get Free Access

OpenAI Codex pricing for 2026. Plans, per-message limits, ChatGPT Plus access, free credits, and how Codex compares to Claude Code and Cursor.

CodexCodex PricingOpenAI CodexAI CodingFree CreditsAI Perks
Author Avatar
Andrew
AI Perks Team
14,910

Quick Answer

Codex is included in ChatGPT Plus ($20/month), Pro ($200/month), and Business/Enterprise plans. The Codex CLI uses your ChatGPT plan budget plus optional API overage. Get free OpenAI credits to power Codex API workloads at [getaiperks.com](https://getaiperks.com).

AI Perks

AI Perks curates and provides access to exclusive discounts, credits, and deals on AI tools, cloud services, and APIs to help startups and developers save money.

AI Perks Cards

OpenAI Codex Pricing in 2026: The Complete Breakdown

OpenAI Codex in 2026 is the multi-surface coding agent from OpenAI - available as a CLI, IDE extension, ChatGPT app, and web interface. Codex usage is included in ChatGPT Plus ($20/month), Pro ($200/month), and Business/Enterprise plans, with optional API overage for heavy workloads. There is no separate Codex subscription.

Codex competes with Claude Code, Cursor, and Windsurf in the AI coding agent space. Pricing is bundled into ChatGPT plans, which makes the per-feature cost hard to read. The smarter play is to stack free OpenAI credits through founder programs to cover API overage and run Codex at near-zero variable cost. AI Perks covers the credit programs.


Save your budget on AI Credits

Search deals for
OpenAI
OpenAI,
Anthropic
Anthropic,
Lovable
Lovable,
Notion
Notion

Promote your SaaS

Reach 90,000+ founders globally looking for tools like yours

Apply now

Where Codex Lives in 2026

Codex is not a single product - it is a multi-surface system:

SurfaceWhat It IsIncluded In
Codex CLITerminal-first agent (like Claude Code)ChatGPT Plus+
Codex IDE ExtensionVS Code, JetBrains, CursorChatGPT Plus+
Codex in ChatGPTWeb app coding interfaceChatGPT Plus+
Codex CloudBackground async tasksChatGPT Plus+
Codex APIProgrammatic accessPay-per-token

You log into any surface with the same OpenAI account. Your usage budget is shared across surfaces.


AI Perks

AI Perks curates and provides access to exclusive discounts, credits, and deals on AI tools, cloud services, and APIs to help startups and developers save money.

AI Perks Cards

ChatGPT Plan Pricing (Codex Included)

PlanMonthlyCodex UsageAPI Overage
Free$0Limited Codex Mini accessPay-per-token
Plus$20Codex CLI + IDE + cloud, soft capsOptional
Pro$200High Codex limits, all surfacesOptional
Business$25/seatCodex in workspace, adminOptional
EnterpriseCustomCustom Codex limits, securityCustom

ChatGPT Plus at $20/month is the entry point for serious Codex use. Pro at $200/month removes most rate limits and is the right tier for full-time Codex Cloud + CLI users.


Codex Usage Limits (Soft + Hard)

ChatGPT Plus and Pro have rolling 5-hour windows with soft and hard caps:

  • Plus 5-hour soft cap: ~50 Codex CLI / IDE messages
  • Plus 5-hour hard cap: ~200 messages (depending on model and complexity)
  • Pro 5-hour soft cap: ~250 messages
  • Pro 5-hour hard cap: ~1,000+ messages

Soft caps slow you down. Hard caps cut you off until the window resets. Heavy users hit Plus hard caps within 1-2 hours of focused work, which is why Pro at $200 is justifiable for engineers but overkill for casual users.

For unlimited usage, you fall back to the Codex API at standard OpenAI pricing.


Codex API Pricing (Per Million Tokens)

The Codex API uses standard OpenAI model pricing:

ModelInputOutput
GPT-5.5$2.50$10.00
GPT-5.5 mini$0.40$1.60
GPT-5.5 nano$0.10$0.40
Codex (specialized variant)$5.00$15.00

For agent workloads running 24/7, API overage matters. A heavy automated Codex agent can spend $500-$5,000/month on API calls beyond the ChatGPT subscription.


How to Get Free OpenAI Credits for Codex

OpenAI runs an active startup credit program with credits ranging from $500 to $50,000+ depending on stage and qualifying criteria. Several major founder tracks bundle additional OpenAI credits.

SourceAvailable CreditsHow to Get
New API account trial$5-$50Direct signup
OpenAI direct startup programs$500-$50,000+AI Perks Guide
Bundled cloud founder programs$5,000-$100,000+AI Perks Guide
Hackathon partner credits$50-$500Event-dependent

Total potential: $5,500-$150,000+ in stacked OpenAI credits

The exact program names, eligibility windows, and the application order are inside AI Perks. The AI Perks team comes from Y Combinator, Techstars, Antler, 500 Global, and Google for Startups.


Stacking Codex With Free AI Credits

For agent-grade Codex usage, the smart play is ChatGPT Pro + free OpenAI API credits + free Claude credits as fallback.

Production Coding Stack

  • ChatGPT Pro for Codex CLI/IDE: $200/month (or zero if founder program covers)
  • Free OpenAI API credits: $5,000-$50,000+
  • Free Anthropic credits for Claude Code fallback: $1,000-$25,000+
  • Free Cursor / Windsurf founder credits: $500-$5,000+
  • Total free credit potential: $10,000-$80,000+

You run Codex CLI through ChatGPT Pro for primary work, and route heavy automated workloads to the OpenAI API where free credits absorb the cost.


Codex vs Claude Code vs Cursor: Quick Reference

FeatureCodexClaude CodeCursor
Pricing modelChatGPT subscriptionPay-per-token APISubscription + BYOK
Default modelGPT-5.5 / Codex variantClaude Sonnet 4.6User-selectable
CLI surfaceYesYes (terminal-first)No (IDE only)
IDE surfaceYesLimitedYes (full IDE)
Cloud / asyncYesLimitedLimited
Multi-file editsYesYesYes (Composer)
Plan modeYesYes (built-in)Yes

Codex is the right pick if you already pay for ChatGPT Plus/Pro. Claude Code is the right pick if you want pay-per-token with no subscription. Cursor is the right pick if you want a polished IDE with BYOK.


Hidden Costs to Watch

  • Pro subscription is $200/month - real money, justifiable for full-time engineers
  • API overage stacks on top of subscription for automated workloads
  • Codex Cloud minutes count against your usage budget
  • Heavy multi-agent runs can spike token usage 10x normal
  • Codex Skills (custom skills) count against budget when invoked

Step-by-Step: Run Codex for Near-Zero Cost

Step 1: Get free OpenAI credits via AI Perks for API overage and automated workloads.

Step 2: Subscribe to ChatGPT Plus ($20/month) or Pro ($200/month) based on usage level.

Step 3: Install Codex CLI with npm install -g @openai/codex and link your ChatGPT account.

Step 4: Use Codex CLI for interactive work and the API for batch / automation.

Step 5: Apply to OpenAI startup programs through the AI Perks playbook for $500-$50,000+ in API credits.


Codex vs Codex CLI: What Is What

Codex CLI specifically is the terminal agent. It is what most people mean when they say "Codex" in 2026. It includes:

  • Plan mode (preview-then-execute)
  • Skills system (codex.com/skills)
  • File system access with permissions
  • Multi-file edits and refactors
  • Git-aware commit workflows

The CLI uses your ChatGPT subscription budget by default. For heavy automation, configure it to use the API directly with free OpenAI credits from AI Perks.


Frequently Asked Questions

Is Codex included in ChatGPT Plus?

Yes, Codex CLI, IDE extensions, and Codex Cloud are all included in ChatGPT Plus ($20/month) with soft and hard usage caps in rolling 5-hour windows. Pro at $200/month dramatically expands the limits. Get free OpenAI API credits for overage at AI Perks.

How much does ChatGPT Pro cost in 2026?

ChatGPT Pro is $200/month and includes high Codex usage limits across CLI, IDE, ChatGPT, and Cloud surfaces. It is the right tier for full-time Codex users. Cheaper alternatives: Plus at $20/month or stacking free API credits via AI Perks.

Does Codex have a free version?

Codex Mini is accessible to free ChatGPT users with limited daily access. Full Codex CLI / IDE requires Plus or higher. The free OpenAI API trial ($5-$50) lets you test the API surface. Get larger free credit pools via AI Perks.

Codex vs Claude Code which is better?

For users already paying for ChatGPT, Codex is the natural choice. For pay-per-token developers who want fine-grained control, Claude Code is better. Both ship excellent results. Free credits for both stack via AI Perks.

What are Codex Skills?

Codex Skills are custom user-defined skills that extend Codex's behavior. Think of them as installable workflows. Skills are part of the ChatGPT subscription budget when invoked. The Skills marketplace launched in 2026 and is growing fast.

Does Codex have a startup program?

OpenAI runs an active startup credit program with credits up to $50,000+ for qualifying companies. Several bundled founder tracks include additional OpenAI credits. Combined potential reaches $100,000+. The full list is at AI Perks.

How do I avoid Codex rate limits?

Three options: upgrade from Plus to Pro ($200/month), spread heavy work across the 5-hour rolling window, or fall back to the Codex API directly with free credits from AI Perks. Most heavy users do all three.


The Bottom Line on Codex Pricing

Codex is bundled into ChatGPT subscriptions, which makes it cheap to start ($20/month Plus) and expensive at scale ($200/month Pro plus API overage). The smart play is Plus or Pro plus stacked free OpenAI credits for API overage and automation. Most heavy Codex users in 2026 are not paying full price.

Subscribe at getaiperks.com →

Stop overpaying for Codex API overage. Get $5,000-$50,000+ in free credits at getaiperks.com.

AI Perks

AI Perks curates and provides access to exclusive discounts, credits, and deals on AI tools, cloud services, and APIs to help startups and developers save money.

AI Perks Cards

This content is for informational purposes only and may contain inaccuracies. Credit programs, amounts, and eligibility requirements change frequently. Always verify details directly with the provider.