Justin McKelvey

Justin McKelvey

Ran snowboard shops. Taught myself to code. Now I build AI that does real work.

• Vibe Code Rescue • 8 min read •

OpenAI Codex Pricing (2026): What It Actually Costs, Tier by Tier

Quick Answer

The Codex CLI is free and open source — the bill is the model usage behind it. As of 2026: light API use runs $5–$15/month, moderate $30–$60, full-time agentic work $80–$250. Or skip the meter: ChatGPT Plus at $20/month includes Codex credits that cover light-to-moderate daily use, and ChatGPT Pro ($100 for 5x the Plus limits, $200 for 20x) makes heavy use essentially free at the margin. The thing to know as of September 29, 2026: the $200 tier is open to new sign-ups again after a September pause, a $500 tier now sits above it, and Pro plans currently have no five-hour limit in Codex.

Verified August 2026 · Author: Justin McKelvey, fractional CTO & founder of Vibe Code Rescue, 15 years in software, 50+ products shipped

TL;DR: The CLI Is Free. The Question Is Which Meter You Run.

OpenAI's pricing page tells you what the tiers cost. It doesn't tell you which one your workload lands in. I've run Codex daily for six months alongside Claude Code — same repos, same kinds of tasks — so the numbers below are what the meters actually read, not what the marketing implies.

There are exactly two ways to pay for Codex, and most developers should start with the one they may already have:

  • Bundled with ChatGPT: Plus ($20/month) includes Codex credits — enough for light-to-moderate daily use. Pro ($100/month for 5x the Plus limits, $200 for 20x) effectively removes the meter for one person; the $200 tier is open to new sign-ups again as of September 29, 2026, and a $500 tier sits above it.
  • API pay-as-you-go: usage billed to your OpenAI key. Fine for automation and CI. Expensive as a daily-driver habit.

Codex Pricing by Workload (August 2026)

Workload API billing Right subscription
Light — ~1 hour/day, small tasks $5–$15/month ChatGPT Plus ($20) covers it
Moderate — 3–4 hours/day $30–$60/month ChatGPT Plus ($20) often enough
Heavy — daily agentic driver $80–$250/month ChatGPT Pro is the right tier ($100 for 5x; $200 only if you already have it)
Automation / CI / headless agents Whatever the job costs API key — subscriptions don't fit here

Those API bands mirror what I published in my six-month Codex review — they've held steady through 2026 even as the model lineup underneath shifted.

The API column runs on OpenAI's per-token rates, so the model you point Codex at moves that bill more than the hours do. OpenAI API pricing lists the input, cached and output price for each model.

The Middle Tier: $20, $100, Then $200

Here's the structural thing about Codex pricing that surprises people coming from the Claude side. Anthropic sells a ladder: Pro $20, Max $100, Max $200. Until April 2026 OpenAI sold a cliff: Plus $20, then Pro $200, nothing between.

Update (September 2026): the cliff now has a step in it. OpenAI's own Codex pricing page, read on September 8, 2026, lists Pro from $100/month in two tiers, 5x ($100) and 20x ($200) the Plus rate limits, plus a Go tier at $8/month for lightweight coding and a Business plan at $20 per user per month billed annually ($25 monthly, two-user minimum). The ladder below still describes the tiers as they were when this post was written; the limits themselves, the five-hour window and the weekly cap, are in Codex usage limits explained.

If you're a 3–4 hour/day agentic user, you're the person the $100 step was built for. Plus will mostly cover you, but on heavy days you'll hit limits mid-task. Your options at that point: eat the occasional limit, run API overage on top of Plus (fine until it quietly becomes $60/month), or move to Pro 5x at $100 and stop thinking about it. The $200 tier is for the 5-plus-hour-a-day person, and it's open to new sign-ups again, at the higher allowance now that OpenAI canceled its planned cut on October 29, 2026. There's no wrong answer, but decide it once instead of drifting into the expensive version $10 at a time — the same drift I documented in my Claude Code pricing breakdown, where API auto-reload was the trap.

Codex vs Claude Code vs Cursor on Price

Entry tier: identical — $20/month gets you real daily use of either terminal agent or Cursor Pro. Top tier: also basically identical at $200, and both are open to new buyers as of September 29, 2026, though OpenAI now puts a $500 tier above its $200 one. The middle band is where the shopping happens: ChatGPT Pro 5x and Claude Max 5x are both $100, and Cursor's $60 Pro+ undercuts both for the heavy-but-not-full-time user. If that's you and you're price-sensitive, that's a legitimate reason to pick a different primary tool — the capability gaps are smaller than the pricing gaps.

Update, October 16, 2026: Cursor's entry price moved. Since October 12, cursor.com/pricing sells The X Subscription to new buyers instead of the $20 Pro plan. Plus at $8 runs Grok models only, and Premium at $30 is the first tier that runs Claude or GPT models in Cursor, with that usage billed on top at API list prices. So for a new buyer who wants OpenAI models in an agent, Codex inside ChatGPT Plus at $20 is now the cheaper way in. The top tiers still meet at $200 (Cursor Ultra). Existing Cursor Pro subscribers keep their plan. Every new tier: Cursor pricing.

