Cursor connects to Claudexia through its OpenAI-compatible mode with your own key.
sk_cdx_. No account yet? Sign up.A paid Cursor plan (Pro or higher) is required. Custom keys do not work during the trial.
OpenAI API Key and paste your Claudexia key.Override OpenAI Base URL and enter https://api.claudexia.tech/v1.Add model and enter the Cursor model name from the table below.Verify and pick the model in the chat.Cursor does not accept its own model names with a third-party key, so Claude and GPT models have a separate name for Cursor: for example cursor5 for Claude Opus 5. Models from other developers (Gemini, DeepSeek, Qwen and others) use their API name.
| API ID | Name for Cursor |
|---|---|
claude-opus-5-5 | cursor55 |
claude-opus-5 | cursor5 |
claude-sonnet-5 | cursors5 |
claude-fable-5-1 | cursorfable51 |
claude-fable-5 | cursorfable5 |
claude-opus-4-8 | cursor48 |
claude-opus-4-7 | cursor47 |
claude-opus-4-6 | cursor46 |
claude-sonnet-4-6 | cursor46s |
gpt-6.1-sol | cursorgpt61sol |
gpt-6-astra | cursorgpt6ast |
gpt-6-sol | cursorgpt6sol |
gpt-6-luna | cursorgpt6lun |
gpt-5.6-sol | cursorgpt56sol |
gpt-5.6-terra | cursorgpt56ter |
gpt-5.6-luna | cursorgpt56lun |
The table can lag behind the catalog. If a Claude or GPT model you need is missing, ask support for its name.
claude-sonnet-5. It is the default in our examples and is in the Premium channel. The Cheap channel has claude-opus-5-5 instead.claude-opus-5-5. It costs more than Sonnet 5.deepseek-v4.1-flash or gpt-6-luna. Both cost several times less than Sonnet 5 and work in the Premium channel only.In Cursor, type the name from the table above rather than the ID: for example cursors5 instead of claude-sonnet-5.
Prices and the full list are in the model catalog. GPT, DeepSeek, Gemini and other non-Claude models work only with Premium channel keys: see Channels.
The Verify button in settings checks the key and address. Then open the chat, choose the model you added and send "Hello".
Click an error to see what to do.
Enter the name from the table exactly, with no spaces or extra characters. If a model has no Cursor name, use its ID from GET /v1/models.
The tool sent a wrong key or no key at all. Copy the whole key from API keys: it starts with sk_cdx_ and has no spaces or line breaks. If the key was deleted or revoked, create a new one. Restart the tool after you change the key.
Your balance ran out. In the OpenAI format the error has the code insufficient_quota; in the Anthropic format it is HTTP status 402. Top up under Billing by card or with crypto, from $1. No settings need to change, just send the request again. When the balance is almost empty, requests run one at a time and you may get a 429 with the code low_balance. The code account_frozen means the account is suspended: contact support.
The tool calls the wrong address. For this tool the address is https://api.claudexia.tech/v1, ending in /v1 with no slash after it. If the tool adds /v1 on its own, you end up with /v1/v1 and a 404: remove /v1 from the field. The address table for other tools is on Addresses and formats.
Tools read their settings at startup. Quit the tool completely and open it again, and open a new terminal window. An environment variable set in one terminal window is not visible in another. Apps started from the Dock, the Start menu or a shortcut do not read ~/.zshrc or ~/.bashrc: for them, put the key in the tool settings.
The model name must match the ID in the catalog exactly: claude-sonnet-5, not "Claude Sonnet 5". Only Claude Code understands the [1m] suffix; leave it out everywhere else.
The model is not in your key channel. The Cheap channel serves Claude models only; Premium serves the whole catalog. Switch the model or the key channel: see Premium and Cheap channels.
The command below sends one short request straight to Claudexia, without the tool. It tells you whether the problem is your key and balance or the tool settings. Replace sk_cdx_YOUR_KEY with your key. The request costs a fraction of a cent.
curl https://api.claudexia.tech/v1/chat/completions \
-H "Authorization: Bearer sk_cdx_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "claude-sonnet-5", "max_tokens": 16, "messages": [{"role": "user", "content": "Reply with OK"}]}'Invoke-RestMethod https://api.claudexia.tech/v1/chat/completions -Method Post `
-Headers @{ Authorization = 'Bearer sk_cdx_YOUR_KEY' } -ContentType 'application/json' `
-Body '{"model": "claude-sonnet-5", "max_tokens": 16, "messages": [{"role": "user", "content": "Reply with OK"}]}'You get a reply with a choices field: the key and balance are fine, so look at the tool settings. You get an error: the code and message point to the cause. They are covered above and in the error reference.