About
Cursor is a VS Code–based editor with built-in AI: autocomplete, codebase chat and the Composer agent. Connect our API as an OpenAI provider to use our models across all of the editor's AI features.
How to connect
⚠️ Cursor Pro or higher required. Adding custom models (Add Model) and overriding the Base URL are not available on the free Free plan.
Primary method — API key + custom Base URL.
Open Cursor Settings (
Ctrl + ,on Windows/Linux orCmd + ,on macOS).Go to the Models tab.
At the bottom of the page find the API Keys section and paste your
sk-or-...key into the OpenAI API Key field.📷 Screenshot: API Keys section at the bottom of the Models tab with the OpenAI API Key field
Enable Override OpenAI Base URL and set the gateway address:
https://api.openrussiarouter.com/v1📷 Screenshot: Override OpenAI Base URL toggle with the gateway address
Switch to the Add Model tab and enter the exact model ID from the Models catalog.
Click Verify to test the connection, then enable the added model with the toggle.