Justin McKelvey

Justin McKelvey

Fractional CTO · 15 years, 50+ products shipped

• Vibe Code Rescue • 5 min read •

Is Codex Free? What Actually Costs Money (2026)

Quick Answer

The Codex CLI is free — open source, no license, no trial clock. The compute behind it is not. Every session burns model usage, billed one of two ways: bundled with ChatGPT Plus ($20/month, includes Codex credits that cover light-to-moderate daily use) or Pro ($200/month for heavy agentic work), or metered against an OpenAI API key at $5–$15/month light, $30–$60 moderate, $80–$250 full-time. If you already pay for ChatGPT Plus, Codex is included at the margin — that's the closest thing to free that exists here.

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

TL;DR: Free Harness, Metered Brain

"Is Codex free" has two honest answers, and which one applies depends on what you mean by Codex. The command-line tool — the thing you install — is free and open source on GitHub. Nobody will ever invoice you for the CLI. But the CLI is a harness: it orchestrates requests to OpenAI's models, and those tokens are always billed to something. A subscription's credit allowance, or an API key with a card attached. There is no third option, which means a genuinely $0 Codex workflow doesn't exist.

That's not a gotcha — it's the standard shape of the whole category now, and once you see it you can price any AI coding tool in about a minute: ignore the license, ask what one real task costs in usage.

What the Free Part Actually Covers

  • The CLI, fully — open source, inspectable, no feature-gated "community edition" games.
  • Installation and setup — you can have it on your machine in minutes without a card.
  • Nothing that touches a model — the first prompt you run needs a ChatGPT login or an API key behind it.

The practical consequence: if you already pay for ChatGPT Plus, you already have Codex. Plus at $20/month includes Codex credits, and for light-to-moderate daily use — an hour or two of real work — that allowance holds. No separate purchase, no new subscription. For the millions of people already paying for Plus, Codex arriving bundled is the closest thing to "free" this question has.

Where the Meter Starts Biting

Credits are a meter, and agentic work is the expensive unit on it. A quick "explain this function" sips; a long unsupervised run — "migrate this module, run the tests, fix what breaks" — gulps. Codex's superpower is precisely those long autonomous runs, which means the tool's best feature is also its most expensive one.

The crossover I see in practice lands around 4–5 hours of agentic work a day: that's where Plus limits start interrupting tasks mid-run, and you're choosing between watching API overage stack up in $10 increments or moving to ChatGPT Pro at $200/month. And here's the gap worth knowing before you commit: OpenAI has no middle tier. It's $20, then $200. Claude Code offers a $100 Max step in between, which is why a 3–4 hour/day user is arguably better priced on Claude — I ran that comparison properly in the full Codex pricing breakdown.

Update (September 2026): that gap has closed. OpenAI's Codex pricing page, read on September 8, 2026, lists Pro from $100/month (5x the Plus limits) alongside the $200 tier (20x), a Go plan at $8, and credits you can buy on Plus when you hit the wall instead of upgrading. What the wall actually is, a rolling five-hour allowance per model with a weekly cap that may apply, is in Codex usage limits explained.

The Pay-As-You-Go Route

Skip the subscription entirely and Codex bills against an OpenAI API key. From the tier math in the pricing guide: roughly $5–$15/month for about an hour a day, $30–$60 for 3–4 hours, $80–$250 for full-time agentic work. The API route makes sense at the edges — very light dabbling where $20/month would be wasted, or team setups where you want one billing surface. For everyone in the middle, the bundled subscription credits are simpler and usually cheaper.

How to Decide in One Afternoon

Don't price this from a blog post — including mine. Install the CLI (free), point it at your actual codebase, and give it one task you were dreading. Watch two numbers: how much of your Plus allowance the task consumed (that's your tier forecast), and how much of the diff you'd actually ship. The first number tells you whether you're a $20 user or a $200 one. The second tells you something more important.

Both numbers depend heavily on how you work it — scope, approval mode, and whether you delegate or supervise. If you want the allowance to stretch, start with how to use Codex.

The Part That Isn't on Any Pricing Page

Because here's what I owe you as the person who fixes these codebases for a living: the subscription is the cheapest line item in AI-assisted development. Codex's long unsupervised runs are genuinely impressive — and unreviewed output from them is exactly how projects end up in my rescue queue: apps that demo beautifully and are missing the boring 20% — authorization checks, input validation, webhook verification. Fixing that after launch runs $3,500–$15,000 on my real invoices. Against that, the difference between free, $20, and $200 is noise. The compounding version of this problem is what I call Vibe Debt, and "free" tools are where it usually starts, because free quietly encourages accepting more and reviewing less.

My Honest Recommendation

If you're Plus-subscribed already: use Codex today, pay nothing extra, and see whether your usage ever threatens the limits. If you're starting from zero: $20 Plus is the right first dollar, and don't pre-buy the $200 tier until the meter tells you you're that user. If you're comparing tools before committing, the three-way against Cursor and Claude Code is the comparison that actually settles it — and my six-month Codex review covers what the meter doesn't.

