Cursor Setup Guide
Point the OpenAI key slot in Cursor at UnoRouter and use its models in Chat and Agent.
Overview
Cursor lets you replace the OpenAI key and base URL with your own. Requests still pass through Cursor's servers, so this needs a paid Cursor plan and covers Chat and Agent only.
Quick Config
Paste these into the client. Your key auto-fills when signed in.
Base URL: https://api.unorouter.com/v1
API Key: YOUR_API_KEYCompatibility
Step-by-step setup
- 1Open the API key settings
Open Cursor Settings, go to Models, scroll down and expand API Keys.
- 2Enter the key and base URL
Under OpenAI API Key, paste your UnoRouter key and turn on Use OpenAI API Key. Then turn on Override OpenAI Base URL and enter the base URL.
textOpenAI API Key: YOUR_API_KEY Override OpenAI Base URL: https://api.unorouter.com/v1 - 3Add the models
Add each model by its exact UnoRouter id. Ids that start with claude- are sent to the Anthropic key slot in Cursor and fail, so pick models from other families here.
textglm-5.3-flash:free gpt-5.5 - 4Restart and chat
Restart Cursor, open a new chat and pick the model in Chat or Agent.
Best free models for Cursor
Free models that work here. Paste any model id into the client.
Gotchas
- Your own key only works for chat models in Chat and Agent. Tab completion and the other built-in features keep using Cursor's own models.
- The base URL override applies to every OpenAI model in Cursor, including Cursor's own. Turn it off to go back to them.
- Cursor requires a paid plan to use your own key with a custom base URL. On team plans an admin can also turn personal API keys off.