Cursor can talk to any OpenAI-compatible endpoint for chat through the Override OpenAI Base URL setting. It is the least documented of the integrations here: Cursor's current docs no longer describe the override, and the steps below come from Cursor staff answers on the official forum. It works, with the limits listed at the end.
Setup
- Open Cursor Settings → Models.
- In the OpenAI API Key field paste your Chainless key (
cl-…, from dashboard/keys) and save. - Turn on Override OpenAI Base URL and enter
https://chainless.one/v1. Keep the/v1: Cursor appends/chat/completionsitself. - Add a custom model with the id
kimi-k3.1-pro-uncensored(orglm-5.3-fast-uncensoredfor fast answers) and select it in Chat or Agent.
All public ids: glm-5.3-uncensored, glm-5.3-fast-uncensored, deepseek-v4.1-uncensored, deepseek-v4.1-fast-uncensored, kimi-k3.1-pro-uncensored. They are listed with limits on /models.
Check the key outside Cursor first
If Cursor shows a generic error, rule out the key and the model id with one request:
curl https://chainless.one/v1/chat/completions \
-H "Authorization: Bearer $CHAINLESS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "kimi-k3.1-pro-uncensored", "messages": [{"role": "user", "content": "ping"}]}'A JSON answer means the key and plan are fine and the problem is in Cursor's settings. A 402 means the account needs a plan or a top-up (pricing).
Limits and known issues
- Custom keys cover chat models only; Tab completion keeps using Cursor's models.
- Cursor's plan rules for own keys vary by plan; check your plan page if the OpenAI key field is locked.
- While the override is on, Cursor's built-in OpenAI-family models also go to the custom URL (confirmed by Cursor staff). Turn it off to use them.
- On Teams and Enterprise plans Cursor may add its own per-token platform fee to requests made with your key.
- There is one override for all OpenAI-family models; you cannot set a base URL per model.
If you need per-project control or tool calling you can see and debug, Cline, Kilo Code or OpenCode give you full provider settings.
Sources
Checked against the official documentation on 2026-11-29. Tools change their settings often; if a field moved, the source below is the reference.
- cursor.com/help/models-and-usage/api-keys
- cursor.com/docs/models-and-pricing
- forum.cursor.com/t/171497