How to use a Claude Subscription in Cursor without paying for API tokens — Cursor Blog | Neura Market
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityExtensionsTrendingGenerate
    CursorBlogHow to use a Claude Subscription in Cursor without paying for API tokens
    Back to Blog
    How to use a Claude Subscription in Cursor without paying for API tokens
    cursor

    How to use a Claude Subscription in Cursor without paying for API tokens

    Orchid Files April 2, 2026
    0 views

    In Cursor, you can connect any LLM via API that is compatible with the OpenAI request format. This...

    In Cursor, you can connect any LLM via API that is compatible with the OpenAI request format. This means you can connect Claude via API and pay for tokens. However, if you have a Claude subscription, you can only use it in Claude Code. There, the request format is Anthropic, which differs from OpenAI. You cannot take your Claude subscription and add it to Cursor because the request formats are incompatible. You cannot make requests to the Claude API using a Claude subscription. There are already solutions on GitHub that proxy requests from Cursor to Claude using the subscription without paying for API tokens. They convert the OpenAI format to Anthropic and back. But to add this to Cursor, it's not enough to simply run the process on localhost and add the URL to Cursor, because Cursor first sends requests to its own backend, and from there to the OpenAI-compatible API. If you add localhost there, their backend simply won't be able to reach it. That's why you need to set up a tunnel, and Cloudflare is perfect for this. With a single `cloudflared tunnel` command, you can set up a tunnel that provides a public URL and routes traffic to your localhost. You add this URL to Cursor.   ### How it works 1. Start the proxy process that converts requests between OpenAI and Anthropic formats 2. Set up a Cloudflare tunnel and add the URL to Cursor 3. Send a message in the Cursor chat; it sends a request to its backend 4. From the backend, it sends a request to Cloudflare, which forwards it to your localhost 5. The proxy process receives the request from Cloudflare and sends it to Claude 6. The proxy process receives the response from Claude and sends it to Cloudflare 7. Cloudflare returns the response to the Cursor backend, which sends it to the IDE 8. You see the response in the chat   Various solutions on GitHub retrieve the Claude subscription token in two ways. The first method works only if you already have the Claude CLI installed and are logged in to it. It retrieves the token that the Claude CLI has stored on your system. The second method is not tied to the Claude CLI and allows you to log in to Claude in your browser using OAuth and add the token. These solutions do not support everything required for development. In some solutions, only the chat is properly proxied, but any use of tools such as reading, modifying files, or creating plans is not supported. Others support tools, but not all of them; for example, sending images or asking questions when creating plans is not supported. I took the best features from these solutions, added support for all tools, and created a Cursor extension. It allows you to log in to Claude via OAuth, launches a process to proxy requests, and establishes a Cloudflare tunnel. The entire setup takes 30 seconds, and you can use your Claude subscription in Cursor without paying for API tokens. Project repository: https://github.com/orchidfiles/ungate VSX Marketplace: https://open-vsx.org/extension/orchidfiles/ungate Installation from the terminal: `cursor --install-extension orchidfiles.ungate`   After installing the extension in Cursor, an "Ungate :47821" button will appear in the status bar. This means that the proxy service is running on port 47821. Clicking the button will open the Dashboard, which displays statistics on proxied requests and settings. In the settings, you can change the port, restart the tunnel, log in to Claude via OAuth, and view the tunnel and proxy logs. After starting the tunnel, you will receive a URL from Cloudflare. You need to paste this URL into `Cursor Settings -> Models -> API Keys -> Override OpenAI Base URL`. You also need to paste the API Key, which is displayed on the same settings page, into `Cursor Settings -> Models -> API Keys -> OpenAI API Key`. This is not related to your Claude subscription. It is just an API key for the proxy service, so other people cannot send requests through your proxy if they do not know this key. It is generated when you install the extension. After configuring these settings, you can select any Claude model in the Cursor chat, and all requests will go through your Claude subscription.   ### Important details - Anthropic allows the subscription to be used only in Claude Code and prohibits its use in other tools - When you first run the proxy, the extension downloads a build of `better-sqlite3` compatible with your OS and Cursor version - When you first launch the tunnel, the extension downloads a build of `cloudflared` - When adding or changing tools, you must add them to the mapping `Cursor tools -> Claude Code tools -> Cursor tools` - When adding new Sonnet, Opus, or Haiku models, you must add them to the code - There are issues when making changes to large documents and plans; you need to ask the agent to make changes in parts

    Tags

    cursorclaudeaiopensource

    Comments

    More Blog

    View all
    Cursor vs Claude Code in 2026: Which AI Coding Tool Actually Makes You Faster?claudecode

    Cursor vs Claude Code in 2026: Which AI Coding Tool Actually Makes You Faster?

    I've spent the last three months shipping production code with both Cursor and Claude Code. Not toy...

    A
    Atlas Whoff
    The 5 MCPs that actually changed how I use Cursor and Claude Codeai

    The 5 MCPs that actually changed how I use Cursor and Claude Code

    I've been testing MCPs heavily in Cursor and Claude Code. Here are the 5 that actually changed how I...

    V
    vdalhambra
    AI-Powered Development 2026: Beyond Basic Code Generationaicoding

    AI-Powered Development 2026: Beyond Basic Code Generation

    AI-Powered Development 2026: Beyond Basic Code Generation How AI assistants have evolved...

    L
    lufumeiying
    Cursor AI vs GitHub Copilot: Developer Comparison 2025microsoft

    Cursor AI vs GitHub Copilot: Developer Comparison 2025

    Cursor AI vs GitHub Copilot: Developer Comparison 2025 The AI-Powered Code Completion...

    I
    Icarax
    How to Build 3D & AR Apps with AI — Cursor, Windsurf, Claude Codeai

    How to Build 3D & AR Apps with AI — Cursor, Windsurf, Claude Code

    AI coding assistants are great at generating UI code. But ask them to build a 3D scene or an AR...

    T
    Thomas Gorisse
    AI Coding Market Share 2026: Who's Winning?aitools

    AI Coding Market Share 2026: Who's Winning?

    Claude Code holds 54% of the AI coding market. Cursor hit $2B ARR. Copilot leads enterprise. Here's what the 2026 numbers actually mean.

    J
    Jangwook Kim

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.