OpenAI Codex explained: UK pricing, how to install it on Mac and Windows, and how it compares with Claude Code and Cursor

OpenAI Codex official page on chatgpt.com, with a Download for macOS button for the Codex app

OpenAI Codex is OpenAI's AI coding agent: you describe a job in plain English, and it reads your project, edits the files and runs commands to get it done. It suits developers and small businesses already paying for ChatGPT. It is not the 2021 Codex model behind the first GitHub Copilot. Every ChatGPT plan includes some Codex use, from Free to Plus at £20 a month including VAT, and it works in the UK. Know this first: on personal plans, OpenAI can train its models on your Codex sessions unless you switch that off.

Key facts

  • What it is: An AI coding agent that reads your code, edits files, runs commands and reviews pull requests
  • Made by: OpenAI, a US company (OpenAI OpCo, LLC is the data controller for UK users)
  • Price: Limited on Free; Go £7, Plus £20, Pro from £89 a month, Business from £15 a seat (yearly), all including VAT, as of 18 October 2026
  • Free plan or trial: Yes, ChatGPT Free includes limited Codex use in the desktop app
  • Runs on: macOS (the app needs Apple Silicon), Windows, Linux (app in preview), VS Code and other editors, the web and mobile
  • What you need: A ChatGPT account or OpenAI API key, an internet connection (unless you use a local model) and a project folder
  • Open source: The CLI only (Apache 2.0); the app, cloud service and models are closed
  • Available in the UK: Yes, though Sites is not offered here and Memories starts switched off
  • Best for: Building, fixing and reviewing code if you already use ChatGPT
  • Official site: openai.com/codex
OpenAI Codex at a glance: limited use on ChatGPT Free, Go £7, Plus £20, Pro from £89 a month and Business from £15 a seat including VAT, runs on macOS, Windows, Linux, VS Code, the web and mobile, available in the UK, the CLI is open source under Apache 2.0, best for building, fixing and reviewing code if you already use ChatGPT
OpenAI Codex at a glance. Prices and availability checked against OpenAI's UK pages on 18 October 2026.

On this page

What is OpenAI Codex?

OpenAI Codex is an AI agent for software work. A chatbot hands you code to paste; Codex makes the change itself, runs the code to check it and tells you what it did.

  1. You point it at a project folder in the ChatGPT desktop app, the terminal (the text window where you type commands), your code editor or the web.
  2. You type what you want, such as "add a booking form to this website".
  3. It plans, edits files and runs tests, asking before risky steps depending on its permissions.
  4. You keep or undo the result, usually with Git (the tool developers use to track changes).

It comes in five forms sharing one ChatGPT account and allowance: the desktop app (a separate Codex app until 9 July 2026, when OpenAI merged it into the ChatGPT desktop app), the open-source Codex CLI, an editor extension, cloud tasks that run while your laptop is shut, and the ChatGPT mobile app.

The name confuses people. OpenAI's 2021 Codex was a GPT-3 model trained on code that powered the original GitHub Copilot. Today's Codex is a product, first released as a terminal tool in April 2025. As of 18 October 2026, paid plans default to GPT-6.1 Sol, Free and Go get the lighter GPT-6 Luna, and GPT-6 Astra is the strongest option. The CLI can also run open models locally through Ollama or LM Studio. For documents rather than code, the same app has ChatGPT Work, covered in our ChatGPT agents guide.

What's new in Codex in October 2026?

  • 15 October: Codex CLI 0.163.0 added a searchable /config settings panel, lets you steer Codex mid-answer and tightened its network proxy.
  • 14 October: GPT-5.5 retired from Codex for ChatGPT sign-ins. GPT-6.1 Sol replaces it on paid plans and GPT-6 Luna on Free and Go; API-key sessions are unaffected.
  • 9 October: composer predictions, which suggest your next prompt in the desktop app, arrived in beta for personal Pro subscribers.
  • 8 October: Ultrafast mode for GPT-6.1 Sol arrived on the $500 Pro tier and eligible Enterprise and Edu plans. Its inference residency covers the US and Europe (EEA and Switzerland), not the UK.
  • 7 October: OpenAI said Codex and ChatGPT Work had 40 million active users combined, a company figure blending two differently measured products. OpenAI also said paid accounts would get a banked usage reset, and posted its DevDay 2026 Codex sessions.
  • 29 September: GPT-6.1 Sol launched and became the CLI's default model.
  • 22 September: GPT-6 Sol and Luna rolled out, with Luna opening to Free and Go users.
  • 1 and 25 September: two high-severity flaws were published, then a macOS security fix shipped (see the safety section).

