OpenAI Codex and Cursor both let an AI agent read your repo, edit files, run commands and open pull requests. But they come from very different places. Codex is a terminal-first agent bundled with ChatGPT, while Cursor is an AI code editor that now ships its own cloud agents.
Both changed a lot this month. Codex got GPT-6.2 Sol and Astra on November 17, and Cursor added voice chat with agents and live apps. This guide compares the two on price, limits, models, workflow, background agents and code review, using official pages checked on November 27, 2026.
- Entry price: both start at $8 a month. Codex Go gives the desktop app with GPT-6 Luna only. Cursor Plus gives the editor agent with Grok and Composer models only.
- Real starting tier: Codex Plus ($20) unlocks the CLI, IDE extension, cloud and code review. Cursor Premium ($30) unlocks cloud agents, Bugbot and Claude, GPT and Gemini models.
- Heavy use: Codex Pro costs $100, $200 or $500. Cursor Super is $100 and Ultra is $200.
- Models: Codex runs OpenAI models (GPT-6.2 Sol is the CLI default). Cursor mixes its own Composer 2.5 and Grok models with third-party models billed at API list price.
- Workflow: Codex lives in the terminal, desktop app and cloud. Cursor lives in a full editor, with a CLI called
agenton the side. - You can use both: the Codex IDE extension officially supports Cursor.
Quick answer: Codex or Cursor?
The two are not perfect rivals. Codex is an agent you can plug into many places. Cursor is a whole editor that also runs agents.
If you also want to see how Codex stacks up against Anthropic’s agent, read my Codex vs Claude Code comparison. For the editor side, my Cursor vs Windsurf vs Claude Code vs Cline guide covers the wider field.
Codex vs Cursor side by side
Here is the big picture. Each row is explained further down.
| Feature | OpenAI Codex | Cursor |
|---|---|---|
| What it is | Coding agent bundled with ChatGPT | AI code editor (VS Code based) with agents |
| Free option | Free plan: desktop app, GPT-6 Luna only, subject to rollout | Free plan: limited Agent and Chat with Cursor models |
| Cheapest paid | Go, $8/month (desktop app only) | Plus, $8/month (Grok and Composer only) |
| Full-feature tier | Plus, $20/month | Premium, $30/month |
| Top individual plan | Pro, $500/month | Ultra, $200/month |
| Limit style | 5-hour window plus weekly limits (Pro has no 5-hour limit) | Weekly usage pool, then prepaid credit |
| Default models | GPT-6.2 Sol, GPT-6.2 Astra | Composer 2.5, Grok 4.7, plus third-party models on Premium+ |
| Main surfaces | CLI, ChatGPT desktop app, IDE extension, web, iOS, cloud | Editor, Agents Window, CLI, web, iOS, Slack, GitHub, Linear |
| Cloud agents | Codex cloud (Plus and up) | Cloud Agents (Premium and up) |
| PR review | @codex review and automatic reviews (Plus and up) |
Bugbot, usage-based (Premium and up) |
| Project rules file | AGENTS.md | .cursor/rules, and .cursor/BUGBOT.md for reviews |
| Open source | CLI is open source (Apache-2.0) | No |
| Bring your own key | OpenAI API key for CLI, SDK and IDE (no cloud features) | Not on Plus; check plan |
Pricing and plans (November 2026)
Neither tool sells a single flat “coding” plan anymore. Codex comes with ChatGPT plans. Cursor is now sold as tiers that also include Grok features such as Grok Chat, Voice and Imagine.
Codex plans
- Free ($0) and Go ($8/month): only GPT-6 Luna at Standard speed in the desktop app, subject to rollout.
- Plus ($20/month): Codex on web, CLI, IDE extension and iOS, plus cloud integrations such as automatic code review and Slack. You can extend it with credits.
- Pro ($100, $200 or $500/month): no 5-hour limit. Ultrafast mode is on the $200 plan for GPT-6.2 Sol, and on the $500 plan for both Sol and Astra.
- Business: $20 per user per month billed yearly, or $25 monthly, for 2 or more users. It adds larger cloud VMs, SAML SSO and no training on business data by default.
- Enterprise and Edu: contact sales. Adds SCIM, RBAC, audit logs and data residency.
- API key: pay API rates for the CLI, SDK or IDE. Cloud features such as GitHub code review and Slack are not included.
For every Codex surface and credit rule, see my OpenAI Codex guide.
Cursor plans
| Plan | Price | What you get |
|---|---|---|
| Free | $0 | Limited Cursor agent and Grok Chat requests |
| Plus | $8/month | Base usage, Cursor agent, Grok models only |
| Premium | $30/month | 4x Plus usage, cloud agents and automations, Bugbot, third-party models at API list price |
| Super | $100/month | 15x Plus usage, priority model access at peak times |
| Ultra | $200/month | 50x Plus usage, earliest access to products and models |
| Teams | From $30 per user | 4x to 50x Plus usage by seat tier, SSO, central billing |
| Enterprise | Custom | Pooled usage, SCIM, audit logs, spend controls |
One detail matters a lot: on Cursor, Claude, GPT and Gemini models are billed separately by usage, even on Premium and above. My Cursor pricing guide explains the weekly pool, top-ups and legacy Pro plans.
Note: At $20 vs $30 the comparison is not apples to apples. Codex Plus includes OpenAI’s flagship models inside your allowance. Cursor Premium includes its own models in the pool, but frontier third-party models cost extra at API price.
Usage limits and how they reset
Codex limits
OpenAI gives ranges of local messages per 5-hour window for Plus and standard Business seats. The range is wide because a small question costs far less than a long repo-wide task.
| Model | Local messages per 5 hours (Plus) | Credits per 1M tokens (input / cached / output) |
|---|---|---|
| GPT-6.2 Astra | 6 to 50 | 200 / 10 / 1,000 |
| GPT-6.2 Sol | 17 to 180 | 50 / 2.5 / 250 |
| GPT-6.1 Sol | 15 to 160 | 50 / 2.5 / 250 |
| GPT-6.1 Terra | 35 to 285 | 25 / 1.25 / 125 |
| GPT-6 Luna | 350 to 3,000 | 2.5 / 0.25 / 12.5 |
- Weekly limits: OpenAI says weekly limits may also apply.
- Cloud tasks: cloud chats share the same allowance as local ones.
- Shared pool: ChatGPT Work and Codex now share pricing, credits and usage limits.
- Speed costs more: Fast mode uses 2x for GPT-6.2 models. Ultrafast uses 6x of included usage.
To check what you have left, open Settings and then Usage in ChatGPT, or run /status in the Codex CLI.
Cursor limits
- Weekly pool: each paid plan has one pool for Cursor models (Grok and Composer). It refreshes weekly.
- Multiples: Premium is 4x Plus, Super 15x and Ultra 50x.
- Beyond the pool: you can buy top-offs. Third-party models never use the pool and bill at API list price.
- Teams: eligible third-party requests add a Cursor Token Rate of $0.25 per million tokens.
Tip: On Cursor, use Composer 2.5 or Grok for routine edits, since they come from your weekly pool. Save Claude or GPT for hard problems, because those bill from credit from the first request.
Models and API prices
Codex runs only OpenAI models. Cursor runs its own models plus a long list of third-party ones. Prices below are per million tokens.
| Model | Where | Input | Cached | Output |
|---|---|---|---|---|
| GPT-6.2 Astra | Codex (OpenAI API price) | $8 | $0.40 | $40 |
| GPT-6.2 Sol | Codex (OpenAI API price) | $2 | $0.10 | $10 |
| Composer 2.5 | Cursor model | $0.50 | $0.20 | $2.50 |
| Grok 4.7 | Cursor model | $2 | $0.50 | $6 |
| Claude Opus 5.5 | Cursor third-party | $4 | $0.20 | $20 |
| Claude Fable 5.2 | Cursor third-party | $8 | $0.20 | $40 |
| GPT-5.6 Sol | Cursor third-party | $4 | $0.40 | $20 |
| Gemini 4 Carbon | Cursor third-party | $2 | $0.10 | $10 |
Key points from the official model pages:
- GPT-6.2 Sol is the default in Codex CLI 0.171.0. OpenAI pitches it for everyday coding, and says it lets paid users complete more tasks than GPT-6.1 Sol on the same plan.
- GPT-6.2 Astra is for the hardest work, such as changes across an existing codebase.
- Cursor Plus runs Cursor models at fixed settings (Fast off, medium effort).
- Cursor’s OpenAI list showed GPT-5.6 Sol, Terra and Luna when we checked, not GPT-6.2. If you want OpenAI’s newest models, Codex gets them first.
IDE vs terminal workflow
This is the biggest practical difference. It decides how your day feels more than price does.
Codex: terminal, app and cloud first
- CLI: run
codexin a project folder. Usecodex execfor scripts and CI, andcodex cloudto send work to a cloud environment and apply results locally. - Review mode: reviews uncommitted changes, a commit or a base branch, with prioritized findings, without touching your working tree.
- Desktop app: the standalone Codex app merged into the ChatGPT desktop app for macOS and Windows on July 9.
- IDE extension: works in VS Code, VS Code Insiders, Cursor and Windsurf. JetBrains and Xcode have their own integrations.
- Recent CLI features: a TUI workspace with side chats, previews and subagent transcripts is now on by default (0.171.0, November 20).
Cursor: editor first
- Editor: a VS Code style editor with Tab completion, Agent and Chat built in. Version 3.31 shipped on November 20.
- Agents Window: manages several agents, browser subagents, a Pull Requests tab and Computer Use previews on macOS.
- CLI: the command is
agent. It has Agent, Plan and Ask modes, andagent -pprint mode for scripts and CI. - Voice: since November 6 you can hold a realtime voice call with an agent, powered by Grok Voice.
Tip: You don’t have to choose one. Install the Codex extension inside Cursor, and use your ChatGPT plan for Codex while keeping Cursor’s Tab completion and editor.
Background and cloud agents
Both tools can run an agent on a remote machine while your laptop sleeps. They differ in setup and where you start tasks.
| Point | Codex cloud | Cursor Cloud Agents |
|---|---|---|
| Plans | Plus and up | Premium and up, Teams, Enterprise, legacy paid |
| Machine | Own VM per task: 2 vCPU, 8 GiB RAM, 8 GiB disk on Plus; 4 vCPU, 16 GiB, 32 GiB on Pro, Business, Enterprise | Isolated VM with cloned repo, dependencies, secrets and startup commands |
| Environment setup | Codex records an install script and start skill; you publish the environment once | Agent-led setup, snapshots or a Dockerfile |
| Internet | Full access, or a Package managers preset plus allowed domains | Network access, with allowlists |
| Start from | Web, desktop app, mobile, CLI; Slack or Teams in Enterprise | Editor, cursor.com/agents, iOS, Slack, GitHub, Bitbucket, Linear, API |
| Output | Diff and test results to review before commit or PR | Own branch and PR, with screenshots, videos and logs |
| Cost | Shares your plan allowance | Model rate from your plan; spend limit set on first use |
Cursor’s Cloud Agents were formerly called Background Agents. Cursor also lets a cloud agent build and host live apps with a database and sign-in, a feature added on November 5.
Warning: Never commit API keys for a cloud agent to find. Codex has environment variables, network secrets and a personal vault. Cursor has a Secrets tab. Use those instead.
Code review: Codex vs Bugbot
Codex code review
- Manual: comment
@codex reviewon a GitHub pull request. Codex reacts with an eyes emoji and posts a review. - Automatic: turn on Automatic review in Codex settings, then pick a Review trigger.
- Rules: add a “Code Review Rules” section to the nearest AGENTS.md.
- Focus: on GitHub, Codex flags only P0 and P1 issues.
- Cost: included from Plus. GitHub reviews count toward a Code Review allowance; local reviews count toward general limits.
- Security Review: a research preview for Pro, Business, Enterprise and Edu, not Plus.
Cursor Bugbot
- Triggers: runs on each PR update, or when you comment
cursor revieworbugbot run. - Rules: put them in .cursor/BUGBOT.md. Normal .cursor/rules files don’t apply.
- Autofix: spawns a Cloud Agent to fix findings on a new branch or the PR branch.
- Platforms: GitHub, GitLab, Bitbucket, Azure DevOps and Cursor’s Origin.
- Cost: usage-based, billed once per review to the account with Bugbot on. Autofix uses Cloud Agent credits.
In short, Codex review is cheaper to start because it is bundled with Plus. Bugbot covers more git hosts and can fix issues by itself.
Benchmarks and what’s new
Public benchmarks don’t test the two products head to head. They test models. Here is what Vals AI lists, and the versions differ, so read them with care.
- GPT-6.2 Sol (released November 17, 2026): 60.61% on Terminal-Bench 4.0 and 79.48% on Vibe Code Bench v1.1.1.
- Composer 2.5 (released May 18, 2026): 79.60% on SWE-bench and 58.43% on Terminal-Bench 2.1.
Because Cursor also offers Claude Opus 5.5, Fable 5.2 and Gemini 4 models, its ceiling depends on which model you pay for. For the full model ranking, see my ChatGPT vs Claude vs Gemini vs Grok comparison.
Last four weeks of releases
- Nov 5 (Cursor): build and share live apps from a cloud agent.
- Nov 6 (Cursor): voice chat with agents.
- Nov 17 (Codex): GPT-6.2 Astra and Sol in Work and Codex.
- Nov 20 (both): Codex CLI 0.171.0 makes GPT-6.2 Sol default; Cursor 3.31 adds shared projects in the Agents Window.
- Nov 24 (Codex): CLI 0.172.0 adds Amazon Bedrock Runtime selection for app-server clients.
How to try both free or cheap
- Install Cursor. Download it from cursor.com and sign in with a free account. Open a small test repo.
- Try the Cursor agent. Ask it to add one small feature. The Free plan gives limited Agent and Chat with Cursor models.
- Install the Codex CLI. On macOS or Linux run
curl -fsSL https://chatgpt.com/codex/install.sh | sh, or usenpm install -g @openai/codex. - Sign in. Run
codexin the same repo and choose “Sign in with ChatGPT”. Full CLI access needs Plus or higher; a free account gets the desktop app with GPT-6 Luna, subject to rollout. - Add Codex to Cursor. Install the Codex extension in Cursor and open it from the Codex icon or “Codex: Open Codex Sidebar”.
- Give both the same task. Compare the diffs, how many prompts each needed, and how much of your weekly limit each used.
- Test review. Open a PR and comment
@codex review. If you have Cursor Premium, commentbugbot runtoo.
Which to pick for each job
| If you want… | Pick | Why |
|---|---|---|
| Everyday coding in an editor | Cursor | Tab completion, inline diffs and a full IDE |
| Terminal and CI scripting | Codex | codex exec, open-source CLI |
| Big refactors with OpenAI’s best model | Codex | GPT-6.2 Astra inside your plan |
| Claude or Gemini models | Cursor Premium | Third-party models at API list price |
| Background agents from Slack, Linear or GitHub | Cursor | More start points for Cloud Agents |
| Cheap PR reviews | Codex Plus | Review included from $20 |
| Reviews on GitLab, Bitbucket or Azure DevOps | Cursor Bugbot | Supports all four hosts |
| Voice while coding | Cursor | Realtime voice calls with agents |
| Lowest budget | Tie at $8 | Codex Go or Cursor Plus, both limited |
| Heaviest daily use | Codex Pro or Cursor Ultra | Codex Pro has no 5-hour window; Ultra is 50x Plus |
Privacy is close. Codex Business does not train on business data by default. Cursor offers Privacy Mode, and Teams can enforce it.
Troubleshooting: Common Problems and Fixes
| Problem | Likely cause | Fix |
|---|---|---|
| No CLI or cloud access on a free Codex account | Free and Go only list the desktop app | Use the desktop app, upgrade to Plus, or use an API key in the CLI |
| Codex hit a limit mid-task | 5-hour or weekly allowance used | Switch to a lighter model, buy credits, or wait for the reset |
| No Cloud option in Cursor | Free and Plus exclude Cloud Agents | Upgrade to Premium or higher |
| Claude or GPT missing in Cursor | Plus is Grok models only | Upgrade to Premium; add prepaid credit |
@codex review does nothing |
Repo not connected, or trigger typed wrong | Connect the repo in Codex settings; use the exact text |
| Bugbot ignores your rules | Rules are in .cursor/rules | Move review rules to .cursor/BUGBOT.md |
| Cloud agent can’t reach a service | Network limits or missing secrets | Allow the domain and add secrets, then start a new task |
Frequently Asked Questions
Is Codex cheaper than Cursor?
At the full-feature tier, yes. Codex Plus is $20 and includes OpenAI’s flagship models, while Cursor Premium is $30 and bills Claude, GPT and Gemini separately at API price.
Can I use Codex inside Cursor?
Yes. OpenAI’s docs list Cursor as a supported editor for the Codex IDE extension. It uses your ChatGPT plan, not your Cursor usage.
Does Cursor have GPT-6.2?
Cursor’s models page listed GPT-5.6 Sol, Terra and Luna as its OpenAI options when we checked on November 27, 2026. GPT-6.2 Sol and Astra were in Codex and the OpenAI API.
Which has better background agents?
Cursor’s Cloud Agents can start from more places, including Slack, GitHub, Bitbucket and Linear, and attach screenshots and videos. Codex cloud is included from Plus and shares your plan’s allowance.
Is the Codex CLI open source?
Yes. The Codex CLI is on GitHub under the Apache-2.0 licence. Cursor’s editor and CLI are not open source.
Do Codex and Cursor have free plans?
Both do. Codex Free gives GPT-6 Luna in the desktop app, subject to rollout. Cursor Free gives limited Agent and Chat with Cursor models.
Which is better for code review?
Codex review is bundled from Plus and flags only high-priority P0 and P1 issues on GitHub. Bugbot costs extra per review but supports more git hosts and can Autofix findings.
Sources
- OpenAI Codex pricing and usage limits
- OpenAI Codex changelog
- Codex CLI docs
- Codex IDE extension docs
- Codex cloud environments
- Codex code review in GitHub
- openai/codex on GitHub
- OpenAI API pricing
- Cursor pricing
- Cursor models and pricing
- Cursor Cloud Agents docs
- Cursor Bugbot docs
- Cursor CLI overview
- Cursor changelog
- Cursor release notes
- Vals AI: GPT-6.2 Sol
- Vals AI: Composer 2.5




