Tailkits product guide

OpenAI Codex

OpenAI's coding agent in ChatGPT: limited on Free, Plus $20, Pro from $100

FreemiumAI Coding
Visit OpenAI Codex
Website
openai.com
Pricing
Freemium
Categories
AI Coding
Listed
Sep 2026
Updated
Nov 2026

Details about OpenAI Codex

Short verdict: OpenAI Codex is OpenAI's coding agent, included in ChatGPT plans: an open-source CLI, an extension for VS Code-style editors, the Codex part of the ChatGPT desktop app, and cloud tasks you can start from the web or your phone. Its strengths are control and reach: the Apache-2.0 CLI runs local models, and in our Linux test its sandbox kept writes inside the project and blocked the network. GPT-6.2 Sol, OpenAI's pick for most tasks since 17 November 2026, also stretches Plus to an estimated 17 to 180 local messages per 5 hours. The catch: limits are still ranges, credits and the three Pro tiers come without published numbers, and from December Plus, Pro and Business share their allowance with ChatGPT. It suits developers who already pay for ChatGPT; if you need fixed quotas, or want code kept out of training without changing settings, read the limits first.

How we reviewed it: We did not sign in to Codex or run it against a model. On 23 November 2026 we read the Codex product page, OpenAI's Codex docs at learn.chatgpt.com (pricing, models, CLI, configuration, sandboxing, cloud, integrations and the changelog), OpenAI's help articles on Pro tiers, Business, credits, usage limits and data controls, the API pricing page and the openai/codex repository. We installed @openai/codex 0.171.0 from npm into an empty folder on Linux (Ubuntu 24.04) and ran codex --help, codex doctor and codex sandbox without an account. We could not test models, cloud tasks or how far a plan's limits go. This review replaces our review of 21 October 2026. Check the Codex pricing page before you pay.

What OpenAI Codex costs and includes

WhatOpenAI Codex on 23 November 2026
TypeCoding agent from OpenAI: open-source CLI, IDE extension, the Codex part of the ChatGPT desktop app, and Codex Cloud
Where it runsCLI on macOS, Linux and Windows; IDE extension for VS Code, Cursor and Windsurf (now Devin Desktop), with Xcode and JetBrains integrations of their own; ChatGPT desktop app for macOS and Windows, Linux in preview; Codex Cloud from the web, desktop or phone; the ChatGPT app for iOS and Android; GitHub, GitLab (code review, in beta), Linear and Slack
InstallStandalone installers for macOS, Linux and Windows, npm or Homebrew
ModelsGPT-6.2 Sol, OpenAI's pick for most tasks, and GPT-6.2 Astra for complex projects (both need CLI 0.166.0 or later and support up to 1 million tokens of context), plus GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Astra, GPT-6 Sol and GPT-6 Luna. Built-in providers for Ollama and LM Studio (--oss), Amazon Bedrock and Google Cloud Vertex AI; others through config.toml
Free tierChatGPT Free: "Explore Codex capabilities on quick coding tasks", with GPT-6 Luna in the desktop app, subject to rollout. Go ($8 a month) gets the same Codex access
Paid plansPlus $20 a month; Pro $100, $200 or $500 a month, billed monthly only; Business Standard seat $25 per user a month ($20 billed annually) and Premium seat $125 ($100); Enterprise and Edu through sales
Pay as you goChatGPT credits once you reach your limits (GPT-6.2 Sol: 50 credits per million input tokens, 250 per million output; OpenAI lists no price per credit), or an API key at API prices (GPT-6.2 Sol: $2 per million input tokens, $10 per million output)
How usage is limitedPer OpenAI, estimated local messages per 5 hours on Plus and Standard Business: 17 to 180 with GPT-6.2 Sol, 6 to 50 with GPT-6.2 Astra and 350 to 3,000 with GPT-6 Luna; weekly limits may also apply; Pro has no 5-hour limit. Shared with ChatGPT Work, and from December with ChatGPT itself on Plus, Pro and Business
Open sourceCLI, SDK and app server under Apache-2.0 (openai/codex, 136.2k stars on 23 November 2026); the IDE extension and Codex Cloud are not open source, and the repository takes no outside pull requests
Data usePersonal plans: used for model training unless you turn off "Improve the model for everyone", which also covers Codex tasks. Business, Enterprise and Edu: not used for training by default
Latest notable releaseGPT-6.2 Astra and GPT-6.2 Sol in Codex (17 November 2026); CLI 0.171.0 (20 November 2026), which makes GPT-6.2 Sol the default catalog choice
OpenAI's Codex pricing docs on 23 November 2026: estimated local messages per five-hour period on Plus and Standard Business are 6-50 with GPT-6.2 Astra, 17-180 with GPT-6.2 Sol, 5-45 with GPT-6 Astra, 15-160 with GPT-6.1 Sol, 35-285 with GPT-6.1 Terra, 15-150 with GPT-6 Sol and 350-3,000 with GPT-6 Luna; Pro has no five-hour limit and weekly limits may also apply
OpenAI's own estimates on 23 November 2026: GPT-6.2 Sol gets 17 to 180 local messages per 5 hours on Plus, more than GPT-6.1 Sol's 15 to 160.