One more Codex-specific advantage worth naming: if your company already pays for ChatGPT anyway, Codex is the only one of the three that's free at the margin. That single fact decides the tooling question for a lot of teams before any benchmark does. If the free question is the whole reason you're here, I answered it properly — what free covers and where the meter starts — in Is Codex free?

What I'd Pick, By Situation

  • Already on ChatGPT Plus: just use Codex. You're paying for it either way. Upgrade only when limits actually interrupt you.
  • Choosing a first AI coding tool at $20: read the head-to-head — pick on workflow fit, not price; they cost the same here.
  • 4–5+ hours/day of agentic work: ChatGPT Pro, $100 for 5x the Plus limits, with $200 and $500 tiers above it (the $200 tier reopened to new sign-ups by September 29, 2026). The bundled credits make the meter irrelevant, which changes how ambitiously you use the tool. Whether that tier is actually worth it for you: is ChatGPT Pro worth it.
  • Automation and CI: API key, scoped tasks, budget alerts on. Same rules as any metered compute.

Whichever meter you land on, the variable that actually moves your bill is how you work — scope, approval mode, and how much you delegate rather than supervise. That's covered separately in how to use Codex.

Codex Pro, and Plus vs Pro for Codex

There is no separate Codex Pro product. "Codex Pro" means running Codex on a ChatGPT Pro plan, and as of September 29, 2026 OpenAI's Codex pricing page lists Pro at $100, $200 or $500 a month. OpenAI paused new $200 sign-ups on September 10; its help center, read September 29, said Pro 200 was open to new subscriptions again. On October 29 OpenAI canceled the lower allowance it had planned, so every Pro 200 subscriber gets the higher one. For a new buyer the first choice is still Plus at $20 or Pro at $100.

What Pro buys in Codex now is the five-hour window going away. OpenAI's page says Pro plans currently have no five-hour limit, while Plus gets roughly 15 to 150 GPT-6 Sol local messages per window; weekly limits can still apply to both. Codex is included on every plan, Free and Go too; the tiers change how much you can run, not what you can run.

Also new on DevDay (September 29, 2026): the $500 plan is the only self-serve plan with Astra Ultrafast, a faster GPT-6 Astra mode that draws included usage at 8x the Standard rate. On Plus, the new GPT-6.1 Sol is estimated at 15 to 160 local messages per five hours. GPT-5.5 leaves Codex on every plan on October 14, 2026. For almost everyone reading a pricing page, the $500 tier changes nothing: the decision is still Plus at $20 or Pro at $100.

Update (November 17, 2026): GPT-6.2 Astra and GPT-6.2 Sol replaced the 6 and 6.1 versions as OpenAI's newest models in Codex and ChatGPT on Plus, Pro, Enterprise and Edu. Plan prices didn't change. Ultrafast is no longer $500-only: Pro 200 now gets it too, starting with GPT-6.2 Sol, and Pro 500 gets it on both. On the API, GPT-6.2 Astra is 20% cheaper than GPT-6 Astra; the rates are on GPT-6 Astra. (Source: OpenAI, "Introducing GPT-6.2 Astra and Sol," read November 17, 2026.)

Who should pay for Pro: someone whose /status shows Plus running dry most working days on Sol. If it happens once a week, Plus lets you buy credits without changing plan, which costs less than $80 more a month. A Business Premium seat is the other $100 route: it gets 5x a Standard seat's usage with no 5-hour limit, and adds admin controls and no training on your data by default.

If you want Codex to check its own work, Codex Security scans a repository for vulnerabilities from the same app. Scans draw on your Codex allowance or API bill, and the scanning of connected GitHub repos is listed for Enterprise only. Details on Codex Security.

The Bill Nobody Prices: What the Agent Ships

The subscription is the small number. The expensive part of any AI coding agent is unreviewed output making it to production — I've rebuilt enough AI-generated codebases to say the cleanup quote is routinely 100x the subscription that produced the mess. If Codex (or any agent) is shipping features customers touch, run my free 20-point vibe coding security checklist against the repo before launch. And if you're past that point and things are wobbling, book a strategy call — first one's free.

Next step Get the free cost sheet →

Free Resource Justin McKelvey

What your AI stack actually costs

Prices changed 3x this year. The always-current cost sheet: sticker price vs what heavy use actually costs for Cursor, Claude, Replit, Lovable, Bolt & more.

Frequently Asked Questions

