Menu

Explore AI your way.

Create content
Get work done
Build and automate
Compare
Guides

Languages

EnglishFrançaisEspañolPortuguêsDeutsch
About & methodology
Updated October 2026
C
Logo Codex

Codex Pricing, features & alternatives

OpenAI's coding agent for reading, editing and testing repositories in the app, CLI, IDE and web

4.5
Catalogue score
/5 · 0
Free plan Model Freemium

Codex is OpenAI's coding agent. It reads and edits repositories, runs commands and tests, and reviews code, either locally in the desktop app, CLI and IDE extension or as cloud tasks on OpenAI-managed computers. As of October 18, 2026, OpenAI's help center says Codex is included on all ChatGPT plans, and it shares usage with ChatGPT Work. Cloud tasks require an eligible paid plan. Plus, at $20, includes limited GPT-6 Astra access, and Pro starts at $100 per month. API-key use is billed separately and does not include cloud features such as GitHub code review.

Editorial assessment ·

Is Codex right for your development work?

If you already pay for ChatGPT, Codex is the coding agent to evaluate first. As of October 18, 2026, our dated editorial preference is Codex with GPT-6 Astra over Claude Code. This is not a controlled benchmark, and the competition is moving fast enough to deserve a fresh look within weeks. Start on Plus, watch how quickly Astra draws on your shared allowance, and rerun tests yourself before merging any diff.

Plans (USD, Oct 18, 2026)
Free $0, Plus $20, Pro $100, $200 or $500 per month; Go and Business also listed
GPT-6 Astra
Limited access on Plus in Work and Codex; requires CLI version 0.153.0 or later
Editorial preference
Codex with GPT-6 Astra, dated October 18, 2026; not a controlled benchmark
ChatGPT: the general assistant Codex vs Claude Code: compare the coding agents Compare AI coding assistants
Codex: reviewing a code change and the agent's explanation of the fix.

Codex: reviewing a code change and the agent's explanation of the fix.

Source: OpenAI · official product page. Provider demonstration; interface and available features may vary.

Pricing, usage and which tier fits

Listed US prices on October 18, 2026: Free at $0, Plus at $20 and Pro at $100, $200 or $500 per month. Go ($8) and Business ($20 per user billed annually for two or more users, or $25 monthly) are also listed. OpenAI's help center says Codex is included on every plan, but cloud tasks require an eligible paid plan and the right workspace settings. For Free and Go, OpenAI advertises GPT-6 Luna at Standard speed in the desktop app, subject to rollout, and GPT-6.1 Sol depends on paid rollout and workspace. Check exact client and model availability in your own account, and confirm prices at checkout.

OpenAI does not set fixed message counts. It publishes five-hour estimates for Plus and Standard Business, and Astra on Plus is limited, not unlimited. Pro currently has no five-hour cap, although weekly limits may apply. Work, local and cloud tasks draw on one shared allowance, speed settings change consumption, and optional credits can extend it. Use /status in the CLI or the usage dashboard to see where you stand. API-key billing is separate, so do not use API token rates to estimate how many tasks a subscription includes.

A review-first workflow for Codex output

Give Codex a scoped task with a clear definition of done, such as a failing test to fix, a function to refactor or a file to document. Ask it to run the relevant tests and report the commands it used. Treat that report as a claim, not proof: a task summary saying tests passed is different from a test run you have verified. Rerun the suite yourself in a clean checkout and reject changes that touch files outside the task.

Permissions are separate settings: filesystem access, network access and approvals. Codex works within what you grant and does not automatically upload your whole computer. Grant the narrowest combination the task needs, keep approvals on for commands you have not reviewed, and do not override policies set by your workspace admins. Choose the model deliberately too, because Astra, Sol and Luna differ in capability and usage cost. Using Astra in the CLI requires version 0.153.0 or later.

Before a run, check what the project folder exposes: move secrets out of reach and confirm your data controls. OpenAI's training settings apply to Codex, including Computer Use screenshots, and consumer controls differ from Business, where data is not used for training by default. After the run, read the full diff file by file, including configuration files and lockfiles, before you commit anything.

