Below is every Codex plan, what Free really includes, when the limits reset, what a task costs on the API, and the two ways to pay nothing. Updated 26 November 2026: prices and limits here were checked against OpenAI’s pricing and help pages that day.
Is Codex free?
Yes, with limits. OpenAI’s help center says it plainly: “Codex is included across ChatGPT plans, including Free and Go.” (OpenAI Help Center)
What you get for $0 is narrow. The Codex pricing page describes the Free plan as a way to “Explore Codex capabilities on quick coding tasks”, with “GPT-6 Luna at Standard speed in the desktop app, subject to rollout”. There is no Codex Cloud on Free or Go, and OpenAI publishes no number for the Free quota.
So Codex Free is a taste. For real coding sessions in your terminal or editor, OpenAI points you to Plus.
Is there a Codex free trial?
There is no separate trial to sign up for. OpenAI’s Codex pricing page describes Free and Go as “Limited trial access to Codex” and gives no end date, so the Free plan is the trial.
Is Codex free with ChatGPT Plus?
Yes. There is no separate Codex subscription: Codex comes with ChatGPT Plus at $20 a month, with no extra fee. Plus is the first plan that adds the CLI, the IDE extension, Codex on the web and iOS, within five-hour usage limits.
Is Codex better than ChatGPT?
They do different jobs, and one plan pays for both. ChatGPT chat answers questions and writes snippets you paste yourself. Codex is the coding agent: it reads your project, edits files and runs commands.
Is Codex free for students?
Partly. Verified university students in the US and Canada can claim $100 in ChatGPT credits to use in Codex, one offer per student, valid for 12 months (Codex for Students). You still need a ChatGPT Free, Go, Plus or Pro account.
Codex pricing: every plan at a glance
| Plan | Price | Where you can use Codex | Models |
|---|---|---|---|
| Free | $0 | ChatGPT desktop app | GPT-6 Luna |
| Go | $8 a month | ChatGPT desktop app | GPT-6 Luna |
| Plus | $20 a month | Web, CLI, IDE extension, iOS, plus code review and Slack | GPT-6.2 Astra and Sol, GPT-6.1 Sol, GPT-6 Luna |
| Pro | $100, $200 or $500 a month | Everything in Plus, no five-hour limit | Same, plus Ultrafast (GPT-6.2 Sol on Pro $200, more models on Pro $500) |
| Business | $20 per user a month (annual, 2+ users), $25 monthly | Desktop and mobile apps, cloud tasks | Plus-level limits on Standard Business |
| Enterprise and Edu | Contact sales | Everything in Business | Same as Plus; no fixed rate limits only with flexible pricing |
| API key | Pay per token | CLI, SDK, IDE extension, no cloud features | Any model your key can use |
| Codex CLI with a local model | $0 | CLI with --oss (Ollama or LM Studio) | Open models on your computer |
| Atomic Agent with a local model | $0 | Desktop app, terminal, Telegram | Picks an open model for your computer |
Plan prices and features from OpenAI’s Codex pricing page, 26 Nov 2026. GPT-6.2 Astra and Sol arrived in Codex on 17 November (changelog) and are listed for Plus and up in the Codex app and CLI.
What the free Codex plan includes
Free and Go get the same thing: GPT-6 Luna, at Standard speed, in the ChatGPT desktop app. Go at $8 is described as “Use Codex for lightweight coding tasks”, Free as “quick coding tasks”. OpenAI’s changelog dates Luna in the desktop app for Free and Go users to 22 September 2026.
What Free does not include, going by OpenAI’s own pages:
- The CLI, IDE extension, web and iOS. OpenAI lists these under Plus. For Free and Go it lists only the desktop app.
- Codex Cloud. The help center says “It is not included with Free or Go.”
- A published quota. The pages say only “Usage limits vary by plan.”
- Extra credits. Buying credits at the limit is described for Plus and Pro users.
Codex usage limits on Plus and Pro
Plus has a five-hour window, and weekly limits may also apply. OpenAI publishes only ranges, because a message’s cost depends on the model, the context and the task. The pricing page says: “These estimates are not fixed message limits.”
| Model | Local messages per five hours (Plus) |
|---|---|
| GPT-6.2 Astra | 6-50 |
| GPT-6.2 Sol | 17-180 |
| GPT-6.1 Sol | 15-160 |
| GPT-6.1 Terra | 35-285 |
| GPT-6 Sol | 15-150 |
| GPT-6 Astra | 5-45 |
| GPT-6 Luna | 350-3,000 |
Estimates for Plus and Standard Business from OpenAI’s Codex pricing page, 26 Nov 2026. “Weekly limits may also apply.”
Pro is the way out of the five-hour window: “Pro plans currently have no five-hour limit.” On 29 October OpenAI also doubled the Work and Codex allowance on Pro 100 and Pro 500, and lifted Pro 200 to match (release notes).
When does the Codex limit reset?
OpenAI publishes no fixed reset time. Plus and Standard Business count usage in five-hour periods, and weekly limits may also apply. Your own reset times are in three places:
- The Codex usage dashboard on the web.
- Settings > Usage in the Codex desktop app.
/statustyped during a Codex CLI session.
Three details that save surprises. Local messages and cloud chats share one allowance (pricing page). If you hit the limit during an active turn, Codex can finish that turn, subject to fair use. And if you have a banked reset (some Plus and Pro referral promotions give one), using it refreshes both the five-hour and weekly windows and moves your weekly reset date (OpenAI Help Center).
Can you use Codex without a ChatGPT subscription?
Yes. Sign in to the Codex CLI, SDK or IDE extension with an OpenAI API key, and you pay per token instead of a monthly plan. You lose the cloud features (GitHub code review, Slack), and the API bill is separate from any ChatGPT plan.
| Model | Input, per 1M tokens | Cached input | Output |
|---|---|---|---|
| GPT-6.2 Astra | $8.00 | $0.40 | $40.00 |
| GPT-6.2 Sol | $2.00 | $0.10 | $10.00 |
| GPT-6.1 Sol | $2.00 | $0.10 | $10.00 |
| GPT-6 Astra | $10.00 | $1.00 | $50.00 |
Standard-tier prices from OpenAI’s API pricing page, 26 Nov 2026.
What does a task cost? A coding task in an agent re-reads files and history many times, so input tokens dominate. Take a task that reads 200,000 tokens and writes 20,000. On GPT-6.2 Sol that is $0.40 of input plus $0.20 of output, about $0.60 before caching (re-read tokens drop to $0.10 per million, but the API also bills cache writes). On GPT-6.2 Astra the same task is about $2.40. This is example math; long refactors read far more.
How to use Codex for $0 with a local model
The Codex CLI is open source under Apache-2.0 (GitHub), and it can talk to a model on your own computer. OpenAI’s advanced config docs say: “Codex can run against a local ‘open source’ provider such as Ollama or LM Studio when you pass —oss.”
- Install Ollama or LM Studio and download an open model with tool calling.
- Start Codex with
--oss. Pick the provider for one run with--local-provider, or set it once in Codex’sconfig.toml:
oss_provider = "ollama" # or "lmstudio"The model runs on your machine, so OpenAI bills nothing. The trade-off is setup: you pick the model, run Ollama or LM Studio, and make sure it fits your memory.
A free alternative to Codex: Atomic Agent with a local model
If you want the $0 setup without assembling it yourself, Atomic Agent is an open-source (MIT) agent for your desktop, terminal and Telegram. It edits files, runs commands, uses git, browses the web, remembers across sessions, and asks before risky actions.
It picks and runs the model for you. There is no Ollama or LM Studio to set up. atomic-agent models recommend reads your RAM, GPU memory and disk and suggests a fast, a balanced and a quality pick. Its README gives examples: Qwen 3.5 9B on a 16 GB Mac, Gemma 4 26B A4B on 32 GB.
It picks up where Codex stopped. Hit your Codex limit in the middle of a task? Run this in the same folder:
atag handoff --from codexIt saves your latest Codex session as an Atomic Agent chat, with its history, and opens it with a message to carry on. A long session is shortened to fit the local model’s window. atag handoff --from codex --list lists recent sessions, add --session <id> to continue an older one, and the desktop app has the same thing as Continue from Claude Code / Codex (README). It works the other way too: since desktop v0.0.10, the chat menu has Hand off to Claude / Codex… (release notes).
It brings your Codex setup along, and shares back. atomic-agent import codex copies your Codex skills, memory and sessions, and provider keys if you opt in, without touching the originals. atag mcp-server gives Codex your Atomic Agent memory and skills, read-only by default, so both agents know your project.
It can protect what goes to the cloud. If you switch to a cloud model, Privacy Shield (new in v0.9.0, off by default) turns emails, phone and card numbers and keys into placeholders before a request leaves your computer, and puts them back in the reply.
Proof it runs at $0. On a 16 GB MacBook Air, with the free qwen-3.5-9b model, Offline mode on and analytics off, Atomic Agent merged three notes into a checklist and committed it to git in 6.5 minutes, with zero connections outside the laptop.