How much does OpenAI Codex cost in 2026?
The Codex CLI is free and open source. What you pay for is model usage, two ways: bundled with a ChatGPT subscription (Plus at $20/month includes Codex credits that cover light-to-moderate daily use; Pro at $100 or $200/month covers heavy agentic work), or pay-as-you-go against an OpenAI API key — typically $5-$15/month for about an hour a day, $30-$60/month for 3-4 hours a day, and $80-$250/month for full-time agentic work.
Is Codex free?
The CLI is free (it's open source on GitHub), and if you already pay for ChatGPT Plus or Pro, Codex is included at the margin — no separate purchase. What's never free is the compute: every session burns model tokens against your subscription's credits or your API key. Practical read: a ChatGPT Plus subscriber can use Codex today at no additional cost for light work; a heavy user will hit Plus limits and face the $200 Pro tier or API overage.
Is ChatGPT Plus enough to run Codex daily?
For an hour or two a day, yes — Plus at $20/month covers light-to-moderate Codex use and it's the right starting tier for most developers. The crossover comes around 4-5 hours a day of agentic work: at that point you're either hitting Plus limits mid-task or watching API overage stack up, and ChatGPT Pro becomes the honest tier: Pro at $100/month for most people, with $200 and $500 tiers above it (the $200 tier is open to new sign-ups again, and on October 29, 2026 OpenAI canceled the allowance cut it had planned). The bundled credits at Pro make heavy Codex usage essentially free at the margin.
Is Codex cheaper than Claude Code?
The ladders now match: $20/month at entry (ChatGPT Plus vs Claude Pro), $100 in the middle (ChatGPT Pro 5x vs Claude Max, both added in 2026), and $200 near the top (ChatGPT Pro $200 vs Claude Ultra, formerly Max 20x). The wrinkles as of November 1, 2026: OpenAI's $200 tier is open to new sign-ups again after a September pause, the allowance cut it announced was canceled on October 29, and ChatGPT now sells a $500 Pro tier above it. On raw API billing they land in similar bands ($5-$250/month by workload). Most professionals I work with install both and route by task.
How do I keep Codex costs down?
Three moves. One: if you already pay for ChatGPT, use the bundled credits before touching an API key — Plus covers more than most people assume. Two: match autonomy to the job — Codex's long unsupervised runs are its superpower, but letting it grind on a vague prompt burns tokens; scope the task first. Three: watch your OpenAI usage dashboard the first month — if overage keeps appearing on top of Plus, that's the signal to price out Pro rather than pay Max money in $10 increments.
Is Codex Pro worth it over Plus?
Only if Plus is blocking you most days. As of September 29, 2026, OpenAI's Codex pricing page says Pro plans currently have no five-hour limit, against roughly 15 to 150 GPT-6 Sol local messages per window on Plus; weekly limits can still apply. Pro comes at $100, $200 or $500 a month. If you hit the Plus limit occasionally, buying credits on Plus costs less than the $80-a-month jump. If you hit it daily on real work, Pro at $100 is the honest tier.

More on Vibe Code Rescue

Datadog Pricing 2026: $15 a Host, $31 for APM, $1.70 per Million Logs, and What a Small App Pays

Datadog charges per product: infrastructure from $15 a host a month, APM from $31 a host, and logs at $0.10 a GB plus $1.70 per million events you keep searchable for 15 days, all on annual billing. A 3-server app with APM on 2 and modest logs pays about $146 a month. The line that grows fastest is log indexing.

7 min

Codex Security (2026): What OpenAI's Code Scanner Does, Which Plan Runs It, and How to Use It on an AI-Built App

Codex Security is OpenAI's vulnerability scanner inside Codex. It comes four ways: a plugin for local scans, a CLI for CI, an SDK, and Daybreak Defense Factory for connected GitHub repos. The GitHub version is Enterprise-only; OpenAI doesn't publish which plans get the local plugin. Here's how an owner of an AI-built app should run a first scan.

6 min

Neon Pricing (2026): Free Plan Limits, $0.106 per CU-Hour, and When Scale-to-Zero Stops Saving You Money

Neon's Free plan gives each project 100 compute hours a month, and its paid Launch plan bills $0.106 per CU-hour plus $0.35 per GB of storage. A small database that sleeps when idle costs about $15 a month; the same database left on all month is about $21, and on the Free plan it gets suspended around day 17.

8 min

Supabase Pricing (2026): Free, Pro $25, Team $599, and the Line Item That Jumps Your Bill

Supabase is free for 2 small projects, $25 a month on Pro and $599 on Team. Most Pro apps pay exactly $25, until monthly active users pass 100,000: then each extra user costs $0.00325, and a $25 bill becomes $204.

6 min
Justin McKelvey, Austin, TX

Written by

Justin McKelvey

I spent 12 years running snowboard and mountain-bike shops in Colorado, then taught myself to code. Since then: 50+ products shipped, Head of Product at a national sports platform, CTO at an AI startup. Now I put AI to work in real businesses in Austin, TX and remote, and write down what actually works.

Work with me

Want more help? Get the free AI stack cost sheet · Have your agent audit its own work