OpenAI Codex pricing in 2026: every plan, cost, and gotcha explained

Stevia Putri
Written by

Stevia Putri

Katelin Teen
Reviewed by

Katelin Teen

Last edited June 5, 2026

Expert Verified
OpenAI Codex pricing breakdown 2026

What OpenAI Codex actually is

OpenAI Codex (launched May 2025) is an agentic software engineering product - not to be confused with the original 2021 Codex model that powered early GitHub Copilot and was deprecated in March 2023. The current Codex is a cloud-based autonomous coding agent powered by GPT-5 family models, running multi-step software tasks in isolated sandboxes, able to work in parallel across many projects. It's available as a VS Code extension with 9.8 million installs, a CLI (@openai/codex) with 88,600+ GitHub stars, a web app, iOS app, and since June 2026, on Amazon Bedrock.

The core metaphor is delegating to a junior-to-mid engineer: you assign the task, Codex works asynchronously, and comes back with a diff, terminal logs, and citations. GPT-5-Codex hits 85.5% autonomous task completion on SWE-bench - versus 54% for GitHub Copilot and 74% for Cursor - which is part of why the developer community has paid close attention despite it being less than a year old.

OpenAI Codex in action

The two billing tracks

Before getting into plan-level pricing, it helps to know there are two entirely different billing paths for Codex:

Track 1 - ChatGPT subscription (most developers). Codex is bundled into ChatGPT plans. You pay the monthly fee and get a usage allocation that resets on a rolling 5-hour window. This is what individual developers and engineering teams are almost always on, and it's where the plan tiers (Plus, Pro, Business, Enterprise) live.

Track 2 - OpenAI API / pay-as-you-go. Developers building Codex-powered tools, integrating Codex into CI/CD pipelines, or automating workflows without a subscription can use an API key and pay per token. The tradeoff: no cloud features (GitHub code review, Slack integration), and newer models become available later to API users than to ChatGPT subscribers.

Which track fits you depends on how you're using Codex. Day-to-day developer use: Track 1. Building a product that calls Codex programmatically: Track 2.

ChatGPT subscription plans

Here's every plan with Codex access, as of June 2026:

PlanPriceCodex accessKey notes
Free$0/moLimited trial, local tasks onlyNo cloud integrations (GitHub review, Slack)
Go$8/moLightweight local coding tasksNo cloud task delegation
Plus$20/moFull cloud access: web, CLI, IDE, iOSGPT-5.5, GPT-5.4, GPT-5.3-Codex; 10–60 cloud tasks / 5h
Pro 5x$100/mo5× Plus usageGPT-5.3-Codex-Spark (research preview); added April 9, 2026
Pro 20x$200/mo20× Plus usageOriginal Pro plan, re-positioned
BusinessPay-as-you-go per seatSame base limits as PlusLarger VMs, SAML SSO, MFA, no training on your data
Enterprise / EduContact salesNo fixed rate limits; shared credit poolSCIM, EKM, RBAC, audit logs, data residency

The Go plan at $8/month exists mainly as an entry point for lighter use and doesn't unlock the cloud task features that make Codex genuinely useful for delegating work. For most developers choosing between Go and Plus, the $12/month difference for full cloud access is worth it.

The April 9, 2026 Pro 5x tier at $100/month was OpenAI's direct response to Claude Code's $100/month pricing. Previously, the only "Pro" option was $200/month - which left active developers who'd outgrown Plus without a sensible middle tier. The new $100 option fills that gap cleanly.

OpenAI Codex pricing page

Usage limits - the 5-hour rolling window

All Codex limits are measured per 5-hour rolling window, not per month. Here's the full breakdown:

Plus limits (per 5-hour window):

ModelLocal messagesCloud tasksCode reviews
GPT-5.515–80--
GPT-5.420–100--
GPT-5.4-mini60–350--
GPT-5.3-Codex30–15010–6020–50

Pro 5x limits (5× Plus):

ModelLocal messagesCloud tasksCode reviews
GPT-5.580–400--
GPT-5.4100–500--
GPT-5.4-mini300–1,750--
GPT-5.3-Codex150–75050–300100–250

Pro 20x limits (20× Plus):

ModelLocal messagesCloud tasksCode reviews
GPT-5.5300–1,600--
GPT-5.4400–2,000--
GPT-5.4-mini1,200–7,000--
GPT-5.3-Codex600–3,000200–1,200400–1,000

