Codex

Codex is OpenAI's coding agent, in the ChatGPT desktop app, the open-source Codex CLI, an IDE extension and the cloud. It is included in every ChatGPT plan from Free ($0) through Plus ($20), Pro (from $100) and Business, and runs GPT-6.1 Sol by default.

Codex is OpenAI's AI coding agent: it reads a repository, writes and runs code, and opens pull requests, from the ChatGPT desktop app, the open-source Codex CLI, an IDE extension, the web and the ChatGPT mobile app. As of Nov 6, 2026 it is included in ChatGPT Free, Go ($8), Plus ($20), Pro (from $100), Business, Edu and Enterprise, or usable with an API key, and its default model is GPT-6.1 Sol. Limits depend on the plan and model: Plus gets an estimated 15 to 160 local messages every five hours on GPT-6.1 Sol, and Pro has no five-hour limit.

Codex is the natural pick for ChatGPT subscribers and anyone who wants OpenAI's newest coding models. Pick Claude Code for Anthropic's models, GitHub Copilot if your team works in GitHub and wants several companies' models on one bill, or Cursor for a full editor built around agents. The Best AI Coding Agent guide compares them.

Learn more: Codex on chatgpt.vi.ki

The word Codex in white on a soft purple and blue gradient, from OpenAI's Codex page
The word Codex in white on a soft purple and blue gradient, from OpenAI's Codex page OpenAI

Quick facts

Maker OpenAI
Launched Codex CLI Apr 16, 2025; cloud agent May 16, 2025
Get it ChatGPT desktop app (macOS, Windows), Codex CLI, IDE extension, web, ChatGPT mobile
Price Included in ChatGPT Free, Go $8, Plus $20, Pro from $100, Business $20 to $25 a seat (as of Nov 6, 2026)
Models GPT-6.1 Sol (default), GPT-6.1 Terra, GPT-6 Astra, GPT-6 Sol, GPT-6 Luna
Open source The CLI, Apache-2.0
Best for ChatGPT subscribers, parallel cloud tasks, OpenAI models

Plans and limits

Plan Price Codex access
Free $0 Included; GPT-6 Luna in the desktop app, subject to rollout
Go $8 a month Included; GPT-6 Luna
Plus $20 a month Estimated local messages per 5 hours: GPT-6.1 Sol 15 to 160, GPT-6.1 Terra 35 to 285, GPT-6 Astra 5 to 45, GPT-6 Luna 350 to 3,000
Pro $100, $200 or $500 a month No five-hour limit; weekly limits may apply
Business $20 a seat a month yearly, $25 monthly (2+ users) Standard Business matches Plus
Enterprise and Edu Contact sales Flexible pricing scales with credits

Source: Codex pricing, read Nov 6, 2026. Cloud tasks use more of the allowance than local messages, and weekly limits can apply on top. Past the allowance you can buy credits: GPT-6.1 Sol costs 50 credits per million input tokens and 250 per million output tokens, and fast and Ultrafast modes cost 2x and 6x on purchased credits.

Features

Codex CLI. An agent in your terminal, open source under Apache-2.0 with about 133,000 GitHub stars on Nov 6, 2026. Install it on macOS or Linux with curl -fsSL https://chatgpt.com/codex/install.sh | sh, on Windows with irm https://chatgpt.com/codex/install.ps1 | iex in PowerShell, or with npm install -g @openai/codex or brew install --cask codex, then sign in with ChatGPT. Version 0.167.0 on Nov 6, 2026 added an agent command center. In OpenAI's Oct 5, 2026 video the CLI showed a full-screen interface, a voice mode that started three tasks at once, and an agent list to filter, search and fork tasks into a new worktree.

The ChatGPT desktop app. Since Jul 2026 Codex lives in one ChatGPT app for macOS and Windows beside Chat and Work, with a built-in browser and computer use; this app replaced OpenAI's ChatGPT Atlas browser (TechCrunch, Jul 9, 2026).

Codex Cloud. Tasks run in a sandbox in the cloud, each preloaded with your repository, so several can run in parallel while you do something else.

IDE extension. Codex in your editor, sharing sessions with the CLI and cloud.

Models

