Skip to content

Cursor

Use your own API key in Cursor, and what it costs

Cursor lets you bring your own OpenAI or Anthropic API key for chat. Here is what that covers, what you still pay Cursor for, and how to point Cursor at FUSR.ai so each request goes to a model that fits.

Last updated

What Cursor lets your own key do

Cursor lets you paste an OpenAI, Anthropic, or other API key and use it for chat. A few rules decide what that really covers:

What it really costs

Three bills, at most. Your Cursor plan stays the same. Your API provider bills your key for the tokens you use, at its list price. On a Cursor team plan, Cursor's own fee may apply on top.

If you point Cursor at FUSR.ai, that does not change: FUSR.ai adds nothing to token prices, and Anthropic, OpenAI, and xAI still bill your keys directly. What changes is which model answers. With fusr/auto, a quick question can go to a cheaper model while a hard one stays on a strong one, prompt caching keeps working, and the cap you set stops a runaway session.

To get a feel for the token part, try the AI API cost calculator.

Set up Cursor with FUSR.ai

First connect at least one API key on FUSR.ai and get your FUSR.ai key. The quickest way is npx fusrai setup in a terminal: it signs you in, gets your key, and prints these same steps. Cursor keeps its settings in its own app storage, so the command never edits Cursor itself. Add --copy and it puts the key on your clipboard for you.

Then, in Cursor:

  1. 01Open Cursor Settings (Ctrl+Shift+J, or Cmd+Shift+J on a Mac) and go to Models.

  2. 02Under API Keys, turn on OpenAI API Key and paste your FUSR.ai key.

  3. 03Turn on Override OpenAI Base URL and set it to https://proxy.fusr.ai/v1

  4. 04Add a model named fusr/auto and make sure it is switched on.

  5. 05Click Verify next to the OpenAI API Key.

  6. 06Pick fusr/auto in the chat model menu.

Cursor sends these requests from its own servers, which reach the proxy over the internet. If Verify fails, check the base URL has no trailing slash and that your FUSR.ai key is the one shown on your Routing page in FUSR.ai.

Tips once it works

Straight talk

What FUSR.ai does and doesn't do

It does

  • Gives Cursor one key for your own Claude, OpenAI, and xAI API keys, with fusr/auto picking the model.
  • Keeps prompt caching working and stops at the cap you set.
  • Prints these exact steps from npx fusrai setup, with the key masked unless you ask for it.

It doesn't

  • Change Cursor's Tab completions, its plan, or its own fees.
  • Edit Cursor's settings for you. You paste the key and base URL yourself.
  • Use a Cursor, Claude Pro, or ChatGPT Plus plan. It works with API keys only.

Try FUSR.ai with your own API keys.

Free covers three providers with routing, caching, one monthly cap, and a savings report. Then run npx fusrai setup.

You bring your own API keys. Chat plans like Claude Pro or ChatGPT Plus are separate and FUSR.ai does not use them.