The wide ranges (10–60 cloud tasks on Plus) reflect real variation in task token consumption: a small refactor burns far fewer tokens than a 25-hour autonomous build. The rolling window means burning through cloud tasks at 9am gives you a reset by 2pm - which works fine for most patterns but can feel tight during an all-day parallel agent session.

One Plus user summed it up accurately on r/OpenAI:

Reddit

"The number of requests also seem to be reasonably high on the Plus subscription: 30–150 per 5 hours."

u/pnkpune, r/OpenAI
Cloud task capacity comparison across Codex plans
Cloud task capacity comparison across Codex plans

The April 2026 credit system: how tokens become costs

On April 2, 2026, OpenAI switched from per-message billing to token-based credits for all plans. Credits are consumed based on actual token input and output, not per request. Here's the current Codex rate card:

ModelInput (credits / 1M tokens)Cached input (credits / 1M)Output (credits / 1M)
GPT-5.512512.50750
GPT-5.462.506.25375
GPT-5.4-mini18.751.875113
GPT-5.3-Codex43.754.375350

A typical task using GPT-5.5 consumes 5–45 credits. Code review runs on GPT-5.3-Codex. Fast mode (where available) draws credits at a higher rate. GPT-5.3-Codex-Spark (available on Pro) is still in research preview - rates are not yet finalized.

The diagram below shows how tokens translate to credits and cost for a representative task:

How OpenAI Codex tokens become credits and real cost
How OpenAI Codex tokens become credits and real cost

The practical effect: lighter tasks got cheaper, heavier ones cost more, and GPT-5.4-mini stretches local message allowances 2.5–3.3× further than using GPT-5.5 for everything. Plus and Pro users can buy additional credits via the Codex usage panel if they need more headroom in a given window.

Per OpenAI's help documentation, a few things stretch your limits further:

  • Route routine local tasks to GPT-5.4-mini instead of primary models
  • Keep the AGENTS.md file lean - every token in that file is overhead on every task
  • Limit the number of active MCP servers loaded in Codex
  • Skip fast mode for tasks that aren't time-sensitive

API developer track pricing

For developers building Codex into products or automations via API key, the original launch pricing for codex-mini-latest was:

  • Input: $1.50 per 1M tokens
  • Output: $6.00 per 1M tokens
  • Prompt caching discount: 75%

For current API pricing on GPT-5.3-Codex and later models, check platform.openai.com/docs/pricing - rates have shifted as the model lineup expanded past the original launch. API access doesn't require a ChatGPT subscription, but it costs you the cloud features: no automatic GitHub code review, no Slack integration, and models like GPT-5.3-Codex land for API users later than for subscribers.

If you want to use Codex in a Jupyter notebook, a custom build pipeline, or a GitHub Actions workflow, the API is the right path. For day-to-day developer use inside the VS Code extension or the macOS app, you want the subscription track with your ChatGPT login.

What a real month actually costs

OpenAI's own rate card publishes a real-world estimate of $100–$200/developer/month for typical active usage. Here's what that looks like across different profiles:

Solo hobbyist / side-project developer On Plus at $20/month. Running 2–5 cloud tasks per session, mostly bug fixes and small features, using GPT-5.4-mini for local messages. Rarely touches the cloud task ceiling. Monthly spend: $20.

Active full-time developer Starts on Plus but hits the 5-hour window limit on heavy coding days. After a few months of pauses, upgrades to Pro 5x at $100/month. 50–300 cloud tasks per window covers parallel work comfortably. Monthly spend: $100.

Heavy power user running parallel agents On Pro 20x at $200/month. Running 10+ parallel cloud tasks, using automatic code review on every PR, running Skills and Automations. Supplements with additional credits during high-volume sprints. Monthly spend: $200–350.

A surprisingly common real-world configuration is running Codex at $20/month alongside a second tool - the pattern shows up often in developer communities:

Reddit

"I have the $100 CC license and $20 OpenAI plan. When CC can not resolve a difficult problem I give it to Codex and have it take forever but it has fixed numerous issues CC is unable to."

u/SequentialHustle, r/ClaudeAI

This makes sense given how the tools complement each other: Codex tends to produce cleaner PRs and handle difficult back-end tasks better, while tools like Claude Code are often faster at front-end and iterative work.

One LinkedIn practitioner, Matt Koppenheffer, made a sharp point about model access at the Pro tier: Codex Pro gives you GPT-5 at $100/month, while comparable agentic tools at the same price point give you smaller models. For compute-intensive back-end work, that distinction matters.

Gotchas to know before you pay

