Direct answer
Codex vs Cursor is a choice between an agent you hand tasks to and an editor you code in. Codex is OpenAI's coding agent, included with ChatGPT from $20 a month. Cursor is an AI code editor, from $8 a month. Pick Codex to delegate whole tasks. Pick Cursor to stay in the code with AI beside you.
Published 25 November 2026 by the Better Design team. Prices, limits and models were read that day, in US dollars, on OpenAI's Codex docs and Cursor's pricing docs.
What is the difference between Codex and Cursor?
- What it is
- Codex is a coding agent. You describe a task, and it reads the repository, edits files, runs commands and returns a diff. Cursor is a code editor, a fork of VS Code, with Tab completions, an agent and chat built in.
- Where you use it
- Codex runs in the ChatGPT desktop app, the Codex CLI, an IDE extension, on the web and on iOS. Cursor runs as a desktop editor, with an Agents window, a CLI and Cloud Agents.
- Price
- Codex comes with ChatGPT. Plus costs $20 a month and Pro starts at $100. Cursor is now sold through The X Subscription: Plus $8, Premium $30, Super $100 and Ultra $200 a month.
- Limits
- Codex Plus has a five-hour window and weekly limits. Cursor plans have one weekly pool, and you can keep working on prepaid credit when it runs out.
- Models
- Codex runs OpenAI models only, such as GPT-6.2 Astra and GPT-6.2 Sol. Cursor includes its own models (Grok 4.7 and Composer 2.5) and, on Premium and above, Claude, GPT and Gemini at API list price.
- Overlap
- The Codex extension installs inside Cursor, so many developers use both.
Many Codex vs Cursor reviews still quote Cursor Pro at $20 and Pro+ at $60. Those are now legacy plans: new customers choose a plan on The X Subscription, which bundles Cursor with Grok and X. Existing subscribers keep their legacy plan until they switch or cancel.
Read Cursor's own note on legacy plans and The X Subscription.
Codex vs Cursor: which is cheaper?
Cursor is cheaper to start: its Plus plan costs $8 a month, against $20 for ChatGPT Plus with Codex. At the top, both reach $200 a month. The cheap Cursor plan has limits that matter, so compare the plan you would really use.
Codex plans (prices checked 25 November 2026)
- Free, $0: GPT-6 Luna at Standard speed in the desktop app, subject to rollout.
- Go, $8 a month: the same GPT-6 Luna access in the desktop app.
- Plus, $20 a month: Codex on the web, in the CLI, in the IDE extension and on iOS. It adds automatic code review, Slack, GPT-6.1 Sol and GPT-6 Luna, and you can buy extra ChatGPT credits.
- Pro, $100, $200 or $500 a month: everything in Plus with more usage and no five-hour limit for now. Ultrafast mode comes with Pro $500.
- Business, $20 per user a month billed yearly or $25 monthly, for 2 or more users. Enterprise and Edu are priced by sales.
- API key: pay per token at OpenAI's API prices, with no cloud features such as GitHub code review.
See every Codex plan and credit rate on OpenAI's Codex pricing page.
Cursor plans (prices checked 25 November 2026)
- Free, $0
- Agent, Chat and Tab completions with Cursor's own models, with limited usage.
- Plus, $8 a month or $80 a year
- Cursor's own models at fixed settings (Fast off, medium effort). No Auto, Cloud Agents, Automations, Bugbot or third-party models.
- Premium, $30 a month or $300 a year
- 4 times Plus usage. It adds Cloud Agents, Automations, Bugbot code review and third-party models at API list price.
- Super, $100 a month
- 15 times Plus usage and priority access at peak times.
- Ultra, $200 a month
- 50 times Plus usage and early access to new models.
- Teams
- $30, $100 or $200 per seat a month. Plus is not available for teams.
See every Cursor plan and model rate on Cursor's models and pricing page.
Codex vs Cursor: how do the usage limits compare?
Codex limits reset every five hours and every week. Cursor gives you one weekly pool, then lets you buy more. So Codex makes you wait, while Cursor makes you pay. That is the main complaint in Reddit threads from developers who switched between them.
OpenAI's estimate for Plus is 17 to 180 local messages per five hours with GPT-6.2 Sol, and 6 to 50 with GPT-6.2 Astra. GPT-6 Luna allows 350 to 3,000. Cloud tasks use more. When you hit the limit, Plus and Pro users can buy ChatGPT credits or run local chats on an API key.
Cursor's weekly pool covers Grok 4.7, Grok 4.6, Grok 4.5 and Composer 2.5, and it is shared with the Grok apps. Cursor's docs say third-party models such as Claude, GPT and Gemini are not part of the pool. On Premium and above, they bill at API list price from prepaid credit. Cursor also says it does not downgrade requests when the pool runs out.
Read one developer thread on switching from Codex at $20 to Cursor because of limits.
Which is better on a $20 budget?
With $20 a month, ChatGPT Plus with Codex gives you OpenAI's newer models and cloud tasks. Cursor has no $20 plan for new customers: Plus at $8 keeps you on Cursor's own models, and Premium at $30 is over budget.
Worked example, with assumptions labelled. Assume you code about two hours a day, five days a week, mostly small web fixes. Assumption: on Codex Plus with GPT-6.2 Sol, you stay inside the 17 to 180 messages per five hours most days. Assumption: on Cursor Plus, Composer 2.5 covers most of your work. Codex then costs $20 and Cursor $8. If you need Claude or GPT inside Cursor, you pay $30 for Premium plus the model's API price. We did not measure real usage for this example.
Which models can you use in Codex and Cursor?
Codex runs OpenAI models only. OpenAI calls GPT-6.2 Astra the best choice for the hardest work and GPT-6.2 Sol the pick for everyday coding. GPT-6.1 Terra is for fast writing and visual work, and Luna for simple, repeatable tasks.
Cursor lets you choose. Its own models are Grok 4.7, which Cursor trained with SpaceXAI, and Composer 2.5. On Premium and above you can also pick Claude Opus 5.5, Claude Sonnet 5.5, Gemini and OpenAI models. On 25 November 2026, the newest OpenAI model on Cursor's price list was GPT-5.6; GPT-6 models were not listed.
How do Codex and Cursor work day to day?
The Codex workflow starts with a task, such as "fix the failing login test". Then you let it work. It can keep running locally on your machine or in a cloud sandbox, and you review the diff at the end. It suits work you can describe in a few sentences and check with tests.
With Cursor you stay in the editor. Tab suggests the next lines as you type, inline edits change a selection, and the agent works across files while you watch. Cloud Agents and Automations, on Premium and above, let it work in the background too. It suits work where you want to see and steer each change.
How much context can each tool hold?
Context is how much of your code the model can read at once. OpenAI lists a default context of 272,000 tokens for GPT-6.2 Astra in Codex. On Cursor Plus, Grok 4.7 runs with a 256k context window. Cursor bills Grok 4.7 input over 256k tokens at 2 times the standard rate, up to 500k. For a single file either is plenty. For heavy multi-file changes in a large repository, the window and the cost both matter.
Where does Claude Code fit?
Many people compare three tools, not two. Claude Code is Anthropic's coding agent, and like Codex it works in the terminal and hands back a diff. It needs a paid Claude plan from $20 a month. Cursor can run Claude models on Premium and above, but Codex runs OpenAI models only.
Compare the two terminal agents in Better Design's Codex vs Claude Code guide.
Compare the editor and the agent in Better Design's Cursor vs Claude Code guide.
Can you use Codex inside Cursor?
Yes. Cursor is a fork of VS Code, so OpenAI's Codex extension installs in it. You then sign in with your ChatGPT plan, and Codex usage comes from that plan, not from your Cursor pool.
- Open Cursor and go to the Extensions view.
- Search for Codex and install the extension from OpenAI (openai.chatgpt).
- Choose the Codex icon in the sidebar, or run Codex: Open Codex Sidebar from the Command Palette.
- Sign in with your ChatGPT account.
- Create a Git checkpoint, then give Codex its first task.
Read OpenAI's Codex IDE extension guide, which lists Cursor as a supported editor.
Who should pick Codex, and who should pick Cursor?
- Pick Codex if you already pay for ChatGPT or want to hand off a task and come back to a diff. It also suits terminal-native work: codex exec runs in scripts and CI.
- Pick Cursor if you write most code yourself, want completions as you type, or want to switch between model vendors in one place.
- Pick both if your work splits: Cursor for hands-on editing, and Codex for background tasks you review later.
- New to code: start with Codex in the ChatGPT app, because you describe the result rather than edit files. Cursor expects you to read and steer code.
Codex vs Cursor for teams: which costs less?
Per seat, Codex costs less. ChatGPT Business costs $20 per user a month billed yearly, with SAML SSO and no training on business data by default. Cursor Teams seats cost $30, $100 or $200 a month. On Teams, third-party models also carry a Cursor Token Rate of $0.25 per million tokens. In return, Cursor Teams adds shared rules and plugins, usage analytics and privacy mode enforcement.
Is Codex or Cursor open source?
The Codex CLI is open source under the Apache-2.0 license, with its latest release, rust-v0.172.0, out on 24 November 2026. The Codex models and cloud are not. Cursor is closed source, and so is its CLI.
How we compared Codex and Cursor
We read each vendor's own pricing, model and setup pages on 25 November 2026 and quoted them directly. We also read developer threads on r/cursor about limits and switching, and the top-ranking comparisons, which often show older plans. We did not run a benchmark, so this guide makes no speed or code quality claim.
How do you choose between Codex and Cursor in one afternoon?
- Pick one real task, such as a bug with a failing test, and write what done means.
- Run it in Codex on ChatGPT Plus, in its own branch.
- Run the same prompt in Cursor's agent on a free or Plus plan, in a second branch from the same commit.
- Run the tests and read every changed line.
- Check how much of each plan's usage the task spent, then pay for the one that saved more time.
Install the Codex CLI from OpenAI's CLI guide.
For every Cursor plan and model rate, read Better Design's Cursor pricing guide.
For Codex plans and usage in detail, read Better Design's Codex pricing guide.
Looking past both? Read Better Design's Cursor alternatives guide.
Design from either tool
Codex and Cursor both read MCP servers. Better Design is an MCP server that turns a prompt into on-brand pages, slides and social images. The same agent can then design as well as code.
Frequently asked questions
Neither wins every task. OpenAI's agent is stronger when you delegate a whole task and review the result. Cursor is stronger when you code by hand with AI help in the editor. Test both on your own repository.
Yes. Cursor vs Codex, OpenAI Codex vs Cursor and Codex or Cursor are all the same search. What matters is the plan, the model and the kind of work you compare.
Both have a free plan. Codex Free gives GPT-6 Luna in the ChatGPT desktop app, subject to rollout. Cursor Free gives Agent, Chat and Tab with limited use of Cursor's own models.
Yes, on Premium and above, at API list price from prepaid credit. Cursor Plus and Free include only Cursor's own models. To use your ChatGPT plan instead, install the Codex extension in Cursor.
Only for existing subscribers on the legacy Pro plan. New customers choose Plus at $8, Premium at $30, Super at $100 or Ultra at $200.