Atomic Agent v0.8.0, local model, Offline mode, 25 Nov 2026. Full test and setup.
The catch: a local model on a laptop is slower than GPT-6.2 Sol in the cloud (about 16 tokens per second on that Air), so it suits work you hand over and come back to. Anonymous usage analytics and crash reports are on by default; turn both off with analytics.enabled: false.
To try the same setup on your own code, download Atomic Agent for Mac, Windows or Linux, or install the terminal version:
curl -fsSL https://atomicagent.io/install | shLooking at more free options? See 9 free AI agents and the catch with each and open-source Claude Code alternatives.
What to do when you hit the Codex limit
- Wait it out. Check the reset time on the usage dashboard; weekly limits take longer.
- Buy credits. Plus and Pro users can buy credits to keep going; Business, Edu and Enterprise plans with flexible pricing can buy workspace credits. OpenAI says prices depend on your plan.
- Use a smaller model or a tighter task. OpenAI suggests checking whether a smaller model or a narrower task would still do the job.
- Use an API key. Pay per token, outside your plan’s limits.
- Move to Pro. No five-hour limit, from $100 a month.
- Hand the task to a local model.
atag handoff --from codexcontinues the same session in Atomic Agent for $0.
Which option should you pick?
- You code a few minutes a week: Codex Free or Go in the desktop app is enough.
- You code daily in the terminal or editor: Plus at $20, and Pro if you keep hitting the five-hour window.
- You run Codex in CI or scripts: an API key, priced per token.
- You want $0 with no quota and know your way around Ollama: the Codex CLI with
--oss. - You want $0 with no quota and no setup, or a place to finish tasks when Codex runs out: Atomic Agent with a local model.
Comparing Codex with Anthropic’s tool? See Codex vs Claude Code and Claude Code pricing.


