Claude Code vs Codex vs Cursor comes down to where a developer wants the agent to work and who pays for usage. GitHub Copilot is the fourth option. Pull requests are where Copilot ties in deepest. Sections below sort the tools by working style first, because that choice outlasts any single model or price change.
Four Tools Split Along Four Working Styles
Overlap is large. Each vendor's documentation lists several surfaces, and the table below records what those pages name, so it describes structure rather than rankings.
| Tool | Home surface | Other surfaces named in vendor docs | Instruction file |
|---|---|---|---|
| Claude Code | Terminal | VS Code and Cursor extension, JetBrains plugin, desktop app, web, Slack, GitHub Actions | CLAUDE.md; can read AGENTS.md instead |
| Codex | ChatGPT app and CLI | IDE extension, cloud tasks, GitHub, Slack, Linear | AGENTS.md |
| Cursor | AI code editor | CLI, background agents, web and mobile, Slack, GitHub, Linear | Rules (named in its docs navigation) |
| GitHub Copilot | IDE | GitHub website, GitHub Mobile, CLI, desktop app, cloud agent | Custom instructions |
Overlap means the first question is habit, not feature count. A developer who lives in a terminal, one who lives in an editor, and a team that lives in pull requests will land in different places. Pricing, controls, and review fit then break ties.
Terminal Agents Suit Developers Who Live on the Command Line
Claude Code is described in its overview as "an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools." Terminal is the home surface, and the tool also runs in the desktop app, in a browser, and through IDE extensions. Codex's CLI does similar work: its docs say it lets Codex "inspect files, make edits, and run the tools already installed on your machine." Both fit script-heavy work.
Both support subagents, MCP servers, hooks, and reusable skills. Instruction files carry project rules between sessions, and Claude Code can read an existing AGENTS.md file in place of CLAUDE.md, which eases using two tools on one repository. Saganote's guide to Claude Code skills for everyday coding shows how that reuse works in practice.
Editor-Centered Tools Suit Developers Who Review in the IDE
Cursor's documentation calls it "an AI-powered code editor that understands your codebase." Copilot started in the IDE and still lists it first among its surfaces. Editors keep review close. Developers who review diffs visually and accept changes line by line may favor this model, and Saganote's Copilot, Cursor, and Tabnine comparison goes deeper on that pair.
Boundaries between the styles are blurry. Claude Code ships an extension for VS Code and for Cursor, so the two can share a window. Copilot lets users change models, and Saganote's walkthrough of using Kimi K3 in GitHub Copilot shows the pattern. Ownership also moves, as the SpaceX acquisition of Cursor for $60 billion showed, and Cursor's pricing page now links SpaceX-related terms.
Cloud and Background Agents Suit Delegated Tasks
All four now run remote work. Codex Cloud runs tasks in isolated containers managed by OpenAI, and each task keeps its own workspace. Copilot's cloud agent can research a repository, plan changes, and implement them in the background, per GitHub's docs, using a cloud sandbox or a GitHub Actions runner. Cursor lists background agents, and Claude Code lists cloud scheduled tasks and a web version.
By default, the agent runs with network access turned off.
Codex documentation, agent approvals and security page
That default matters for delegated work. A cloud task cannot reach package registries or internal services unless the environment allows it, and teams often adjust that per project. Review stays the human step in every case, since the agent returns a branch or pull request for approval.
Team Channels and Pull Requests Decide Collaboration Fit
Teams already work in chat tools and code hosts. Claude Code accepts an @Claude mention in Slack, Codex lists Slack and Linear integrations, and Cursor lists Slack, Linear, and GitHub. Copilot reaches into chat too, as the arrival of GitHub Copilot in Microsoft Teams for coding tasks and the launch of Slack Code for coding agents in team channels show.
Copilot ties closest to the pull request. GitHub says a branch protection rule can prevent Copilot from creating or updating pull requests, and a session without write access is read-only. Teams that already govern work through GitHub rules inherit those controls without extra setup.
Pricing Follows Three Models, and the Numbers Change
Prices change faster than anything else in this comparison, so the model matters more than the amount. Claude and ChatGPT sell subscription plans with usage windows, and Claude's pricing page says Claude Code "shares the same usage limits as the rest of your plan." Copilot sells monthly credits worth one cent each. Cursor sells a weekly usage pool, and third-party models are billed on top at API list prices.
The table below was checked on November 3, 2026 against each vendor's page. Plans, limits, and model access change often. Saganote keeps current detail in its GitHub Copilot pricing guide and its ChatGPT versus Claude pricing comparison.
| Tool | Entry paid plan (snapshot) | Higher tiers (snapshot) | Usage model |
|---|---|---|---|
| Claude Code | Claude Pro, $20 monthly or $17 billed annually | Max $100, Ultra $200 | Shared plan limits every five hours and weekly; usage credits at API rates |
| Codex | ChatGPT Plus, $20 | Pro from $100 | Local messages and cloud tasks share one allowance; extra credits available |
| Cursor | Premium, $30 (Plus, $8, is labeled introductory and Grok-only) | Super $100, Ultra $200 | Weekly usage pool; third-party models billed separately |
| GitHub Copilot | Pro, $10 | Pro+ $39, Max $100 | Monthly AI credits at $0.01 each; budget-capped overage |
Seat pricing differs for organizations. Claude's Team standard seat is $20 monthly per seat when billed annually, and its Enterprise plan adds usage at API rates on top of a seat price. Saganote's Copilot pricing guide lists Business at $19 and Enterprise at $39 per seat, though GitHub's plans page did not show those two prices when checked.
Permissions, Sandboxes, and Enterprise Controls
Codex documents the clearest set of approval modes. An auto preset lets it read files, edit, and run commands in the working directory, and it asks before leaving the workspace or using the network. Stricter options include read-only and on-request, while a flag labeled not recommended removes the sandbox and approvals entirely. On macOS and Linux it uses operating system sandboxing, per the same docs.
Enterprise needs differ from personal ones. Codex lists a Compliance API, audit events, managed configuration, and roles. GitHub lists enterprise policies and audit logs, and says Actions-based cloud sessions keep data for 28 days. Claude Code's overview page did not cover its permission modes or data policies, and Cursor's agent pages were blocked from automated reading, so those controls need a direct check with each vendor.
Benchmarks Measure Models, Not Whole Tools
Benchmarks score a model, not a tool. Public coding benchmarks score a model inside a test harness, while a tool wraps that model with its own prompts, context handling, and permissions, which changes results. Because most of these products let users switch models, a leaderboard rank rarely settles a tool choice.
Scores also age quickly. Saganote's comparison of Kimi Code and Claude Code shows how a single pairing can shift when a new model lands. A short trial on a real repository tells more than a published number in any Claude Code vs Codex vs Cursor debate, and the section on trials below describes one.
Which Tool Fits Which Developer
| Developer profile | Fits best | Why |
|---|---|---|
| Terminal-first, scripts and automation | Claude Code or Codex CLI | Command-line agents with hooks, MCP, and subagents |
| Editor-first, reviews diffs inline | Cursor or Copilot in the IDE | Changes appear in the editor |
| Team centered on GitHub pull requests | GitHub Copilot | Branch protection and organization policy apply |
| Delegates tasks and reviews later | Codex Cloud or Copilot cloud agent | Background sandboxes return a branch or pull request |
| Mixed tools on one repository | Any, with a shared AGENTS.md | Several tools read the same instruction file |
Budget changes the answer too. A developer on a $10 plan and one on a $200 plan face different usage ceilings, even with the same tool. Matching expected daily use to the plan's usage model prevents most surprises when weighing Claude Code vs Codex vs Cursor on cost.
A Fair Trial on One's Own Repository
Saganote has not run local tests of these tools for this guide, and its claims come from vendor documentation and cited pages. Readers can run a fairer test themselves.
- Pick one real task from the backlog, such as a bug fix with tests.
- Give each tool the same written instructions and the same starting branch.
- Keep approvals strict so the tool must ask before risky commands.
- Record time, tokens or credits used, and how much of the diff needed editing.
- Repeat on a second task type, such as a refactor, before choosing.
Cursor labels its $8 Plus plan introductory, a reminder that today's prices may not last and that a trial run now is worth repeating later. Prices drift.
