Override OpenAI Base URL in Cursor: what happens to Cursor's OpenAI models, and going back

Coding with AICursor·· 8 views· 3 min read

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.interweb.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 Interweb 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.interweb.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.

Want our models in Cursor? Visit the Coding with AI page.

See Coding with AI

SEE ALSO

Cursor with All in One AI: your key, our address and the models to add

Cursor errors: 401, model not found and the /v1 address

Adding more models in Cursor: Add Custom Model and the id with the slash

Which coding tool to use with All in One AI: OpenCode, Claude Code, Codex, Cursor, Cline, Kilo Code or Aider

Coding with AI in All in One AI

RECOMMENDED PRODUCT

Web hosting with cPanel

Domain and SSL included, daily backups and the panel you already know. from $5.36/mo (3-year plan, with coupon)

See plans
Was this answer helpful? Your answer helps us improve this article.