How much does Codex cost in the UK?

Codex pricing is simple: Codex comes with ChatGPT plans, or you pay per use with an OpenAI API key. OpenAI shows UK visitors pound prices, and UK checkout prices checked on 17 October 2026 include 20% VAT. Where no pound price is published, I have converted at $1 = £0.75. Prices are as of 18 October 2026.

Bar chart of ChatGPT plans that include Codex, in UK pounds a month including VAT: Free £0 with limited use, Go £7, Business £15 a seat billed yearly, Plus £20, Pro from £89
ChatGPT plans that include Codex, UK prices including VAT. Business is per seat, billed yearly. Checked 18 October 2026.
ChatGPT pricing page showing the Free, Go, Plus and Pro plans that include OpenAI Codex
ChatGPT's pricing page on 18 October 2026. UK visitors see pound prices: Go £7, Plus £20 and Pro from £89 a month. Screenshot: aiagents.org.uk.
PlanUS priceUK priceCodex use
Free$0£0Limited, desktop app only, GPT-6 Luna
Go$8 a month£7 a monthLight tasks, same models as Free; may show ads
Plus$20 a month£20 a monthGPT-6.1 Sol, Astra and Luna in the app, CLI, editor and cloud
Pro 100$100 a month£89 (including £14.83 VAT)No five-hour limit for now; weekly limits may apply
Pro 200$200 a month£200 (including £33.33 VAT)More than Pro 100
Pro 500$500 a monthNot checked; about £375 before VATMost usage, plus Ultrafast
Business, Standard seat$20 a seat yearly, $25 monthly£15 yearly, £18 monthlyPlus-level limits, admin controls, no training by default; two seats minimum
Business, Premium seatNot in OpenAI's docs£75 yearly, £90 monthlyDocs do not set out its Codex allowance
Enterprise and EduContact salesContact salesCredits on flexible pricing, otherwise Plus-level limits
API keyPay per tokenSee belowCLI, SDK and editor only, no cloud tasks

Oddly, Pro 200 costs more than twice Pro 100 in the UK, while in the US it is exactly double.

Usage limits in plain terms. Plus works in five-hour windows. OpenAI estimates 15 to 160 local messages (tasks run on your computer) per window with GPT-6.1 Sol, 5 to 45 with Astra and 350 to 3,000 with Luna. Cloud tasks use more, weekly caps may apply, and ChatGPT Work shares the pool. Plus and Pro can buy extra credits.

API prices per million tokens (small chunks of text), US list prices:

ModelInputOutput
GPT-6.1 Sol$2 (about £1.50)$10 (about £7.50)
GPT-6 Luna$0.10 (about 8p)$0.50 (about 38p)
GPT-6 Astra$10 (about £7.50)$50 (about £37.50)

Costs that catch people out: fast mode uses 2.5 times your normal allowance and Ultrafast 8 times; desktop voice costs $0.05 (about 4p) a minute; auto-review, where a second AI judges risky actions, makes extra model calls. See what AI agents cost in the UK.

What do you need to run Codex?

  • A Mac: the desktop app is for Apple Silicon. Intel Macs can use the CLI. OpenAI publishes no minimum macOS version.
  • Or Windows: the app comes from the Microsoft Store with a native sandbox. WSL 2 is optional; WSL 1 has been unsupported since CLI 0.115.
  • Or Linux: the CLI runs on x86_64 and Arm. The app is in preview for Ubuntu 24.04 and 26.04, Debian 13, Fedora 43 and 44, and Arch, without Computer Use.
  • An account: any ChatGPT plan, or an OpenAI API key.
  • An internet connection, unless you run a local model.
  • Optional: Git, and GitHub for cloud tasks and pull request reviews (GitLab is in beta).
  • Skills: none for the app; basic terminal confidence for the CLI.

How do you install Codex?

The desktop app is easiest. The CLI and editor extension sign in with the same ChatGPT account.

Official Codex CLI page showing how to install Codex CLI with the curl command and sign in with ChatGPT
The official Codex CLI page on 18 October 2026, with the install command and first steps. Screenshot: aiagents.org.uk.