In Codex, the three Pro tiers differ in usage and speed. OpenAI says Pro 200 includes more usage than Pro 100 and Pro 500 the most, without giving numbers, and that Pro 100 and Pro 500 recently doubled their Codex allowance. Ultrafast mode, which OpenAI says generates up to 4.5 times faster on GPT-6.2, comes with Pro 500 (GPT-6.2 Astra and Sol, GPT-6 Astra and GPT-6.1 Sol) and, since 17 November 2026, Pro 200 (GPT-6.2 Sol only); Pro 100 gets none.

What we found

A 424 MB install that checks itself before sign-in

Installing @openai/codex into an empty folder with an empty npm cache took 4.5 seconds and pulled 2 packages: a small launcher and a native build for the platform (macOS, Linux or Windows, x64 or ARM64). On Linux that came to 424 MB, of which 301 MB is the codex binary; ripgrep is bundled for search. Without an account, codex doctor reported the missing credentials and the defaults it would run with: a restricted file system and network, with approvals on request.

The Linux sandbox held in our test

OpenAI says local commands run in Seatbelt on macOS, bubblewrap on Linux and WSL2, and a native sandbox on Windows. The CLI's codex sandbox command runs any command under it, so we tested Linux. In the default read-only mode, even creating a file in the project folder failed with "Read-only file system". In workspace-write mode the file appeared in the project, but writes to a sibling folder and to the project's .git folder still failed, and curl could not resolve a host. That mode also allows writes to /tmp; setting exclude_slash_tmp and exclude_tmpdir_env_var closed it in our test.

Terminal session: codex --version prints codex-cli 0.171.0; codex sandbox -- touch notes.md fails with Read-only file system; in workspace-write mode touch notes.md works while ../other/notes.md and .git/probe fail with Read-only file system, and curl to example.com fails with Could not resolve host; ls shows notes.md in the project and nothing in ../other
Codex 0.171.0's sandbox on Linux, run without an account on 23 November 2026: writes stay in the project, and .git and the network stay closed.

Local models, worktrees and reviews from one CLI

codex --help lists --oss with --local-provider set to lmstudio or ollama, three sandbox modes up to danger-full-access, --worktree to run a session in a new Git worktree, --search for live web search and --approve-for-me, which sends approval requests to automatic review. Commands include review for a non-interactive code review, an experimental cloud command that submits Codex Cloud tasks and applies their diffs locally, and agents, a command center for sessions. Besides ChatGPT sign-in, codex login takes an API key or an access token from standard input.

Cloud tasks, reviews and imports

Codex Cloud needs ChatGPT sign-in, and its tasks can be followed from the web, desktop or phone; the ChatGPT mobile app can also start work on a connected Mac or Windows PC. On GitHub, Plus, Pro, Business and Enterprise accounts get pull request reviews when you comment @codex review or turn on automatic reviews; GitLab code review is in beta on all plans. In Slack, requests now go to @ChatGPT instead of @Codex. The CLI's /import brings your setup and up to 50 chats from the last 30 days over from Claude Code and Cursor.

GPT-6.2 and a fast release pace

GPT-6.2 Astra and GPT-6.2 Sol reached Codex on 17 November 2026 for Plus, Pro, Business, Enterprise and Edu (off by default in Enterprise and Edu). OpenAI says GPT-6.2 Sol completes "more tasks on the same paid plan than with GPT-6.1 Sol", and its own usage estimates agree. The CLI moves fast too: npm lists 11 stable releases between our October review and 0.171.0 on 20 November 2026, plus 497 prerelease builds, and about 26.4 million downloads in the week of 9 to 15 November 2026.

Limits and costs to watch

  • Ranges, not quotas. In OpenAI's estimates, the high end is 8 to 11 times the low end, depending on the model, context and task; cloud tasks may use more than local messages, and weekly limits may apply on top.

  • ChatGPT joins the pool in December. OpenAI says that starting in December, Plus, Pro and Business allowances "will be shared across ChatGPT and Codex"; Instant chat won't draw from them.

  • Speed modes spend usage faster. Fast mode uses included usage at 2x the Standard rate on GPT-6.2 and 2.5x on older models. Ultrafast uses it at 6x on GPT-6.2 and 8x on GPT-6 Astra and GPT-6.1 Sol; paid with credits, GPT-6.2 Ultrafast costs 3x until 28 February 2027 and 6x from 1 March.

  • Credits have no list price. OpenAI prices usage beyond the limits in credits per token but says credit prices "depend on your plan or agreement", and credits expire 12 months after purchase.

  • API keys lose the cloud. API-key sign-in keeps the CLI, SDK, IDE extension and local chats in the desktop app, but not Codex Cloud, GitHub code review or Slack.

