Cursor vs Claude Code
Cursor is an editor with AI built in; Claude Code is Anthropic's coding agent for the terminal and your editor. What each costs, which models they run, and how to use your own key.
Published November 28, 2026
Cursor is a code editor with AI built in, and it runs models from many makers. Claude Code is Anthropic's coding agent: it works in the terminal and inside editors, Cursor included, and it runs Claude models. You don't have to choose: Claude Code's extension works in Cursor.
At a glance
| Cursor | Claude Code | |
|---|---|---|
| What it is | A desktop editor, plus a CLI and cloud agents | A coding agent for the terminal, editors, desktop, web and phones |
| Cheapest paid plan with Claude | Premium, $30 a month | Claude Pro, $20 a month |
| Bigger plans | Super at $100, Ultra at $200 a month | Max at $100, Ultra at $200 a month |
| Models | Its own Composer and Grok, plus Claude, GPT, Gemini, Kimi, GLM and others | Claude |
| Usage | A weekly pool; other makers' models are billed per token from the first request | Five-hour and weekly limits, shared with Claude's apps |
| Your own API key | For chat models; Tab keeps Cursor's models | Yes, in place of the plan |
What it is
- Cursor
- A desktop editor, plus a CLI and cloud agents
- Claude Code
- A coding agent for the terminal, editors, desktop, web and phones
Cheapest paid plan with Claude
- Cursor
- Premium, $30 a month
- Claude Code
- Claude Pro, $20 a month
Bigger plans
- Cursor
- Super at $100, Ultra at $200 a month
- Claude Code
- Max at $100, Ultra at $200 a month
Models
- Cursor
- Its own Composer and Grok, plus Claude, GPT, Gemini, Kimi, GLM and others
- Claude Code
- Claude
Usage
- Cursor
- A weekly pool; other makers' models are billed per token from the first request
- Claude Code
- Five-hour and weekly limits, shared with Claude's apps
Your own API key
- Cursor
- For chat models; Tab keeps Cursor's models
- Claude Code
- Yes, in place of the plan
What they cost
Cursor's plans are now sold with Grok, through X Subscription Corp: Free, Plus at $8 a month with Grok models only, Premium at $30, Super at $100 and Ultra at $200. Teams start at $30 a seat. Each plan has one pool of usage that refreshes weekly, and models from other makers, Claude among them, are billed at their makers' API prices from the first request (Cursor's pricing page).
Claude Code comes with Claude Pro at $20 a month ($17 billed yearly), Max at $100 with 5 times Pro's usage, and Ultra at $200 with 10 times Pro's weekly usage (Anthropic). Its five-hour and weekly limits are shared with Claude's chat apps (Anthropic).
Models
Cursor has the longer list: its own Composer 2.5 and Grok models, and Claude, GPT, Gemini, DeepSeek, Kimi and GLM models from their makers. Its Auto mode picks one for you (Cursor's models page).
Claude Code runs Claude models, chosen by alias: opus, sonnet, haiku and fable (Anthropic). Through another provider that speaks Anthropic's Messages API it can run other models too: on /model that's Kimi, GLM, MiniMax, MiMo and Hunyuan (see the Claude Code guide).
With your own API key
- Cursor takes keys from OpenAI, Anthropic, Google, Azure and Bedrock, for chat models only: Tab completion stays on Cursor's own models. The Plus plan can't use your own keys, and Teams and Enterprise plans pay Cursor a fee per token on top (Cursor's API keys page).
- Claude Code uses
ANTHROPIC_API_KEYin place of your plan, andANTHROPIC_BASE_URLsends its requests to another provider (Anthropic).
A /model key works in both. In Cursor it goes in the OpenAI settings with a base URL override (the Cursor guide); in Claude Code it takes two settings (the Claude Code guide). Claude models cost less here than at Anthropic's prices:
Claude prices here
Prices as of Nov 30, 06:38 PM UTCPer 1M tokens, input / output, at the cheapest channel serving each model now.
- Claude Opus 5.5Anthropic's price:
$4.00 / $20.00Here: $0.55 / $2.7586% off - Claude Sonnet 5.5Anthropic's price:
$2.00 / $10.00Here: $0.275 / $1.37586% off - Claude Haiku 5.5Anthropic's price:
$0.10 / $0.50Here: $0.033 / $0.16367% off - Claude Fable 5.2Anthropic's price:
$8.00 / $40.00Here: $2.60 / $13.0067% off
Which to choose
- Choose Cursor for an editor with AI completions as you type, and many makers' models in one menu.
- Choose Claude Code for an agent that works through a task from the terminal, or to keep your editor and add the agent to it.
- Use both: Claude Code's extension runs inside Cursor, and one API key can pay for both.
Sources
Each opened on November 28, 2026.
- Cursor's pricing page, and its docs on models and API keys
- Anthropic: Claude plans
- Anthropic: Claude Code with Pro or Max
- Anthropic: Claude Code model configuration
- Anthropic: Claude Code environment variables
- Anthropic: Claude Code overview