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

  • 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_KEY in place of your plan, and ANTHROPIC_BASE_URL sends 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 UTC

Per 1M tokens, input / output, at the cheapest channel serving each model now.

Every Claude price

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.

One key for every model here.

Top up from $10, change one URL, and pay only for the tokens you use.