The rolling window catches people off guard. The 5-hour reset runs from when you first used it, not at midnight. Heavy morning sessions that burn through cloud tasks can leave you waiting mid-afternoon. Usage is trackable at the Codex usage panel, but there's no pre-task estimate of how much a specific job will consume.

Fast mode costs more credits. Fast mode is available for supported models and delivers quicker responses - but at a higher credit rate per task. Easy to forget if you leave it on by default.

Code review is a separate allocation. GitHub code review (triggered automatically when PRs move from draft to ready, or via @codex review) uses GPT-5.3-Codex and draws from your code review bucket, separate from your cloud task count. Heavy PR volume can add up independently.

API key access is not subscription access. The CLI can run on an API key instead of your ChatGPT login, but API key mode strips out cloud features - no GitHub integration, no Slack integration, delayed access to newer models. If those features matter, authenticate with your ChatGPT subscription, not an API key.

Business plan limits start the same as Plus. The upgrade on Business is larger cloud VMs (faster task execution), admin controls, and compliance features - not raw usage headroom. Teams that need more capacity add credit bundles on top.

The old $200/month Pro is now called Pro 20x. If you signed up before April 9, 2026 as a Pro subscriber, you're now on the 20x tier. If your usage doesn't need 20× headroom, you may be able to switch down to the new Pro 5x at $100/month.

Which plan should you choose?

Codex plan decision guide based on usage patterns
Codex plan decision guide based on usage patterns
  • Free: First-time exploration, simple local tasks, no cloud delegation needed.
  • Plus ($20/month): Part-time developers, hobbyists, anyone whose Codex usage fits a few sessions per day. The VS Code extension, CLI, and macOS app all work here. Most hobby developers never outgrow it.
  • Pro 5x ($100/month): Active full-time developers who hit Plus limits regularly. Parallel cloud task execution, 5× usage headroom, research preview model access. This is OpenAI's answer to Claude Code at the same price.
  • Pro 20x ($200/month): Engineering leads running heavy parallel agent workloads, large-scale code review automation, or long-horizon autonomous tasks. The extreme end of this profile is @KarelDoostrlnck's $10,000 Codex usage at OpenAI for automated research workflows.
  • Business (PAYG per seat): Teams needing SAML SSO, MFA, larger VMs, and no-training-on-your-data guarantees.
  • Enterprise (contact sales): Organizations needing shared credit pools, no fixed rate limits, SCIM provisioning, audit logs, and data residency controls.

If you're comparing Codex against other options, the OpenAI Codex alternatives guide and our roundup of best AI coding assistant tools cover the full landscape alongside Cursor pricing and GitHub Copilot pricing.

Try eesel

If you're looking at AI tools beyond coding - automating support workflows, handling customer conversations at scale, or deploying AI across your existing helpdesk and messaging tools - eesel is worth a look alongside Codex. eesel is an AI teammate platform that runs autonomous agents directly inside Zendesk, Slack, Freshdesk, email, and 100+ other tools your team already uses. Unlike Codex's code-first focus, eesel handles support tickets, customer interactions, and content workflows at scale - with pure usage-based pricing (starting at $0.40 per task, no seat fees, no monthly minimum) and a $50 free trial credit with no card required.

eesel AI skill execution view
eesel AI skill execution view

Frequently Asked Questions

How much does OpenAI Codex cost per month?
OpenAI Codex is bundled into ChatGPT plans. The Free tier costs $0 with limited trial access, Plus is $20/month with 10–60 cloud tasks per 5-hour window, Pro 5x is $100/month with 5× more usage, and Pro 20x is $200/month. Business and Enterprise tiers are priced per seat or on contact. OpenAI's own published rate card estimates real-world average costs of $100–$200/developer/month for active users.
Is there a free trial for OpenAI Codex?
Yes - the Free plan offers limited trial access to Codex at $0/month with no credit card required. There is no extended free trial of the paid plans beyond the Free tier baseline. You can explore the Codex app on the Free plan before committing to a paid subscription.
What changed with Codex pricing in April 2026?
On April 2, 2026, OpenAI switched from per-message billing to token-based credit billing for all Plus, Pro, Business, and new Enterprise plans. Credits are now consumed based on input and output tokens - GPT-5.3-Codex costs 43.75 credits per 1M input tokens and 350 per 1M output tokens. A typical task now costs 5–45 credits. See the full Codex rate card for current rates by model.
What is the difference between Codex Pro 5x and Pro 20x?
The $100/month Pro 5x tier (added April 9, 2026) gives 5× more Codex usage than Plus - roughly 50–300 cloud tasks per 5-hour window. The $200/month Pro 20x is the original Pro plan, re-positioned with 20× Plus limits (200–1,200 cloud tasks per 5h). Pro 5x was introduced specifically to compete with Claude Code's $100/month price point. For most active individual developers, Pro 5x is the right fit.
Can you use OpenAI Codex without a subscription?
Yes - developers can access Codex via the OpenAI API using a pay-as-you-go API key, with input priced at $1.50/1M tokens and output at $6.00/1M tokens for codex-mini-latest. However, API access excludes cloud features like GitHub code review and Slack integration, and new models become available later to API users than to ChatGPT subscribers.