How to install the Codex app on Mac

  1. Open OpenAI's desktop app page and click Download for macOS (Apple Silicon). You get Codex.dmg.
  2. Open it and drag the app into Applications.
  3. Open the app and sign in with ChatGPT.
  4. Open a project folder, choose Codex from the dropdown and start a chat. Success is a reply describing your project.

How to install the Codex CLI on Mac

  1. Open Terminal: press Cmd and Space, type Terminal, press Return.
  2. Paste OpenAI's installer and press Return.
curl -fsSL https://chatgpt.com/codex/install.sh | sh
  1. Open a new window and check it. Success is a version number (0.163.0 was the latest on 18 October 2026).
codex --version
  1. Go to your project and start Codex.
cd ~/Documents/my-project
codex
  1. Choose Sign in with ChatGPT and approve in your browser. The Codex prompt appears, showing the model and folder.

Homebrew (brew install --cask codex) and npm (npm install -g @openai/codex) also work. Update by re-running the installer or typing codex update.

How to install Codex on Windows

  1. For the app, install ChatGPT from the Microsoft Store, or in PowerShell run:
winget install --id 9PLM9XGG6VKS -s msstore
  1. For the CLI, paste OpenAI's installer into PowerShell:
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"
  1. Open a new window, run codex --version, then cd to your project and type codex.

To run the app's agent in WSL 2, switch it from Windows native to WSL in Settings and restart. If you keep the native agent, store projects on the Windows drive.

Linux, the web and mobile

On Linux, the Mac CLI command works. For the app preview, download your package from OpenAI's Linux page; on Ubuntu or Debian:

cd ~/Downloads
sudo apt install ./chatgpt_amd64.deb

Fedora uses sudo dnf install ./chatgpt.x86_64.rpm. With no install, Plus and higher plans can run cloud tasks at chatgpt.com/codex and follow them on mobile.

How to use Codex in VS Code

  1. Open Extensions (Cmd+Shift+X or Ctrl+Shift+X), search "Codex" and install OpenAI's extension (ID openai.chatgpt, over 15.6 million installs on 18 October 2026), or run code --install-extension openai.chatgpt.
  2. Click the Codex icon in the sidebar.
  3. Sign in with ChatGPT.

It also works in Cursor and Windsurf; JetBrains IDEs and Xcode have Codex in their own AI chat. To remove the CLI, use npm uninstall -g @openai/codex or brew uninstall --cask codex if you installed it that way; OpenAI's Mac and Linux installer puts codex in ~/.local/bin, so delete it from there.

How do you use Codex? First things to try

Be specific, and make a Git checkpoint (saved snapshot) before each task so you can undo, as OpenAI advises.

  1. Get a tour: Tell me about this project
  2. Write house rules: /init creates an AGENTS.md file of build and test steps that Codex reads every session.
  3. Plan first: Plan how to add online booking to this site. Do not change any files yet.
  4. Build something small: Create a one-page website for a bakery in Bristol with opening hours, prices and a contact form
  5. Tidy business data: Read sales-2026.csv and save total sales by month to summary.csv
  6. Fix from a screenshot: codex --image error.png "Explain this error and fix it"
  7. Check before committing: /review lists problems in uncommitted changes without editing anything.
  8. Switch from another agent: /import brings settings and recent chats from Claude Code or Cursor.

How to run Codex with a local model

If code must never leave your computer, the CLI's OSS mode uses a model running locally. Install Ollama, download an open model, then start Codex:

ollama pull gpt-oss:20b
codex --oss --local-provider ollama --model gpt-oss:20b

LM Studio works too (--local-provider lmstudio). Expect slower, weaker results, no cloud tasks and heavy memory use: see which Mac to buy for local AI and running AI agents on your Mac.

Best Codex video tutorials

Video: Kevin Stratvert on YouTube.

Kevin Stratvert builds a simple browser game in the desktop app with no coding, then covers Git, parallel agents, skills and cloud handoff.

