# How to use Claude Code in Cursor

> Use Auto, the Mac app for all your coding agents, to run your Claude plan inside Cursor's own Agent: connect the plan, enable Cursor and restart it, and new chats start on Auto. To run Claude Code itself in Cursor, install Anthropic's Claude Code extension from Cursor's Extensions view, or run `claude` in Cursor's terminal, and sign in with your Claude account; it runs on your Claude plan with no API key. Without either, Cursor's Agent bills Claude models from prepaid credit at API list price.

Author: Tyler J. Cagle (https://x.com/tjcages)
Published: 2026-11-24T21:15:00.000Z
Reading time: 7 min
Canonical: https://auto.sh/blog/claude-code-in-cursor
Part of: How to choose and change models in Codex and Claude Code (https://auto.sh/blog/models-in-codex-and-claude-code.md)
Publisher: Auto (https://auto.sh)

![Auto puts your Claude plan in Cursor's Agent. Where do you want Claude? In Cursor Claude Code's panel: Extension, on your Claude plan; In Cursor Cursor's own Agent: Prepaid credit at API price; In Cursor Agent, on your plan: Auto, Claude plan connected. Source: Anthropic's Claude Code docs, Cursor's pricing docs and Auto, read November 20, 2026.](https://auto.sh/blog/images/claude-code-in-cursor/1-routes.png)

[Auto, the Mac app for all your coding agents](https://autorouter.com/) runs your Claude plan inside Cursor's own Agent: connect the plan in Auto, enable Cursor and restart it, and new chats start on Auto, with no API key. To run Claude Code itself in Cursor, install Anthropic's Claude Code extension, which Anthropic lists for Cursor next to VS Code ([Anthropic](https://code.claude.com/docs/en/vs-code)), and sign in with your Claude account, or run the `claude` CLI in Cursor's terminal. Either one runs on your Claude plan. Cursor's own Agent doesn't take a Claude subscription: it bills Claude models from prepaid credit at API list price, on Premium and above ([Cursor](https://cursor.com/docs/models-and-pricing)).

Auto wrote this post. Every Cursor and Anthropic detail below comes from their docs and pricing pages as read on November 20, 2026; check the linked page before you paste a command.

## How do you install Claude Code in Cursor?

Install the Claude Code extension from Cursor's Extensions view and sign in. Anthropic publishes it to the Visual Studio Marketplace and the Open VSX Registry, and its docs link an **Install for Cursor** button ([Anthropic](https://code.claude.com/docs/en/vs-code)).

1. Open the Extensions view with `Cmd+Shift+X`, search for "Claude Code" and click **Install**, or use **Install for Cursor** on [Anthropic's VS Code page](https://code.claude.com/docs/en/vs-code).
2. Open a file and click the Spark icon in the editor toolbar. The Spark icon in the Activity Bar and **Claude Code** in the status bar open it too, even with no file open.
3. Click **Sign in** and finish in your browser. Any paid Claude plan (Pro, Max, Ultra, Team or Enterprise) or a Claude Console account works, and no API key is needed.
4. If the extension doesn't appear, run **Developer: Reload Window** from the Command Palette.

![Claude Code installs in Cursor in four steps. 1. Install the extension (Cursor's Extensions view); 2. Click the Spark icon (Editor toolbar); 3. Sign in (Your Claude account); 4. Claude plan runs it (No API key). Source: Anthropic's Claude Code VS Code docs, read November 20, 2026.](https://auto.sh/blog/images/claude-code-in-cursor/2-install.png)

The extension bundles its own copy of the CLI for its panel. To run `claude` in Cursor's integrated terminal as well, install the standalone CLI ([Anthropic](https://code.claude.com/docs/en/setup)):

```bash
curl -fsSL https://claude.ai/install.sh | bash
claude
```

The extension and the CLI share `~/.claude/settings.json` and their conversation history, so `claude --resume` in the terminal picks up a conversation you started in the panel ([Anthropic](https://code.claude.com/docs/en/vs-code)).

## Does Claude Code in Cursor use your Claude plan?

Yes. Claude Code signs in with your Claude account wherever it runs, so requests from the extension or the CLI in Cursor count against your Claude plan's limits, as they would in a plain terminal. As of November 20, 2026, Claude Pro costs $20 a month ($17 a month billed annually), Max $100 and Ultra $200 ([Anthropic](https://claude.com/pricing)).

Cursor's own Agent is billed differently. Its plans include a weekly pool for Cursor's own models; Claude, GPT and Gemini are third-party models that bill at API list price from prepaid credit from the first request on Premium ($30 a month) and above, and Free and Plus don't include them ([Cursor](https://cursor.com/docs/models-and-pricing)). You can also add an Anthropic API key in Cursor's settings, billed per token by Anthropic; [How to use your own API key in Cursor](/blog/cursor-api-key) covers that route. Neither one draws on a Claude subscription.

## How do you use your Claude plan in Cursor's own Agent?

Connect the plan in Auto and enable Cursor. In Cursor, Auto uses the plans you connect in Auto, and other models run on credits:

1. Download Auto for macOS from [autorouter.com](https://autorouter.com/).
2. Open it, sign in or create a free account, and sign in to your Claude plan and the other AI subscriptions you already pay for.
3. Allow Accessibility and click Enable on Cursor's row.
4. Click Restart on Auto's notice. New Cursor chats start on `autorouter`; you can also pick one of Auto's Claude models yourself in the model picker.

![Your Claude plan, inside Cursor's own Agent. 1. Connect your Claude plan (In Auto); 2. Enable Cursor (In Auto's setup); 3. Pick a model (Auto or a Claude model); 4. Claude plan runs it (Model and cost shown). Source: Auto setup and FAQ, read November 20, 2026.](https://auto.sh/blog/images/claude-code-in-cursor/3-agent.png)

Cursor support is experimental. It covers Chat and Agent; Tab, Cursor's Auto, cloud agents and the Cursor CLI stay on Cursor. While it's on, Cursor's own named models stop working, because Cursor's API key setting covers every model; Cursor's Auto keeps working. Turning Cursor off in Auto puts your earlier settings back ([Auto for Cursor](https://autorouter.com/integrations/cursor)).

Choosing a specific model sends your requests straight to it. Choose Auto instead and it works out how hard each task is and sends it to the model that fits: hard work goes to the most capable model your plans cover, and quick work to the model that costs you least, which is often your plan or a low-cost open model. Every request shows its model, what it cost and why. [How AutoRouter picks a model](/blog/how-autorouter-picks-a-model) covers the rules, and [Which model to use for which coding task](/blog/which-model-for-which-task) covers which work needs which model.

Your connected plans work in every app you enable. If you also run the Claude Code CLI in Cursor's terminal, enable Claude Code in Auto and pick Auto or another model with `/model`; a connected ChatGPT plan runs there too. [How to use Claude in Codex and GPT in Claude Code](/blog/claude-in-codex-and-gpt-in-claude-code) covers the plan in the other direction; for a ChatGPT plan in Cursor, see [How to use Codex in Cursor](/blog/codex-in-cursor), and [How to choose and change models in Codex and Claude Code](/blog/models-in-codex-and-claude-code) covers the wider lineup. Disabling an app in Auto's settings switches it back.

## What does each way of using Claude in Cursor cost?

Only the Claude Code routes and Auto draw on a Claude plan. As of November 20, 2026:

| Route                          | Where it runs                                     | What pays                                                        |
| ------------------------------ | ------------------------------------------------- | ---------------------------------------------------------------- |
| Claude Code extension          | Its own panel in Cursor                           | Your Claude plan, from $20 a month                               |
| `claude` CLI                   | Cursor's terminal                                 | Your Claude plan                                                 |
| Claude model in Cursor's Agent | Cursor's Agent                                    | Cursor prepaid credit at API list price, Premium ($30) and above |
| Your Anthropic API key         | Cursor's Agent                                    | Your Anthropic account, per token; not on Plus                   |
| Auto                           | Cursor's Chat and Agent, and every app you enable | Your connected plans; $0 on Free for two subscriptions           |

Auto Free costs $0 a month and connects two subscriptions, and routing across your own subscriptions is free. [Pro](/pricing) connects any number and adds every other model, billed at the provider's price plus 10%. When one account reaches its limit, Auto moves on to the account with the most room left, before it spends any credit. Auto earns nothing on plans.

The limits: Auto runs on macOS 14 or later and is in beta. Requests pass through Auto's servers on their way to each provider; Auto doesn't store transcripts, but keeps the message that opens each request, up to 4,000 characters, to review routing, along with records of the model chosen, tokens and cost ([Auto privacy](https://autorouter.com/privacy)). Claude Code needs Node 22.18 or later to use Auto.

## Should you use the extension or Cursor's Agent?

- **Use the Claude Code extension** if you want Claude Code itself beside your editor, with its plan review and inline diffs, on your Claude plan.
- **Use Cursor's Agent with Auto** if you prefer Cursor's own agent and want your Claude plan, and the other AI subscriptions you pay for, to pay for it, with a model picked for each task.
- **Use both** if you like each for different work. The extension and Cursor's Agent run side by side, and Auto shares one set of plans across every app you enable.

[Cursor vs Claude Code](/blog/cursor-vs-claude-code) compares the two tools themselves, including what each plan costs.

## Questions

### Can I use my Claude subscription in Cursor?

Yes, two ways. Claude Code's extension or CLI runs inside Cursor on your Claude plan, and Auto runs the plan in Cursor's own Agent. Cursor itself doesn't list a Claude subscription as a way to pay; its Agent bills Claude models from prepaid credit ([Cursor](https://cursor.com/docs/models-and-pricing)).

### Why don't I see the Spark icon in Cursor?

The Spark icon in the editor toolbar shows only while a file is open. Click the Spark icon in the Activity Bar or **Claude Code** in the status bar instead, and if neither appears, run **Developer: Reload Window** ([Anthropic](https://code.claude.com/docs/en/vs-code)).

### Does Cursor Tab use my Claude plan?

No. Cursor's docs say Tab completion keeps using Cursor's built-in models even when you add your own API key ([Cursor](https://cursor.com/help/models-and-usage/api-keys)), and the Claude Code extension works in its own panel without changing Tab.

### What happens when my Claude plan runs out?

In Claude Code, past a limit you can switch on usage credits at API rates or wait for the reset ([Anthropic](https://support.claude.com/en/articles/12429409-manage-usage-credits-for-paid-claude-plans)). With Auto, a request moves on to the connected account with the most room left before it spends any credit, and on Pro it keeps going from the monthly usage until the plan resets.

## Sources

- [Auto](https://autorouter.com/)
- [Auto privacy](https://autorouter.com/privacy)
- [Use Claude Code in VS Code](https://code.claude.com/docs/en/vs-code), Anthropic, read November 20, 2026
- [Set up Claude Code](https://code.claude.com/docs/en/setup), Anthropic, read November 20, 2026
- [Plans and pricing](https://claude.com/pricing), Anthropic, read November 20, 2026
- [Manage usage credits](https://support.claude.com/en/articles/12429409-manage-usage-credits-for-paid-claude-plans), Anthropic
- [Models & Pricing](https://cursor.com/docs/models-and-pricing), Cursor, read November 20, 2026
- [Bring your own API key](https://cursor.com/help/models-and-usage/api-keys), Cursor

## Read next

- [How to choose and change models in Codex and Claude Code](https://auto.sh/blog/models-in-codex-and-claude-code.md): To give each task the right model, use Auto, the Mac app for all your coding agents: it adds models from every leading provider to the picker you already use (Claude Code, Codex, Cursor, etc.) and can pick one for each turn. To choose yourself, give hard, multi-file work a frontier model such as Claude Opus 5.5 or GPT-6.2 Astra and quick edits a fast one such as Claude Haiku 5.5 or GPT-6 Luna. Switch with /model in either app, a launch flag for one session, or a settings file for every session.
- [How to use Codex in Cursor](https://auto.sh/blog/codex-in-cursor.md): Use Auto, the Mac app for all your coding agents, to run your ChatGPT plan inside Cursor's own Agent: connect the plan, enable Cursor, restart it, and new chats start on Auto. To run Codex itself in Cursor, install OpenAI's Codex extension (`openai.chatgpt`) from Cursor's Extensions view, open the Codex sidebar and sign in with ChatGPT; it runs on your ChatGPT plan's Codex limits, from Plus up. Without either, Cursor's Agent bills GPT models from prepaid credit at API list price.
- [How to use Codex in Claude Code](https://auto.sh/blog/codex-in-claude-code.md): Use Auto, the Mac app for all your coding agents, to run GPT as Claude Code's own model on your ChatGPT plan: connect the plan, enable Claude Code, and pick a GPT model or Auto with `/model`. To call Codex itself from Claude Code, install OpenAI's Codex plugin with `/plugin marketplace add openai/codex-plugin-cc` and `/plugin install codex@openai-codex`, run `/codex:setup`, then use `/codex:review` for a second review or `/codex:rescue` to hand off a task. The plugin runs on your ChatGPT plan's Codex limits or an OpenAI API key.

Tags: [Guides](https://auto.sh/blog/tags/guides.md), [Claude Code](https://auto.sh/blog/tags/claude-code.md), [Costs](https://auto.sh/blog/tags/costs.md)

Drafted with AI from the sources linked above, then checked and edited by the Auto team.

Auto is a Mac app for AI model routing in Codex, Claude Code, Cursor and other supported coding agents. It uses eligible connected subscriptions first. See [setup](https://auto.sh/setup.md) and [pricing](https://auto.sh/pricing).
