Overriding the base URL affects chat and inline commands. Cursor’s signature features (Tab autocomplete, the agentic Composer) rely on Cursor’s own models and may not work through a third-party endpoint — that’s expected.
Prerequisites
RuAPI account and API key
Console → Tokens → create an
sk-... key. The balance tops up in USDT — see Top-up.Setup
Open model settings
Cursor Settings (the gear icon top-right, or
Cmd/Ctrl + Shift + J) → the Models section.Enter the key and address
| Field | Value |
|---|---|
| OpenAI API Key | sk-your-key |
| Override OpenAI Base URL | https://www.ruapi.ai/v1 — with /v1 |
Add models
In the model list, turn off the defaults and click + Add model — enter exact model IDs (from the pricing page). The ID must match verbatim.
First request
Open chat (Cmd/Ctrl + L), pick your added model at the top, and send:
Troubleshooting
Verify fails / 401
Verify fails / 401
- The key must be a RuAPI token (
sk-...), not an OpenAI key. - Check that the Override Base URL toggle is on and the address is
https://www.ruapi.ai/v1with/v1. - Remove stray spaces when pasting.
Model not found
Model not found
The model ID must match RuAPI verbatim. Exact names are on the pricing page.
Tab and Composer don't work with my models
Tab and Composer don't work with my models
That’s normal: those features use Cursor’s own models. Chat and inline edits work reliably through a third-party Base URL.