For Cursor to use our models, you turn on Override OpenAI Base URL and type our address. The option does not only apply to the models you added: it applies to everything Cursor sends through its OpenAI route. Here is what changes and how to go back.
What the option does
With Override OpenAI Base URL on, Cursor sends its OpenAI-route requests to the address you type, with the key you put in OpenAI API Key. For All in One AI, the address is https://api.mozout.co.mz/v1, with /v1 at the end, because Cursor only adds /chat/completions.
Cursor's OpenAI models
According to our documentation, while the address is overridden, requests to Cursor's OpenAI models also come to our API. If the name Cursor sends is not an id in our catalogue, the API answers 404 model_not_found. Our ids always have a slash, such as moonshotai/kimi-k2.7-code.
So, with the option on, use the models you added under Add Custom Model in the chat.
Going back
| 1 |
Open Cursor Settings and then Models.
|
|
| 2 |
Turn off Override OpenAI Base URL. Cursor's OpenAI models stop coming to us.
|
|
| 3 |
Also turn off OpenAI API Key, or delete the key there. Otherwise Cursor keeps sending your MozOut key with requests to OpenAI models, which do not accept it.
|
|
| 4 |
The models you added under Add Custom Model stop reaching us. You can leave them in the list for next time.
|
|
To go back to our models, turn both options on again and check the address https://api.mozout.co.mz/v1.
|
These menu names come from our documentation. Cursor's help page on your own keys does not mention this option, and Cursor changes its settings often. If you need Cursor's models and ours on the same day, a separate tool saves you switching back and forth: Cline or Kilo Code in VS Code. See which tool to choose.
|
RECOMMENDED PRODUCT Web hosting with cPanel Domain and SSL included, daily backups and the panel you already know. from $6.60/mo (3-year plan, with coupon) See plans |