Share this article

Stevia Putri

Article by

Stevia Putri

Stevia Putri is a marketing generalist at eesel AI, where she helps turn powerful AI tools into stories that resonate. She’s driven by curiosity, clarity, and the human side of technology.

Related Posts

All posts →
OpenAI Codex pricing breakdown 2026 hero banner
AI coding

OpenAI Codex pricing in 2026: every plan, real costs, and what you'll actually pay

OpenAI Codex pricing runs from Free to $200/month on six consumer tiers, with Enterprise on a custom credit pool. Most developers end up on Plus ($20/mo) or the new Pro 5x ($100/mo). Here's exactly what each plan includes, the limits you'll actually hit, and how the April 2026 token billing overhaul changes the math.

Alicia Kirana UtomoAlicia Kirana UtomoJun 15, 2026
GitHub Copilot alternatives 2026 - eight AI coding tools compared side by side
AI coding

8 best GitHub Copilot alternatives in 2026 (some are cheaper, some are just better)

GitHub Copilot is no longer the obvious choice. In 2026, Cursor, Claude Code, Windsurf, and others beat it on agent mode, privacy, or price. Here is how all 8 stack up after testing.

Alicia Kirana UtomoAlicia Kirana UtomoJun 15, 2026
Claude Code CLI reference 2026 guide - hero banner with Anthropic branding
AI coding

A developer's Claude Code CLI reference (2026 guide)

The complete Claude Code CLI reference for 2026: installation methods, session commands, CLAUDE.md, hooks, MCP servers, skills, multi-agent orchestration, and which plan to actually buy.

Rama Adi NugrahaRama Adi NugrahaJun 5, 2026
Image alt text
Trending

A guide to the OpenAI Codex app

This guide is a straightforward, no-fluff look at the OpenAI Codex app. We'll dig into its features, the different platforms it runs on, how the pricing really works, and some of the real-world limitations you should know about.

Katelin TeenKatelin TeenFeb 2, 2026
A person demonstrating a workflow on their Mac while Codex records it as a reusable skill and an AI agent replays it
AI news

OpenAI Codex record and replay, explained

What OpenAI Codex record and replay actually does: demonstrate a workflow on your Mac once, and Codex turns it into a reusable skill. How it works, its limits, and where it fits.

Alicia Kirana UtomoAlicia Kirana UtomoJun 22, 2026
Illustrated hero banner for an OpenAI Codex free access explainer, with terminal and code editor motifs
AI

OpenAI Codex free access, explained: what you actually get for $0

Is OpenAI Codex free? Yes, if you sign in with a ChatGPT Free account. Here is exactly what the free tier gives you, where the wall is, and the limits.

Alicia Kirana UtomoAlicia Kirana UtomoJun 18, 2026
Illustration of frontend AI tools assembling code editor windows and UI components
AI Tools

The 9 best frontend AI tools for developers in 2026

We tested the best frontend AI tools for developers in 2026, from Cursor and Copilot to v0 and bolt.new, with real pricing, limits, and honest verdicts.

Alicia Kirana UtomoAlicia Kirana UtomoJun 11, 2026
DeepL pricing blog header illustration with editorial cartoon style
Translation

DeepL pricing in 2026: every plan, every limit, and one gotcha most people miss

DeepL pricing runs from $0 to $57.49/user/month. Here's what each plan actually costs, what the 'unlimited' label really means, and why the API is a completely different product.

Rama Adi NugrahaRama Adi NugrahaJun 5, 2026
OpenAI and VS Code logos on a warm off-white background illustrating Codex integration
Developer Tools

A practical guide to OpenAI Codex integrations with VS Code (2026)

How to install, configure, and actually use OpenAI Codex in VS Code - covering the extension, CLI, cloud delegation, and where it genuinely beats GitHub Copilot.

Stevia PutriStevia PutriJun 4, 2026

Ready to hire your AI teammate?

Set up in minutes. No credit card required.

Get started free