VideoChannelLengthUploadedBest for
How to Use OpenAI Codex (Step-by-Step Tutorial)Kevin Stratvert17:118 October 2026A first project in the desktop app
OpenAI Codex Crash Course - Build & Deploy Apps with Autonomous AIfreeCodeCamp.org41:1910 September 2026Install, pricing, permissions and plan mode, then a full build
Ultimate Guide To ChatGPT Codex for Everyday PeopleSkill Leap AI24:2322 June 2026Non-coding jobs: receipts, invoices, messy folders
OpenAI Codex in 7 MinutesDevelopers Digest6:5214 June 2026A fast tour of goals, plugins and the browser
Run OpenAI Codex Locally for FREE with OllamaMervin Praison5:0415 May 2026Running it with a free local model
[Codex Has Left The Laptop \DevDay 2026](https://www.youtube.com/watch?v=XkKdbPhIvbY)OpenAI (official)22:017 October 2026OpenAI's demos of goal-level work across CLI, app and web

Watch Kevin Stratvert first, then freeCodeCamp for depth. Mervin Praison's video is from May, so check its commands against current docs.

LinkWhat it's for
Codex homepageOverview and plans
DocumentationOfficial docs (developers.openai.com/codex redirects here)
Codex CLITerminal install and use
Desktop appMac download, Windows and Linux pages
IDE extensionVS Code, Cursor, Windsurf, JetBrains, Xcode
Pricing and limitsPlans, usage estimates, credits
ChangelogWhat changed, and when
GitHub repositoryCLI source, releases, bug reports
Codex on the webCloud tasks
Privacy policy (UK, EEA, Switzerland)How OpenAI handles your data

Is OpenAI Codex safe? Privacy, security and UK GDPR

It is as safe as the permissions you give it, and its defaults are fairly cautious.

Permissions. In a Git project, Codex recommends its Auto preset: it edits files and runs commands inside the project, but asks before going outside it or online. Elsewhere it recommends read-only, and it may stay read-only until you trust the folder. A sandbox enforces this on Mac, Linux and Windows. Full access (the --yolo flag) removes sandbox and approvals; OpenAI advises against it. Cloud tasks run on OpenAI's servers, with internet access set for each environment. Computer Use, which lets Codex click and type in your desktop apps, reached the UK on 16 June 2026.

Where your data goes. Prompts, code Codex reads and its replies go to OpenAI unless you use a local model. OpenAI's European privacy policy (updated 24 August 2026) covers the UK but names OpenAI OpCo, LLC in San Francisco as controller for UK users; its Irish company covers only the EEA and Switzerland. Data is processed in the US and elsewhere under UK adequacy rules or the UK transfer addendum, and you can complain to the ICO. UK data residency is not offered on Free, Go, Plus or Pro. Your login sits in plain text at ~/.codex/auth.json unless you change it.

Training. Free, Go, Plus and Pro content can train OpenAI's models unless you opt out. Business, Enterprise and Edu data is not used by default.

Known issues. On 1 September 2026 the US National Vulnerability Database published CVE-2026-19591 (score 8.8), letting a booby-trapped repository slip a command past approval via PowerShell, and CVE-2026-19592 (7.3), letting a copied repository run a hidden program through its Git settings. A macOS fix (CVE-2026-100754) followed on 25 September. In March 2026, a since-patched flaw let malicious GitHub branch names expose GitHub tokens.

Practical settings:

  1. For client work, start read-only:
codex --sandbox read-only --ask-for-approval on-request
  1. In ChatGPT, open Settings, then Data controls, and switch off "Improve the model for everyone". Separately, switch off "Include environments" in Codex's settings.
  2. Keep your login in the system keychain and turn off analytics in ~/.codex/config.toml:
cli_auth_credentials_store = "keyring"

[analytics]
enabled = false
  1. Never use --yolo outside a throwaway container, open only repositories you trust, and keep Codex updated.
  2. Only connect MCP servers (add-ons linking Codex to other tools; see our MCP guide) you trust.

For customers' personal data, use Business or Enterprise, and read our guide to AI agents and UK GDPR.

Codex vs Claude Code, Cursor and other alternatives

In Stack Overflow's 2026 Developer Survey (published 6 October), 29.5% of 12,255 respondents had used Codex in the past year, behind Claude Code (65.5%) and GitHub Copilot (58.7%), ahead of Cursor (25.5%), Google Antigravity (16.0%) and Kilo Code (3.2%). Prices are as of 18 October 2026.

ToolPrice fromWhere it runsModelsOpen sourceBest for
OpenAI CodexFree (limited); Plus £20 including VATApp, CLI, editors, web, mobileOpenAI's GPT-6 family, or local via Ollama or LM StudioCLI only (Apache 2.0)People already paying for ChatGPT
Claude CodePro £18 including VAT; no free planTerminal, editors, desktop, web, SlackClaude onlyNoHanding off whole tasks
CursorFree; Plus $8 (about £6), Grok onlyIts own editor, plus cloud agentsGrok; others at API list price from Premium ($30)NoHands-on editing with AI help
GitHub Copilot coding agentPro $10 (about £7.50); Free excludes the agentGitHub, VS Code, JetBrains, CLISeveral, including Claude and OpenAINoTeams already on GitHub
Google AntigravityFree tier; business from $30 (about £22.50) a seatApp, CLI, editor extensionsGoogle GeminiNoTrying an agent for free
Kilo CodeFree; model rates or Kilo Pass from $19 (about £14)VS Code, JetBrains, CLIAny provider, or localYes (MIT)Private local models

Codex vs Claude Code

The closest rivals: terminal-first agents with desktop, web and editor versions. Codex is cheaper to try, since ChatGPT Free includes it, and its CLI is open source and runs local models. Claude Code is far more used by developers, and Claude Pro (£18) undercuts ChatGPT Plus (£20) in the UK. Pick the one matching the subscription you already pay for.

Codex vs Cursor

Cursor is an editor you work in, with agents alongside; Codex is an agent you hand jobs to. Cursor's cheapest paid plan covers only Grok models, and Codex runs inside Cursor through OpenAI's extension, so you can use both.

Choose Codex if you already pay for ChatGPT, Kilo Code for a fully open-source tool with any model, and Copilot if your team lives in GitHub.

Who should use Codex?

Codex suits developers handing off tests, fixes and reviews, small-business owners building simple sites and internal tools, and teams on ChatGPT Business. The free tier is the cheapest way to try a coding agent. Our guide to AI agents for UK small businesses has more ideas.

Skip it if you need UK data residency on a personal plan, or if your work is mostly documents and email, where ChatGPT Work or Claude Cowork fit better. If everything must stay on your machine, Kilo Code is simpler.

Frequently asked questions

What is OpenAI Codex?

OpenAI Codex is OpenAI's AI coding agent. You describe a task in plain English, and Codex reads your project, edits files, runs commands and tests, and reviews pull requests. Codex runs in the ChatGPT desktop app, an open-source command-line tool, editor extensions, cloud tasks on chatgpt.com and the ChatGPT mobile app.

Is OpenAI Codex free?

Partly. As of 18 October 2026, ChatGPT Free includes limited OpenAI Codex use in the desktop app with GPT-6 Luna. Plus, at £20 a month including VAT, unlocks GPT-6.1 Sol, the CLI, the editor extension and cloud tasks. Go costs £7 a month. The Codex CLI itself is free, open-source software.

How much does Codex cost in the UK?

Codex comes with ChatGPT plans. As of 18 October 2026, UK prices including VAT are £7 a month for Go, £20 for Plus, £89 for Pro 100 and £200 for Pro 200. Business seats cost £15 a month billed yearly or £18 monthly, with a two-seat minimum. Codex can also be paid per token with an API key.

How do I install the Codex CLI?

On a Mac or Linux, open a terminal and run curl -fsSL https://chatgpt.com/codex/install.sh | sh. On Windows, run OpenAI's PowerShell installer. Homebrew and npm work too. Then go to your project folder, type codex and choose Sign in with ChatGPT. Running codex --version confirms the Codex CLI is installed.

Is OpenAI Codex the same as the old Codex model?

No. The original Codex was a 2021 OpenAI model, a version of GPT-3 trained on code, which powered the first GitHub Copilot. Today's OpenAI Codex is a coding agent product, first released in April 2025, that runs OpenAI's current models such as GPT-6.1 Sol through an app, CLI, editor or browser.

Codex vs Claude Code: which should I use?

Both are capable coding agents with terminal, desktop, web and editor versions. OpenAI Codex comes with every ChatGPT plan, including Free, and its open-source CLI can run local models. Claude Code needs a paid Claude plan, from £18 a month, and is more widely used. If you already pay for ChatGPT or Claude, start with that one.

Can Codex run with a local model?

Yes. The Codex CLI's OSS mode connects to models on your own computer through Ollama or LM Studio, for example codex --oss --local-provider ollama. Your prompts and code then stay on your computer (turn off analytics too) and no subscription is needed. Local models are slower and weaker than GPT-6.1 Sol, need plenty of memory and cannot run Codex cloud tasks.

Sources

Scroll to Top