GPT-6.1 Sol has been Codex's default since Sep 29, 2026, with a 500,000-token context window in Codex. GPT-6.1 Terra joined the CLI's catalog on Oct 29, 2026. Both are offered on Plus, Pro, Business, Enterprise and Edu, and neither is in ChatGPT's Chat. GPT-6 Luna is the small model Free and Go get. GPT-5.5 left Codex for ChatGPT sign-ins on Oct 14, 2026 (pricing page).

History

  • Apr 16, 2025: Codex CLI released as open source.
  • May 16, 2025: Codex launched in ChatGPT as a cloud agent in research preview, running codex-1, a version of o3 (InfoQ, May 2025).
  • Feb 4, 2026: Codex became a coding agent on GitHub through Agent HQ.
  • Jul 2026: Codex merged into the new ChatGPT desktop app.
  • Aug 28, 2026: OpenAI said it would stop supplying models to Cursor after SpaceX bought it (CNBC, Aug 29, 2026).
  • Sep 29, 2026: GPT-6.1 Sol became the default.

Codex vs the alternatives

  • Claude Code: Anthropic's agent on the same surfaces (terminal, IDE, desktop, web). Claude Code needs a paid plan from $20, while Codex works on ChatGPT Free. Pick by which company's models suit your work.
  • GitHub Copilot: one subscription for models from several companies inside GitHub; it can run Codex itself as an agent through Agent HQ.
  • Cursor: a full editor; after Nov 12, 2026 OpenAI's models are due to leave it.
  • Gemini CLI: Google's open-source terminal agent for Gemini models.

Frequently asked questions

Is Codex free? Yes. As of Nov 6, 2026 Codex is included in ChatGPT Free and Go, with GPT-6 Luna in the desktop app subject to rollout; the bigger GPT-6.1 models need Plus or above.

How do I install the Codex CLI? On macOS or Linux run curl -fsSL https://chatgpt.com/codex/install.sh | sh, or use npm install -g @openai/codex or Homebrew's brew install --cask codex, then run codex and sign in with ChatGPT.

What are the Codex usage limits? On Plus they are estimated at 15 to 160 local messages every five hours on GPT-6.1 Sol and 35 to 285 on GPT-6.1 Terra, with weekly limits possible. Pro has no five-hour limit.

Is Codex open source? The Codex CLI is, under the Apache-2.0 license on GitHub. The models and the cloud service are not.

Codex or Claude Code? Both are coding agents for the terminal, IDE, desktop and cloud. Codex runs OpenAI's GPT models and is included even in ChatGPT Free; Claude Code runs Anthropic's Claude models and starts with Claude Pro at $20 a month.

Sources

Moments

Introducing the Codex app

OpenAI

  1. Codex is OpenAI's AI coding agent: it reads a repository, writes and runs code, and opens pull requests, from the…
  2. Codex Cloud. Tasks run in a sandbox in the cloud, each preloaded with your repository, so several can run in parallel…

Meet the New Codex CLI

OpenAI

  1. Codex CLI. An agent in your terminal, open source under Apache-2.0 with about 133,000 GitHub stars on Nov 6, 2026…

Photos

The word Codex in white on a soft purple and blue gradient, from OpenAI's Codex page

See also

About this page

Last updated Nov 6, 2026 by the Vi.ki team. Page text CC BY-SA 4.0.

Edit History

Hotkeys

/
Jump to the search box
? or Ctrl + /
Open this list
Esc
Close this list, the photo viewer, or the account menu

Video

Space or K
Play or pause
← →
Back or forward 5 seconds
J L
Back or forward 10 seconds
0 to 9
Go to 0% to 90% of the video
, .
Previous or next frame, while paused
M
Mute or unmute
C
Captions on or off
F
Full screen on or off
A D
Previous or next moment

Photo viewer

← → or A D
Previous or next photo
↑ ↓ or W S
Previous or next photo
Home End
First or last photo
I
Show or hide the photo's info
Z
Clickless on or off: a pointer over a thumbnail shows it
N
Compare with the last photo: back to the one shown before this, and N again comes back
Q
Move the thumbnails to the next edge: top, bottom, left and round
, or Ctrl + ,
Open or close the viewer's settings
V
Clickless pan: a zoomed photo follows the pointer, rather than being dragged
Shift
Browse on or off
B
Show or hide the button bar
T
Show or hide the thumbnails
1
100% zoom on or off
0
Rate the photo as no opinion; again takes the answer back
+ -
Rate the photo a step higher or lower
F
Full screen: the photo alone. F again puts everything back.
Back to top