Skip to content
WhichAgent

OpenAI Codex vs Cursor

By · Updated Oct 22, 2026 · Sources linked throughout

At a glance

OpenAI CodexCursor
Form factorCLI, IDE extension, Desktop app, Cloud agent, WebIDE, CLI, Cloud agent, Web
PricingFree tier, paid from $8/moFree tier, paid from $8/mo
PlansFree: $0/mo · Go: $8/mo · Plus: $20/mo · Pro 100: $100/mo · Pro 200: $200/mo · Pro 500: $500/mo · Business Standard seat: $25/mo · Business Premium seat: $125/mo · Enterprise & Edu: contact salesFree: $0/mo · Plus: $8/mo · Premium: $30/mo · Super: $100/mo · Ultra: $200/mo · Teams: $30/mo · Enterprise: contact sales
Free tierChatGPT Free and Go include limited Codex in the desktop app (GPT-6 Luna at standard speed, subject to rollout), without Codex Cloud. The CLI can also run on an OpenAI API key billed per token, or on local models through Ollama or LM Studio.Free plan with limited Agent and Chat usage on Cursor's own Grok and Composer models. Claude, GPT and Gemini, and your own API keys, need Premium or higher.
ModelsGPT, Local models via Ollama or LM Studio, Custom OpenAI-compatible providersGrok, Composer, Claude, GPT, Gemini
Bring your own API keyYesYes
Local modelsYesNo
Open sourceYes (Apache-2.0)No
MCP supportYesYes
PlatformsmacOS, Windows, Linux, WebmacOS, Windows, Linux, Web
IDE integrationsVS Code, Cursor, Windsurf, JetBrains, XcodeJetBrains, Xcode
GitHub stars130,413—
Last commitOct 22, 2026—
StatusActiveAcquired

Verified Oct 22, 2026 (OpenAI Codex) and Oct 22, 2026 (Cursor) from official sources. GitHub figures refresh daily.

The key difference

Codex is OpenAI’s coding agent. It runs as an open-source CLI, an IDE extension, a mode in the ChatGPT desktop app, and a cloud agent that runs tasks and opens pull requests. It isn’t sold on its own: it’s included in ChatGPT plans, and it runs OpenAI’s models. OpenAI currently recommends GPT-6.1 Sol for complex coding and GPT-6 Luna for focused tasks.

Cursor is an AI-first editor, a fork of VS Code with an agent, Tab completion, a CLI and cloud agents. Since SpaceX bought it, Cursor is sold through The X Subscription, and its included usage covers Cursor’s own models: Grok 4.7, 4.6 and 4.5, and Composer 2.5.

That makes this comparison less “agent vs editor” than it used to be, and more about which models your subscription pays for:

  • Codex = OpenAI models, included in ChatGPT.
  • Cursor = Grok and Composer, included. OpenAI models cost API list price on Premium and above.

Pricing in practice

Tier Codex (ChatGPT plans) Cursor
Free Free: limited, GPT-6 Luna in the desktop app (subject to rollout) Free: limited agent and chat requests
$8 Go: lightweight use in the desktop app Plus: Cursor’s own models only
$20 Plus: Codex on web, CLI, IDE extension and iOS; cloud code review; Slack —
$30 — Premium: 4x Plus usage; GPT, Claude, Gemini at API list price
$100 Pro ($100 tier) Super: 15x Plus usage
$200 Pro ($200 tier) Ultra: 50x Plus usage
$500 Pro ($500 tier), with Ultrafast mode —
Teams Business: $25/user ($20 billed yearly), 2+ users $30, $100 or $200 per seat

Prices are from the official Codex pricing and Cursor pricing pages, checked October 22, 2026.

Features side by side

Codex Cursor
Form CLI, IDE extension, ChatGPT desktop app, cloud agent VS Code-based editor, CLI, cloud agents
Included models GPT-6.1 Sol, GPT-6 Luna (by plan) Grok 4.7, 4.6, 4.5; Composer 2.5
Other models Local and custom providers in the CLI Claude, GPT, Gemini at API list price (Premium+)
Tab completion Not offered: it’s an agent Yes
Cloud agent Runs tasks and opens pull requests Premium and up
Code review Automatic GitHub code review (Plus and up) Bugbot (Premium and up)
IDE support VS Code, Cursor, Windsurf, JetBrains, Xcode Cursor itself; JetBrains through ACP, Xcode through Xcode’s MCP bridge (paid plans)
Project instructions AGENTS.md Rules
Open source CLI (Apache-2.0) No

Using both

This pairing works better than most because the products overlap less than their names suggest:

  • Use Cursor as your editor, for Tab completion and quick agent edits on Cursor’s models.
  • Install the Codex extension in Cursor for bigger tasks on OpenAI models, paid from your ChatGPT plan.
  • Use Codex cloud to hand off work that should come back as a pull request.

Who should pick which

Choose Codex if:

  • you already pay for ChatGPT, so Codex costs nothing extra
  • you want OpenAI’s models without paying API prices on top of a subscription
  • you want an open-source CLI, local models, or Xcode and JetBrains support

Choose Cursor if:

  • you want an AI editor with Tab completion and an agent in the same window
  • Grok and Composer are good enough for most of your work
  • you want the cheapest paid plan ($8 Plus), or you already pay for The X Subscription

Hands-on test

We haven’t run a hands-on test of this pair yet. This comparison is based on each vendor’s documentation and pricing pages, linked on the Codex and Cursor pages. When we add a test, this page will name the task, the tool and model versions, and the date it was run.

Frequently asked questions

Can I use Codex inside Cursor?

Yes. The Codex IDE extension works in VS Code-based editors, including Cursor. Codex usage then comes from your ChatGPT plan, and Cursor's own plan covers its Grok and Composer models.

Does Cursor include GPT models?

Not in the included usage. Cursor's plans include Cursor's own models (Grok 4.7, 4.6, 4.5 and Composer 2.5). GPT, Claude and Gemini are available on Premium ($30/month) and above at API list price, from prepaid credit. The $8 Plus plan doesn't offer them.

Is Codex free?

Partly. ChatGPT Free and Go include limited Codex use in the ChatGPT desktop app with GPT-6 Luna, subject to rollout. Codex in the CLI, IDE extension, web and iOS starts with ChatGPT Plus at $20/month. The Codex CLI also works with an OpenAI API key or local models.

Which is cheaper, Cursor or Codex?

Cursor Plus is the cheapest paid option at $8/month, with Cursor's own models only. Codex costs nothing extra if you already pay for ChatGPT, and ChatGPT Go is also $8/month with lightweight Codex use in the desktop app. For GPT models without API charges on top, Codex on ChatGPT Plus ($20) is cheaper than Cursor Premium ($30) plus API usage.

What's the difference between Codex and Cursor?

Codex is an agent: you give it a task in the terminal, IDE extension, ChatGPT desktop app or cloud, and it works through it, including opening pull requests from the cloud. Cursor is an editor with an agent built in, made for interactive editing with Tab completion. Codex runs OpenAI models; Cursor runs its own models by default.

Is Codex open source?

The Codex CLI is open source under Apache-2.0; Codex's cloud agent and the ChatGPT desktop app are proprietary. Cursor is closed source.

Who makes Cursor now?

SpaceX, which completed its acquisition of Cursor's maker Anysphere on August 14, 2026. Cursor is sold as part of The X Subscription with Grok and X Premium.

Keep reading

Related comparisons