Claude Code, Codex or Cursor? Pick by how you work.

All three now read AGENTS.md, speak MCP and run agents in the cloud. What still differs is where you work, which models you want and how you pay.

A dirt path splitting into two through a field
Photo by Lidia Nikole on Unsplashdithered by Cyborb

Pick Claude Code if you want Anthropic’s Claude models and like to work from a terminal or a dedicated agent app. Pick Codex if you already pay for ChatGPT, want a free way in, or want OpenAI’s GPT-6 models. Pick Cursor if you want to work inside an AI-first editor and switch between models from several labs.

All three are strong, and in 2026 they converged on the same building blocks. So the real choice in Claude Code vs Codex vs Cursor is about interface, models and price. Everything below was checked on September 22, 2026.

The short version
  • Claude Code is the most used agent at work (39% in JetBrains’ 2026 survey). It runs Claude models and starts at $20 a month.
  • Codex runs OpenAI’s GPT-6 models, has a free tier with GPT-6 Luna, an open-source CLI, and pull request reviews.
  • Cursor is an AI-first editor with its own Composer model plus Claude, GPT, Gemini and Grok, from $20 a month.
  • All three read AGENTS.md and support MCP, skills and subagents, so switching later costs less than it used to.
  • On the Terminal-Bench 4.0 leaderboard, the best Claude Code and Codex runs are statistically tied. Today’s Opus 5.5 is not listed yet, and neither is Cursor.

Claude Code vs Codex vs Cursor at a glance

All three are among the four most used coding agents at work, according to JetBrains’ survey of more than 15,000 professional developers from May to July 2026.

39%
use Claude Code at work
JetBrains, August 2026
16%
use OpenAI Codex, up from 3% in January
JetBrains, August 2026
12%
use Cursor, down from 18% in January
JetBrains, August 2026
Claude CodeCodexCursor
Made byAnthropicOpenAIAnysphere, now part of SpaceX
Home baseTerminal and desktop appChatGPT desktop app and CLIIts own code editor
Also runs inVS Code, JetBrains, webIDE extensions, web, iOSCLI, cloud agents
ModelsClaude: Opus 5.5, Fable 5.1, Sonnet 5GPT-6 Astra, Sol, LunaComposer 2.5, Claude, GPT, Gemini, Grok
Background workCloud sessions, routines, ProjectsCloud tasksCloud agents, Projects
Code reviewAutomated PR reviewsGitHub and GitLab reviewsBugbot
Instructions fileCLAUDE.md, or AGENTS.mdAGENTS.mdAGENTS.md or rules

The last row matters more than it looks, because one file can now brief all three.

A few lines are enough to start:

AGENTS.md
## Commands
- Install: npm install
- Test: npm test (run before every commit)
- Lint: npm run lint

## Rules
- TypeScript only, with small, typed functions.
- Never edit files in src/generated/.
- Ask before adding a new dependency.

Our AGENTS.md guide shows how to write a good one.

Claude Code: where it shines, and where it does not

Claude Code started in the terminal and now also runs in VS Code, JetBrains, a desktop app and the browser. The desktop app runs parallel sessions with Git isolation and shows visual diffs. On macOS it can also use apps you approve in the background, in beta.

Where it shines
  • The most used coding agent at work in JetBrains’ May to July 2026 survey
  • Deep customization: skills, hooks, subagents, plugins and MCP, plus a new command to test plugins
  • Claude’s newest models on day one, including Opus 5.5 at $4 and $20 per million API tokens
  • Strong Terminal-Bench 4.0 results: 57.9% ± 3.8 on the leaderboard with Fable 5.1, and 66.4% reported by Anthropic for Opus 5.5
Where it does not
  • Built for Claude models only
  • No free plan: subscriptions start with Claude Pro at $20 a month
  • Coding and chat share one usage pool on subscription plans

It suits developers who run long, multi-step jobs across big codebases and are happy to commit to one model family.

Codex: where it shines, and where it does not

Codex lives in the ChatGPT desktop app, an open-source CLI, IDE extensions, the web and iOS. Cloud tasks run on OpenAI’s machines, and Codex can review pull requests on GitHub and GitLab when you mention @codex.

Where it shines
  • A free tier with GPT-6 Luna in the desktop app, as it rolls out
  • One subscription covers ChatGPT and coding
  • Open-source CLI under Apache-2.0 with about 126,000 GitHub stars
  • GPT-6 Astra in Codex holds the top Terminal-Bench 4.0 leaderboard score (58.2% ± 2.8)
Where it does not
  • Built around OpenAI’s models
  • GPT-6 Astra is tightly metered on Plus: OpenAI estimates 5 to 45 local messages per five hours
  • Signing in with an API key drops cloud features like GitHub review and Slack

It suits developers already paying for ChatGPT, teams that want reviews on every pull request, and anyone who wants to try an agent before paying. One housekeeping note: GPT-5.5 leaves Codex on October 14, 2026, so update any saved settings that name it.

Cursor: where it shines, and where it does not

Cursor is a full code editor built around AI, with Tab completions as you type, an agent, a CLI and cloud agents. In September it added Projects, in beta: a coordinator agent plans a large piece of work, hands it to many agents and keeps shared context over months.

Where it shines
  • The most model choice of the three, including its own Composer 2.5
  • Built for watching and steering each edit inside the editor
  • Cloud agents can run on self-hosted machines, keeping code inside your network
  • Simple individual tiers: Pro $20, Pro+ $60, Ultra $200
