Most Claude Code vs Cursor comparisons were written before Cursor changed how it sells its plans. Since October 2026, Cursor has been part of a bundle with Grok and X, its cheapest paid tier runs only Grok and Cursor's own models, and Claude or GPT usage is now billed separately. If you chose Cursor for Claude models, the math has changed.
This guide compares the two tools as they stand today: how each one works, which models you get, what you actually pay, and when to use one, the other or both. Every price and feature below comes from Anthropic's and Cursor's own pages, checked on November 22, 2026. We also cover the two tools people weigh next, OpenAI Codex and GitHub Copilot.
Claude Code vs Cursor: the short answer
- Pick Claude Code if you want to describe a task and let an agent plan it, edit many files, run tests and open a pull request while you review the result. It is included in every paid Claude plan, from Pro at $20 a month.
- Pick Cursor if you want to stay inside a code editor, see every change as you go and choose between models from several labs. Budget $30 a month for Premium if you need Claude or GPT models, plus their API cost.
- Use both if you already pay for Claude. Claude Code runs as an extension inside Cursor, so you can keep Cursor's editor and let Claude Code handle the agent work on your Claude plan.
| Claude Code (Anthropic) | Cursor (Anysphere) | |
|---|---|---|
| What it is | Coding agent you delegate tasks to | AI code editor with built-in agents |
| Where it runs | Terminal, VS Code, Cursor, JetBrains, desktop app, web, mobile | Desktop editor, CLI, cloud agents |
| Models | Claude only: Opus, Sonnet, Haiku, plus Fable on paid terms | Grok and Composer included; Claude, GPT, Gemini at API price on Premium and up |
| Free option | None on the Claude Free plan; pay-as-you-go via a Console account | Free plan with limited agent and chat requests |
| Entry paid price | $20 a month (Claude Pro), $17 billed annually | $8 a month (Plus, Grok and Composer models only) |
| Price with Claude models | $20 a month, usage included in plan limits | $30 a month (Premium) plus Claude usage at API list price |
| Usage limits | Shared with Claude chat, reset every 5 hours and weekly | Weekly pool for Cursor's own models |
| Project instructions | CLAUDE.md, skills, hooks, subagents | Rules, plus team marketplace on Teams |
What is Claude Code?
Claude Code (opens in a new tab) is Anthropic's agentic coding tool. You point it at a project and describe what you want, and it reads the codebase, plans the change, edits files, runs commands and checks its own work. It works directly with git, so it can stage changes, write commit messages, create branches and open pull requests. For a step-by-step setup, see our guide on how to use Claude Code.
Claude Code runs on several surfaces: the terminal, IDE extensions, a desktop app, and the web.
The terminal version is the full-featured one. Anthropic's docs give a one-line install for macOS, Linux and WSL, and a PowerShell command for Windows. You then start it from inside your project folder and sign in on first run:
# macOS, Linux, WSL
curl -fsSL https://claude.ai/install.sh | bash
# Windows PowerShell
irm https://claude.ai/install.ps1 | iex
# Check the install, then start in a project
claude --version
cd your-project
claudeWhat sets Claude Code apart is how much you can shape the agent. A CLAUDE.md file holds standing instructions for a project. Skills package repeatable know-how the agent loads when needed. Hooks run your own shell commands before or after its actions, and subagents let it split work across several agents in parallel. It connects to outside tools through the Model Context Protocol, runs non-interactively with claude -p in scripts and CI, and can run scheduled tasks.
What is Cursor, and what does Cursor AI do?
Cursor is an AI code editor made by Anysphere. Its centerpiece is Agent, which, according to Cursor's docs (opens in a new tab), can complete complex coding tasks independently, run terminal commands and edit code. Agent can search and read files, edit them, run shell commands, search the web and control a browser, and checkpoints save local snapshots of your code so you can roll back an agent's changes. Around the editor, Cursor offers a command-line agent, cloud agents that work on their own machines, and AI code reviews through a feature called Bugbot.
The big difference from Claude Code is that Cursor is model-agnostic. Its own Composer models and Grok models are included in every paid plan, and on Premium and higher you can also run Claude, GPT and Gemini models. That flexibility is the main reason developers pick it, and also the part of the product that changed most this fall.
Cursor and The X Subscription
On October 12, 2026 (opens in a new tab), Cursor announced The X Subscription, one plan that "brings together Grok, Grok Bot, Cursor, and X Premium." Cursor's pricing page (opens in a new tab) now says subscriptions are sold through X Subscription Corp. Existing Cursor subscribers can stay on their legacy plans, which keep their included third-party usage until they switch.
The practical effect is on models. Plus, the new $8 entry plan, includes Grok and Composer models only, with no third-party models and no option to bring your own API keys. Premium and higher plans include "generous usage of Grok models" but, in the pricing page's words, "do not include an allowance for third-party models." Claude, GPT and Gemini are paid for from prepaid credit at each model's API list price from the first request.
How they work: delegate vs edit
Both tools now have agents, a CLI and cloud options, so the old "terminal vs editor" split is too simple. The useful difference is where you spend your attention.
- Claude Code is built for delegation. You describe the outcome, approve a plan if you want one, and review the finished diff or pull request. It suits multi-file refactors, test-fixing loops, migrations and chores you would rather not watch.
- Cursor is built for working alongside the AI. You stay in the editor, watch the agent's changes land in your files, roll back with checkpoints when it goes wrong, and jump between files yourself. It suits feature work where you want to steer every few minutes.
That is why many developers use both. Anthropic's overview lists Cursor among the editors that run the Claude Code extension, so you can add Claude Code to Cursor and run it next to Cursor's own Agent. You keep one editor and two agents, and Claude Code usage counts against your Claude plan, not your Cursor credit.
Models: Claude only vs pick your lab
Claude Code runs Anthropic's models. On the Claude pricing page (opens in a new tab), paid plans include Opus, Sonnet and Haiku. The newest flagship, Fable, is available on Pro through paid usage credits and on Max and Ultra for up to half of your weekly limit. The CLI and IDE extensions can also connect through third-party cloud providers, but you are still using Claude models.
Cursor gives you more choice, with a catch. According to Cursor's models and pricing docs (opens in a new tab), the included weekly pool covers Grok 4.7, 4.6 and 4.5 and Composer 2.5. Everything else is metered. The listed API prices for Claude models in Cursor match Anthropic's own API prices at the time of writing:
| Model | Input | Output | Where it is included |
|---|---|---|---|
| Claude Opus 5.5 | $4 | $20 | Claude Pro, Max, Ultra, Team (in plan limits) |
| Claude Sonnet 5.5 | $2 | $10 | Claude Pro, Max, Ultra, Team (in plan limits) |
| Claude Haiku 5.5 (prompts up to 100K tokens) | $0.10 | $0.50 | Claude Pro, Max, Ultra, Team (in plan limits) |
| Grok 4.7 beyond Cursor's pool | $2 | $6 | Cursor Plus and up (in weekly pool) |
| Composer 2.5 beyond Cursor's pool | $0.50 | $2.50 | Cursor Plus and up (in weekly pool) |
Teams and Enterprise customers pay a little more: Cursor adds a Cursor Token Rate of $0.25 per million tokens on eligible third-party models. Individual plans do not pay it.
A worked cost example
Here is a hypothetical to show how the billing differs. Say one long agent session in Cursor reads 2 million input tokens and writes 200,000 output tokens on Claude Sonnet 5.5. At $2 and $10 per million, that is $4 for input plus $2 for output, or $6 on top of the $30 Premium fee. The same session on Opus 5.5 costs $12. Prompt caching can lower these figures, so treat them as an upper bound.
On a Claude Pro plan the same session costs nothing extra. It draws down your 5-hour and weekly allowance instead, and if you hit the limit you wait for the reset, turn on paid usage credits or move up to Max. Which is cheaper depends on how much you code: a few sessions a week favor either, while daily heavy use on Claude models favors a Claude plan.
Claude Code vs Cursor pricing, plan by plan
These are US prices before tax as listed on claude.com/pricing (opens in a new tab) and cursor.com/pricing (opens in a new tab) on November 22, 2026. Both companies change plans often, so check before you buy.
| Tier | Claude (includes Claude Code) | Cursor |
|---|---|---|
| Free | $0. Chat with Sonnet and Haiku; Claude Code not included | $0. Limited agent and chat requests; no third-party models |
| Entry | Pro, $20 a month or $17 a month billed annually | Plus, $8 a month ($80 a year). Grok and Composer only; no cloud agents or Bugbot |
| Standard | Pro, as above | Premium, $30 a month ($300 a year). 4x Plus usage, cloud agents, Bugbot, third-party models at API price |
| Heavy use | Max, $100 a month. 5x Pro usage, $100 in API credits | Super, $100 a month ($1,000 a year). 15x Plus usage, priority access at peak times |
| Highest | Ultra, $200 a month. 10x Pro weekly usage, no 5-hour limit for verified accounts, $200 in API credits | Ultra, $200 a month ($2,000 a year). 50x Plus usage, earliest access to new models |
| Teams | Team, $25 a seat a month ($20 annual), premium seats $125 ($100 annual), 2 to 150 seats | Teams, $30, $100 or $200 a seat a month, matching Premium, Super or Ultra |
Two details matter more than the sticker prices. Claude Code shares one usage pool with Claude chat, so a heavy coding day also uses up your chat allowance. Cursor's included pool refreshes weekly and covers only its own and Grok models, so the real monthly cost of Cursor depends on how much third-party usage you add.
Is Cursor free?
Yes, with limits. The Free plan costs $0 and offers limited agent and chat requests. Cursor does not publish exact numbers, and Free does not include third-party models. If you want Claude, GPT or Gemini in Cursor, the minimum is Premium at $30 a month plus usage. Claude Code has no free tier of its own: it needs a paid Claude plan, or a Claude Console account billed at API rates.
Is Codex better than Claude Code?
OpenAI Codex is the closest rival to Claude Code. OpenAI's help center (opens in a new tab) describes it as "an AI agent that helps you write, review, and ship code," with a CLI, a VS Code extension that OpenAI says works with most VS Code forks, the ChatGPT desktop app and Codex Cloud for delegated tasks. You start the CLI by running codex in your project and signing in with ChatGPT.
There is no neutral benchmark that settles which agent is better, and vendor scores change with every release. The clearest differences are practical:
- Access. Codex is included across ChatGPT plans, including Free and Go. Codex Cloud is limited to Plus, Pro, Business, Enterprise and Education accounts. Claude Code needs a paid Claude plan.
- Ecosystem. If you already pay for ChatGPT, Codex costs nothing extra. If you pay for Claude, Claude Code does not. Our Claude vs ChatGPT comparison covers the plans behind each.
- Project instructions. Codex reads an
AGENTS.mdfile, which it can scaffold with/init. Claude Code usesCLAUDE.md. Keep both in sync if your team uses both tools.
The honest test is to run each agent on the same three real tickets from your backlog and compare the diffs, the number of corrections you had to make and the time to a passing build.
GitHub Copilot vs Cursor
GitHub Copilot is the cheapest serious option and runs in the editors most developers already use. On the Copilot plans page (opens in a new tab), Free includes 2,000 completions a month, Pro costs $10 a month, Pro+ $39 and Max $100. Code completions are unlimited on paid plans and do not use credits, while agent mode, code review and cloud tasks draw on monthly AI credits worth $15 on Pro, $70 on Pro+ and $200 on Max.
Copilot's model list includes Claude, GPT, Gemini and Grok models, and Pro+ and Max can delegate tasks to third-party agents such as Claude and Codex, in preview. Against Cursor, Copilot wins on entry price and on fitting into existing editors. Cursor wins if you want an editor designed around agents rather than an assistant added to one.
Which is the best AI coding assistant for you?
| If you | Start with | Why |
|---|---|---|
| Already pay for Claude and want to delegate tasks | Claude Code | Included in your plan, no metered model bill |
| Want an AI-first editor and are happy with Grok models | Cursor Plus | $8 a month for Agent in the editor and CLI |
| Want an AI-first editor with Claude or GPT | Cursor Premium, or Cursor plus the Claude Code extension | Model choice inside one editor |
| Pay for ChatGPT | Codex | Included in every ChatGPT plan |
| Want the lowest price in your current editor | GitHub Copilot Pro | $10 a month, unlimited completions |
- Pick two candidates from the table above, not five.
- Run the same three real tasks in each, such as a bug fix, a small feature and a refactor that touches several files.
- Track what it cost for a full working week, including any metered model usage, not just the subscription.
- Check what the agent can touch. Both tools run commands on your machine. Read our guide to agentic AI security before giving any agent broad permissions.
- Commit for a month, then recheck. Plans and model access in this category change often, as Cursor's move to The X Subscription showed.
If you are building agents of your own rather than choosing one, our guide on how to build an AI agent covers the same loop these tools use. For non-coders, our roundup of vibe coding tools covers app builders such as Lovable and Bolt.
The bottom line
In the Claude Code vs Cursor choice, Claude Code is the better deal if your work runs on Claude models and you are comfortable delegating whole tasks, because model usage is part of a flat plan. Cursor is the better editor if you want to work hands-on with AI and switch between labs, but since the move to The X Subscription, Claude and GPT usage is an extra, metered cost. If you already pay for Claude, running Claude Code inside Cursor gives you both. For more plain-English guides to AI tools, browse our AI guides.



