Use /model in Cursor
Send Cursor's chat and agent requests to /model through its OpenAI settings, Claude models included.
Checked November 23, 2026
Cursor can send its chat and agent requests to /model through its OpenAI settings, and you pay /model's prices for them. Tab completion always uses Cursor's own models.
Before you start
- A /model API key: create one on the API keys page and add credit on the credits page.
- A Cursor plan that lets you add your own API keys. Not every plan does: see Cursor's pricing page.
Set it up
- Open Cursor Settings, then Models, and find API Keys.
- Turn on OpenAI API Key and paste your /model key.
- Turn on Override OpenAI Base URL and enter the base URL below.
- Under Models, click + Add model and type a model id, such as
gpt-6.1-sol. The pricing page lists them all. - Pick the model in the chat's model menu.
Base URL
https://api.slashmodel.com/v1Claude models
Cursor sends a model whose name starts with claude- with its Anthropic key, and that one can't be pointed at another URL. So add Claude models by their prefixed id, which /model accepts too: anthropic/claude-sonnet-5.5 or anthropic/claude-opus-5.5.
Good to know
- Requests come from Cursor's servers, not from your computer. A key that allows only certain IP addresses (see key settings) refuses them, so use a key without that setting.
- The base URL override applies to every OpenAI model in Cursor, its built-in ones included. Turn it off to go back to them.
- If Cursor says a model is already available, it has a built-in model of that name: add the prefixed id instead, such as
openai/gpt-6.1-sol. - If requests fail to connect, set HTTP Compatibility Mode to HTTP/1.1 under Settings, Network.