Codex: a workspace with several coding tasks and their progress.

Codex: a workspace with several coding tasks and their progress.

Source: OpenAI · official product page. Provider demonstration; interface and available features may vary.

What Codex is, and what it is not

Codex is a repository agent: it reads and edits code, runs commands and tests, and reviews changes. ChatGPT is the general assistant for writing, research, images and files. Within Codex, local and cloud tasks behave differently. Local tasks run on your own computer and depend on it staying on. Cloud tasks run on OpenAI-managed computers and may continue while your machine sleeps, but they require an eligible paid plan and workspace settings, not Free or Go.

API-key mode, in the CLI, SDK or IDE, suits CI and shared automation but excludes cloud tasks, GitHub code review and Slack, and model availability follows your key. Treat automatic code review as a useful signal, not as a merge gate on its own. Keep human review, branch protection and your own test suite in place, and count a clean automated review as one input among several.

Codex versus Claude Code in October 2026

As of October 18, 2026, our dated editorial preference is Codex with GPT-6 Astra over Claude Code. It is a preference, not a controlled head-to-head benchmark or a measured result. Both products change quickly, so the comparison deserves a fresh look within weeks, especially after a major model release on either side.

Both vendors publish their own launch claims; treat them as vendor statements, not proof for your codebase. Judge on criteria you can observe: whether the task was completed, whether tests passed when you reran them, how many corrections you had to give, and what each run actually cost against your allowance or budget. Claude Code remains a strong alternative, especially in workflows built on project instructions and hooks.

Evaluate it on your own work
  1. Proposed protocol: choose three to five closed issues with known fixes from your own repository, and give the same task brief to Codex and to each tool you are comparing.
  2. For each run, record whether the task was completed, how many follow-up corrections you gave, and whether the full test suite passed when you reran it in a clean checkout, not only in the agent's report.
  3. Log the model, permission settings (filesystem, network, approvals) and local or cloud mode for each task, so that configuration does not explain the differences.
  4. After one week, compare /status or your usage dashboard and actual spend per completed task before choosing between Plus and a Pro tier.

This is a proposed evaluation protocol, not a controlled benchmark conducted by AI Hunter. Model versions, plans and limits can change within weeks.

Official sources checked for this update

Prices are in USD unless stated otherwise. Confirm availability, billing terms and usage limits with the provider before subscribing.

Features of Codex

Multi-surface agent
Codex runs in the desktop app, CLI and IDE extension, and on the web and iOS. Sign in to the client you choose and check which clients and models your account shows.
Model choice
Plus includes limited GPT-6 Astra access alongside GPT-6 Luna; GPT-6.1 Sol depends on paid rollout and workspace settings. Using Astra in the CLI requires version 0.153.0 or later.
Local and cloud tasks
Local tasks run on your own computer. Cloud tasks run on OpenAI-managed computers, can continue while your machine sleeps, and require an eligible paid plan. Paid plans with ChatGPT sign-in add automatic code review and Slack; API-key sessions do not.
Open-source CLI
The command-line client is open source under Apache 2.0. The license covers the client, not model weights or a free unlimited service; model access still requires an eligible account or API key.

Pros and Cons

Pros

  • Works on real repositories: reads and edits code, runs commands and tests, and reviews changes
  • According to OpenAI's help center, Plus at $20 includes limited GPT-6 Astra access in Codex
  • Local tasks on your own computer plus cloud tasks on OpenAI-managed computers on eligible paid plans
  • API-key mode suits CI and shared automation, with usage-based billing

Cons

  • Usage is shared across Work, local and cloud tasks, and Astra on Plus is limited, not unlimited
  • Cloud tasks exclude Free and Go, and exact client and model access depends on rollout and account
  • API-key sessions lose cloud features such as GitHub code review and Slack
  • A task report saying tests passed is not verified success: you still need to rerun tests and read the diff

Use Cases

Fixing a bug from a failing test, then rerunning the suite yourself Iterating on a feature branch and reviewing the resulting diff Automatic code review on pull requests through cloud integrations Scripted refactors or checks in CI with API-key authentication

Ready to try Codex ?