Pros and cons

Pros

  • Included in ChatGPT plans, from limited Free access to Pro.

  • Apache-2.0 CLI with built-in providers for local models (Ollama, LM Studio), Amazon Bedrock and Google Cloud.

  • An operating-system sandbox that, in our Linux test, kept writes in the project and blocked the network.

  • GPT-6.2 Sol gets more usage than GPT-6.1 Sol on Plus, and Pro has no 5-hour limit.

  • Business, Enterprise and Edu workspaces are not used for training by default.

Cons

  • Limits are wide ranges, weekly caps may apply, and ChatGPT shares the allowance from December.

  • Free and Go only get GPT-6 Luna in the desktop app.

  • No published price per credit, and no usage numbers for the three Pro tiers.

  • Personal-plan tasks train OpenAI's models unless you opt out.

  • API-key sign-in loses Codex Cloud and GitHub code review.

How OpenAI Codex compares

  • Claude Code also starts at $20 a month with Claude Pro, but has no free tier, runs only Claude models and is closed source. Max costs $100 and Ultra $200, which drops the 5-hour limit on verified accounts. Choose it if you prefer Claude's models. See Codex vs Claude Code.

  • Google Antigravity has a $0 individual plan with unlimited Tab completions and a weekly agent quota; Google says Claude Sonnet 4.6, Claude Opus 4.6 and GPT-OSS 120B leave that plan on 30 November 2026, which leaves Gemini 3.8 Flash. Google AI Pro at $19.99 a month adds Gemini 4 models and, on paid subscriptions, Claude Sonnet 5.5 and Opus 5.5. Its plans take no own keys, and it can import a Codex setup. Choose it for a recurring free quota.

  • OpenCode is free and MIT-licensed, signs in with a ChatGPT Plus or Pro plan, and also connects to 200+ other providers, including local models. Choose it to keep your ChatGPT plan but use a fully open-source agent or mix in other models.

Also see Codex vs Cursor: Cursor has a free plan, paid plans from $8 a month in The X Subscription, and included usage that covers only Grok and Composer models. Browse all AI coding tools for more agents and AI code editors, or AI app builders for prompt-to-app vibe coding.

Who should use OpenAI Codex

Codex fits developers who already pay for ChatGPT Plus or Pro and want one agent in the terminal, the editor and the cloud, with pull request reviews included, and Business or Enterprise teams that want their data kept out of training by default. Its open-source CLI and sandbox also suit people who want local models or a tightly fenced agent. Look elsewhere if you need fixed, published quotas, a fully open-source stack, or a free tier that goes beyond GPT-6 Luna in the desktop app.

FAQ

Is OpenAI Codex free?

Partly. As of 23 November 2026, ChatGPT Free and Go ($8 a month) include limited Codex: GPT-6 Luna in the ChatGPT desktop app, subject to rollout. Codex in the CLI, IDE extension and cloud, with GPT-6.2 Sol, starts with Plus at $20 a month. The open-source CLI can also run local models through Ollama or LM Studio, or use an API key billed per token.

How much does OpenAI Codex cost?

Codex is included in ChatGPT plans. As of 23 November 2026: Free (limited), Go $8 a month, Plus $20, Pro $100, $200 or $500 a month (monthly billing only), Business $25 per user a month or $20 billed annually (Premium seats $125 or $100), and Enterprise and Edu through sales. Beyond the limits you pay with ChatGPT credits, or use an API key: GPT-6.2 Sol costs $2 per million input tokens and $10 per million output.

What do the $100, $200 and $500 Pro plans add?

More usage and speed. None of them has a 5-hour limit. OpenAI says Pro 200 includes more usage than Pro 100 and Pro 500 the most, without publishing numbers. Ultrafast mode is not on Pro 100, covers GPT-6.2 Sol on Pro 200, and covers GPT-6.2 Astra and Sol, GPT-6 Astra and GPT-6.1 Sol on Pro 500.

Does OpenAI Codex train on my code?

On personal ChatGPT plans it can: content is used for training unless you turn off "Improve the model for everyone", which also covers Codex tasks. Business, Enterprise and Edu workspaces are not used for training by default.

Is OpenAI Codex open source?

The Codex CLI, SDK and app server are, under the Apache-2.0 license in the openai/codex repository (136.2k stars on 23 November 2026). The IDE extension and Codex Cloud are not open source, and the repository does not accept outside pull requests.

Do you make OpenAI Codex? Get a badge for your site

An optional "Featured on Tailkits" badge that links to this page. Pick light or dark and paste the code into your site, for example in the footer.

Featured on Tailkits
Featured on Tailkits