Whatever tier you land on: before real users or real money touch what Codex built, run it against my free 20-point vibe coding security checklist — the same audit I run on paid rescue work. Already live and getting a bad feeling? Book a strategy call and I'll give you a straight answer.

Update: the $200 Pro tier is open again

Update (September 20, 2026): OpenAI paused new sign-ups and upgrades to Pro 20x ($200/month) on September 10, 2026, after demand for GPT-6 Astra (launched September 3) outran capacity. September 29, 2026: the pause is over. New Pro 200 subscriptions are open again, with a smaller allowance than before for anyone not grandfathered, and Pro 500 ($500/month) now sits on top. Moving up from a free or Plus setup, I'd still try Pro at $100 before either.

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

Is Codex free?
The Codex CLI itself is free — it's open source on GitHub, with no license fee and no trial period. What costs money is the model usage behind every session. You pay one of 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 at roughly $5-$15/month for light use, $30-$60 moderate, and $80-$250 for full-time agentic work.
Can I use Codex without paying anything at all?
You can install it for free, but running it requires either a ChatGPT subscription or an API key with billing attached — so a genuinely $0 Codex workflow doesn't exist. The closest thing: if you already pay for ChatGPT Plus for other reasons, Codex is included at the margin with no separate purchase, which for a Plus subscriber makes it feel free for light work.
Is Codex free with ChatGPT Plus?
Included, yes — Plus at $20/month comes with Codex credits, and for an hour or two of daily use that allowance holds. It is not unlimited: the credits are the meter, and a long multi-file agent run consumes far more of them than a quick question. The crossover comes around 4-5 hours a day of agentic work, where Plus limits start interrupting tasks and ChatGPT Pro at $200/month becomes the honest tier.
Why did my Codex usage cost money if the CLI is open source?
Because the open-source part is the harness, not the intelligence. The CLI orchestrates requests to OpenAI's models, and those tokens are billed — against your subscription's credits or your API key. This is the same split across the whole category: free tool, metered model. Judge any 'free' AI coding tool by what one real task costs in usage, not by the license.
Is Codex cheaper than Claude Code or Cursor?
Entry pricing has converged: ChatGPT Plus, Claude Pro, and Cursor Pro are all $20/month. The differences show up in the middle and at the top. Claude has a $100/month Max tier, and as of September 2026 OpenAI's Codex pricing page lists Pro from $100 (5x) as well as $200 (20x), so the two ladders now match at the middle rung; the older $20-then-$200 jump is gone. Copilot Pro at $10/month is the budget play if autocomplete is your main use. On raw API billing, Codex and Claude Code land in similar bands ($5-$250/month by workload).

More on Vibe Code Rescue

Cursor Usage Limits (2026): Why Every Tier Is a Multiple of a Number Cursor Never Publishes

Cursor's pricing page sells Pro at $20, Pro+ at $60 and Ultra at $200, and describes what you get on each as "extended", "3x Pro" and "20x Pro" agent limits. It never says what Pro's limit is. Here is what is actually published as of September 2026, the one piece of arithmetic those multipliers do allow, and why Pro+ is the tier that buys you nothing per dollar.

6 min

Base44 Tutorial (2026): Build and Ship a Working Internal Tool in an Afternoon, Step by Step

A Base44 tutorial from someone who maintains 8+ Base44 apps: build a job tracker with a form, a table, and a status filter in ten prompts, add login and permissions, import your real data, and publish it, on the free plan's 25 credits. The exact prompt at each step, the four places builds go wrong, and the point where you stop and rebuild properly.

9 min

Is Emergent Free? (2026) What the $0 Plan's 10 Credits Actually Buy, Where the $20 Tier Starts, and the Cost That Is Not on the Pricing Page

Emergent has a free plan, and it is exactly as free as ten credits a month. Read from emergent.sh/pricing on September 15, 2026: Free is $0 with 10 monthly credits, Standard is $20 a month ($17 annual) for 100 credits and private hosting, Pro is $200 ($167 annual) for 750 credits, Enterprise is custom. Here is what ten credits buys on an agent that plans, codes, and deploys a whole app, the moment you have to pay, how it lines up against Lovable's and Base44's free tiers, and the cost every free plan leaves off the page.

5 min

Antigravity vs Claude Code (2026): Google's $0 Agent IDE That Runs Claude vs the Terminal Agent Metered on Your Claude Plan

Antigravity vs Claude Code, as of September 2026: Google's Antigravity is generally available at $0 for individuals with unlimited Tab and Command and weekly rate limits on its agents, and its model menu includes Claude Sonnet and Opus 4.6. Claude Code is Anthropic's terminal agent, included on Pro from $17 a month, Max from $100, and Team seats, running the current Sonnet 5 and Opus 5 against a five-hour usage pool. Free last-generation Claude in an IDE vs current Claude in a terminal: the decision, the limits, and the math.

6 min
Justin McKelvey, Fractional CTO and AI consultant in Austin, TX

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