Cursor
Use your SipToken key for models in Cursor Agent and Chat.
Before you start
- A SipToken key in the Official group. If you don't have one yet, see Quickstart.
- Base URL:
https://api.siptoken.ai/v1. Include/v1: Cursor only appends/chat/completions. - A Cursor plan that allows your own API key. The free plan doesn't, and neither do some paid plans. Check Cursor pricing.
Models you can use in Cursor:
| Works | Doesn't work |
|---|---|
gpt-6.2-astra, gpt-6.1-sol, gpt-6-luna, grok-4.7, deepseek-v4-pro, kimi-k3.1-pro, glm-5.3, qwen4-max | claude-*, gemini-* |
Cursor sends models whose names start with claude or gemini through its own Anthropic or Google slot. Those slots have no Base URL override, so the requests never reach SipToken.
Your own key only applies to Agent and Chat. Tab completion always uses Cursor's own models. Requests go to Cursor's servers first, and Cursor forwards them to SipToken, so local proxies and LAN addresses have no effect.
Install
Download Cursor from cursor.com/download. It runs on macOS, Windows and Linux. After installing, sign in with a Cursor account. You need to sign in even when you use your own key.
Configure
Cursor is configured only in its settings screen. It doesn't read environment variables and has no config file to edit by hand. The steps are the same on macOS and Windows; only the shortcut differs.
Enter the key and Base URL
- Open Cursor Settings:
Cmd+Shift+Jon macOS,Ctrl+Shift+Jon Windows / Linux. - Go to Models and scroll down to API Keys.
- Paste your key into OpenAI API Key and turn on the toggle next to it.
- Turn on Override OpenAI Base URL and enter:
https://api.siptoken.ai/v1
Don't put your SipToken key into Anthropic API Key or Google API Key. Those fields have no Base URL override, so requests won't go through SipToken.
Add models
- On the same Models page, click Add Custom Model.
- Enter a model ID, such as
gpt-6.1-sol. It must match the SipToken ID exactly. - Turn on the toggle for that model.
- Repeat for any other models you want.
- Restart Cursor.
Use the IDs returned by GET /v1/models. The command is in Quickstart.
What changes while your key is on
With the OpenAI API Key toggle on, every OpenAI-family model sends requests to the Base URL you entered. Cursor's own models stop working and show This model does not support custom API keys. To use them again, turn the toggle off.
Team plans
Team admins can block members from using personal keys. If the key field is greyed out, or your settings don't take effect after saving, ask your admin. On team plans Cursor also charges a per-token fee when you use your own key. See Cursor's pricing page.
Verify
- Start a new conversation in Agent or Chat.
- Pick the model you added, such as
gpt-6.1-sol, from the model dropdown. - Send
Reply with exactly: ok.
If it returns ok, you're connected. The request also shows up in the usage logs in the console.
If it fails, test the key itself with the curl commands in Quickstart. If curl works and Cursor doesn't, the problem is in Cursor's settings.
Common errors
| Error | Cause and fix |
|---|---|
Model name is not valid | Usually the toggle next to OpenAI API Key is off. Turn it on, restart Cursor and start a new conversation. |
This model does not support custom API keys | You picked one of Cursor's own models while your key is on. Pick a model you added, or turn the toggle off. |
The model "…" is already available as "…" | The name clashes with a model Cursor already has, so Cursor won't add it. That model can't go through SipToken in Cursor. |
| 401, "invalid token" | Usually the key is wrong or no longer valid. Check it on the Tokens page and copy it again without spaces. |
| 403, mentions quota | Usually your balance or the key's quota is used up. Top up on the Wallet page or raise the key's quota. |
| 404 | Usually the Base URL is missing /v1 or has an extra /chat/completions. Change it to https://api.siptoken.ai/v1. |
| 429 | You've hit 120 requests per minute. One Agent task sends many requests in a row. Wait a moment and retry. |
| 503, "no available channel" | Usually the model name doesn't match a SipToken ID. Rename it to match what GET /v1/models returns. |
| Connection failed, timeout | Usually a typo in the Base URL, or a local address. Cursor's servers can only reach public addresses. If the URL is right, check the status page. |
FAQ
Can Tab completion go through SipToken?
No. Tab completion only uses Cursor's own models, whatever key you enter.
Can I use Claude or Gemini models in Cursor?
Not at the moment, for the reason given in "Before you start". To code with Claude models, use Claude Code or Cline.
Why doesn't my local proxy work?
Cursor sends requests from its servers, not from your computer. It can't reach proxies on your machine, localhost, or addresses on your internal network.
Does Cursor store my key?
According to Cursor, the key is sent to its servers with each request and isn't stored there. It is saved in Cursor's settings on your machine. We recommend creating a separate key for Cursor with a quota set.
I can't click into the key field
This is a known problem in Cursor 3.15.6. Update to a newer version and try again.
How do I switch back to Cursor's own models?
Turn off the toggle next to OpenAI API Key and turn off Override OpenAI Base URL. You can leave the key in place for next time.