Justin McKelvey
Fractional CTO · 15 years, 50+ products shipped
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 at $200/month makes heavy use essentially free at the margin. The gap to know about: OpenAI has no middle tier — it's $20, then $200.
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 ($200/month) effectively removes the meter for one person.
- 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 ($200) is the right tier |
| 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 Missing Middle: $20, 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. OpenAI sells a cliff: Plus $20, then Pro $200, nothing between.
If you're a 3–4 hour/day agentic user, you're the person this cliff is aimed at. Plus will mostly cover you, but on heavy days you'll hit limits mid-task — and the upgrade conversation is a 10x jump, not a 2x one. Your options at that point: eat the occasional limit, run API overage on top of Plus (fine until it quietly becomes $60/month), or accept the $200 tier and stop thinking about it. 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. The middle band is the real comparison shopping: Claude's $100 Max tier and Cursor's $60 Pro+ both serve the heavy-but-not-full-time user that OpenAI's lineup skips. 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-structure gaps.
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.
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 ($200). The bundled credits make the meter irrelevant, which changes how ambitiously you use the tool.
- Automation and CI: API key, scoped tasks, budget alerts on. Same rules as any metered compute.
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 repo audit →
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 $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 at $200/month becomes the honest tier. The bundled credits at Pro make heavy Codex usage essentially free at the margin.
- Is Codex cheaper than Claude Code?
- At the entry tier it's the same $20/month (ChatGPT Plus vs Claude Pro) and at the heavy tier it's the same $200 (ChatGPT Pro vs Claude Max). The middle is where they differ: Claude has a $100/month Max tier, while OpenAI jumps straight from $20 to $200 — so a 3-4 hour/day user is arguably better priced on Claude. 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.
More on Vibe Code Rescue
Is Replit Worth It in 2026? Verdict by Who's Holding the Meter
Is Replit worth $25/month? Wrong number — the credit meter decides your real bill, and daily Agent builders land at $40-$80/month with $150+ months on record. Worth it for validating an idea? Emphatically yes. As your production home? Usually not. A segmented verdict with the real math, from someone who gets paid to rescue what AI builders ship.
Is Base44 Free? What the Free Plan Actually Covers (2026)
Base44 has a Forever Free plan — 25 message credits, 100 integration credits, unlimited apps. That's enough to build one small working prototype, not enough to ship anything. Here's what the free tier really covers, how fast the credits burn, and the honest monthly number to budget when a prototype turns into a product.
7 Claude Code Alternatives in 2026 (From Someone Who Uses Claude Code Daily)
Claude Code is my daily driver — which is exactly why I know when it's the wrong tool. Seven alternatives compared: Codex, Cursor, Windsurf, Copilot, Antigravity, Replit, and the prompt-to-app lane. With the four real reasons people leave.
How Much Does an App Cost in 2026? The Three-Lane Answer
Apps cost anywhere from $200 in AI tooling to $200,000+ at an agency in 2026 — and the "average app costs $171,000" statistic every guide quotes is mostly an ad for the people selling the $171,000 version. Here's the three-lane answer: what each lane actually buys, the iOS-plus-Android double bill, the app-store tax nobody itemizes, and how to pick a lane before someone picks it for you.
Written by
Justin McKelvey
Fractional CTO & AI consultant in Austin, TX. 15 years building software, 50+ products shipped, $53M+ in client revenue generated. I help $1M–$50M founders ship production software and automate operations with AI — without hiring a full-time executive team.
Work with me