Where it does not
  • Its best experience assumes you switch to its editor
  • Bugbot code review is billed on usage for individual plans
  • Now a SpaceX subsidiary, which some companies will want to review

It suits developers who want AI inside the editor, like trying new models, and want one tool for both typing and delegating.

How much do Claude Code, Codex and Cursor cost?

List prices for individuals, in US dollars per month, as of September 22, 2026. All three change pricing often, so check before you buy.

Claude CodeCodexCursor
FreeNot includedGPT-6 Luna in the desktop app (Free, or Go at $8)Hobby: limited agent requests
StandardClaude Pro: $20, or $17 billed yearlyChatGPT Plus: $20Pro: $20
Heavy useMax from $100 (5x or 20x Pro usage)Pro from $100 (5x or 20x Plus usage)Pro+ $60, Ultra $200
Teams$25 per seat, premium seat $125Business: $25 per userTeams: $40 per user
Pay as you goAPI credits via a Console accountAPI key, billed at API ratesOn-demand usage past your plan

Yearly billing lowers some of these: Claude Team seats drop to $20 and $100, and ChatGPT Business to $20 per user. All three also let you keep working past your plan’s limits by paying for extra usage.

Which is best for you? Three scenarios

You maintain a large backend and live in the terminal. Start with Claude Code or the Codex CLI. Both handle long, multi-file jobs, both read AGENTS.md, and their top Terminal-Bench 4.0 runs are within a fraction of a point. Pick the model family whose output you trust more on your own code.

You build interfaces and want to see every change. Start with Cursor. Watching edits land in the editor, with completions as you type, suits visual, iterative work. You can still try Claude, GPT or Composer on the same task.

Your team wants to hand off tickets and review pull requests. Start with Codex if you already pay for ChatGPT, since cloud tasks and @codex reviews come with it. Claude Code’s automated reviews and Cursor’s Bugbot are close alternatives, so run each on a week of real pull requests.

If you care most aboutPick
Claude models in a terminal or agent appClaude Code
A free way to startCodex, or Cursor’s Hobby plan
One subscription for ChatGPT and codingCodex
Trying many models in one editorCursor
Watching every edit as it happensCursor
The most widely used agent at workClaude Code

Whichever you lean toward, test it on your own tasks for a week. Good prompts help any of them, and our prompts for coding agents are a quick start.

Use more than one without the mess

You do not have to pick just one. You might use an editor agent for daily work and a cloud agent for chores. Keep one AGENTS.md at the root of your repository so every agent follows the same rules, and keep tasks small enough to review. Some of those chores run best unattended in CI; here is how to wire an agent into GitHub Actions.

For the rest of the field, including Copilot, Antigravity, Devin and Kiro, see the best AI coding agents of 2026.

FAQ

Is Claude Code better than Codex?

Neither wins everywhere. Their best runs are statistically tied on the Terminal-Bench 4.0 leaderboard, and the choice usually comes down to which model family works better on your code and which subscription you already have.

Can I use Claude models in Cursor?

Yes. As of September 2026, Cursor offers Claude Opus 5.5, Fable 5.1 and Sonnet 5 alongside GPT, Gemini, Grok and its own Composer 2.5, subject to your plan’s limits.

Is Codex free?

Partly. ChatGPT Free users get GPT-6 Luna in the Codex desktop app as it rolls out, as does the $8 Go plan. The CLI, IDE extension, cloud tasks and the bigger models need Plus or higher, or an API key.

Do Claude Code, Codex and Cursor work with the same project files?

Yes. All three read AGENTS.md for project instructions and support MCP for connecting tools, so one repository can serve all of them.

Key takeaways
  • Claude Code: Claude models, terminal and desktop app, most used at work, from $20.
  • Codex: GPT-6 models, a free tier, an open-source CLI and pull request reviews.
  • Cursor: an AI-first editor with the most model choice of the three, paid plans from $20.
  • All three read AGENTS.md and support MCP, so you can switch or mix them.
  • Decide with a week of real tasks, not a leaderboard.

Read next: the best AI coding agents of 2026, or write an AGENTS.md file that works with all three.

Sources
  1. AI coding agents: adoption trends, JetBrains, August 2026
  2. Claude plans and pricing, Anthropic, accessed September 2026
  3. Claude Code overview, Anthropic, accessed September 2026
  4. Model configuration, Claude Code docs, accessed September 2026
  5. Manage Claude’s memory: AGENTS.md, Claude Code docs, accessed September 2026
  6. Claude Code what’s new, weeks 36 and 37, Anthropic, September 2026
  7. Use Claude Code in the cloud, Claude Code docs, accessed September 2026
  8. Claude Opus 5.5, Anthropic, September 2026
  9. Codex pricing, OpenAI, accessed September 2026
  10. Codex models, OpenAI, accessed September 2026
  11. Codex documentation index, OpenAI, accessed September 2026
  12. openai/codex, GitHub, September 2026
  13. Cursor pricing, Cursor, accessed September 2026
  14. Cursor models, Cursor, accessed September 2026
  15. Rules and AGENTS.md, Cursor, accessed September 2026
  16. Cursor changelog, Cursor, September 2026
  17. SpaceX completes record $60 billion acquisition of AI coding platform Cursor, Investing.com via Yahoo Finance, August 2026
  18. Terminal-Bench leaderboard, Terminal-Bench, accessed September 2026
cyborb.ai

Stop reading about it. Build it.

Describe what you want in plain words. Cyborb plans the work, writes and runs the code, makes the assets, and puts the result online.

Download Cyborb

Free to start. No card required.