OpenAI's coding agent for reading, editing and testing repositories in the app, CLI, IDE and web

Start for free

Guides featuring Codex

Frequently Asked Questions

Is OpenAI Codex free?
According to OpenAI's help center, Codex is included on all ChatGPT plans, including Free ($0) and Go ($8). OpenAI's pricing page lists GPT-6 Luna at Standard speed in the desktop app for those plans, subject to rollout. Cloud tasks need an eligible paid plan, such as Plus at $20. Check which clients and models your account shows.
What is OpenAI Codex?
Codex is OpenAI's coding agent. It reads and edits repositories, runs commands and tests, and reviews code. It works locally in the desktop app, CLI and IDE extension, and on eligible paid plans it can also run cloud tasks on OpenAI-managed computers. It shares pricing, credits and usage allowances with ChatGPT Work.
Codex vs Claude Code: which one should you pick?
As of October 18, 2026, our dated editorial preference is Codex with GPT-6 Astra. It is not a controlled head-to-head benchmark, and the competition can shift within weeks, so reassess it yourself. Claude Code remains strong in terminal and IDE workflows with project instructions and hooks. Compare task completion, corrections, passing tests and real spend on your own codebase.
Is OpenAI Codex open source?
The Codex CLI is open source under the Apache 2.0 license in OpenAI's official repository. That license covers the client code, not the underlying model weights or a free, unlimited hosted service. Model usage still follows your account, subscription or API billing terms.
Does Codex work with JetBrains IDEs?
Yes. JetBrains documents Codex as an agent in AI Assistant, with sign-in through a ChatGPT account, a JetBrains AI subscription or an OpenAI API key. Select Codex in AI Chat after setup. Check the integration's current requirements and permissions: JetBrains warns that its .aiignore exclusions do not apply to Codex.
How much does OpenAI Codex cost?
As of October 18, 2026, OpenAI lists Free at $0, Go at $8, Plus at $20, and Pro at $100, $200 or $500 per month in the US. Business is $20 per user per month billed annually for two or more users, or $25 billed monthly. API-key use is billed separately. Confirm current prices at checkout.
What's the difference between ChatGPT and Codex?
ChatGPT is the general assistant for conversation, writing, research, images and files. Codex is the coding agent that reads and edits repositories, runs commands and tests, and reviews code. ChatGPT Work and Codex share usage, but Chat follows separate rules, and you cannot assume ChatGPT will test your local repository.
Can Codex access my computer?
Local tasks run on your own computer through the CLI, IDE extension or desktop app, within the filesystem, network and approval permissions you set. Codex does not automatically upload your whole computer. Cloud tasks run on OpenAI-managed computers instead. Limit scope to the project folder, keep secrets out of reach, and follow any admin policies your workspace enforces.
Is OpenAI Codex worth it?
If you already pay for ChatGPT Plus, Codex is worth evaluating, because Plus includes limited GPT-6 Astra access. Its value depends on how many tasks it completes without heavy correction and whether shared limits interrupt you. Our dated editorial preference, as of October 18, 2026, is Codex with GPT-6 Astra, not a controlled benchmark result.
Is $200 Codex worth it?
The $200 Pro tier makes sense only if Plus limits regularly stop real work. OpenAI says Pro plans currently have no five-hour limit, although weekly limits may apply. On Plus, check /status in the CLI or your usage dashboard and your spend per completed task first, then weigh the extra cost against time lost waiting for resets.
Is Codex better than ChatGPT?
They do different jobs. Codex is built to read and edit repositories, run commands and tests, and review code. ChatGPT handles general writing, research, images and files. For software work, evaluate Codex; for drafting and analysis, use ChatGPT. Both come with the same subscription, and Work and Codex share usage.
Is Codex as good as Claude code now?
As of October 18, 2026, our dated editorial preference is Codex with GPT-6 Astra, not a controlled head-to-head benchmark. Both vendors publish their own claims, so do not treat either as proof. Compare task completion, corrections, passing tests and spend on your repository, and reassess when either side ships a major model update.
Codex
4.5/5 · Free plan
Try free
Privacy choices