When I activate the “Override OpenAI Base URL” toggle and put in my URL, that I have already tested directly with curl and confirmed it works, it always just says "Invalid Model: The model does not work with your current plan or api key. I have the 20 USD per month subscription, and I ensured my API key was correct. Why doesn’t this feature work?
Steps to Reproduce
Use any non-standard OpenAI Base URL with the toggle on.
Expected Behavior
It is supposed to make an API call to the URL, but it doesn’t.
Operating System
Linux
Current Cursor Version (Menu → About Cursor → Copy)
cursor_2.1.32_amd64.deb
(sorry i couldnt find where the “Menu → About Cursor” button was)
Hey, thanks for the report. The “Override OpenAI Base URL” feature currently has some known limitations with certain providers. To help troubleshoot your specific issue, please share:
A screenshot of your model settings (Cursor Settings > Models) showing the base URL override, model name, and which models are enabled or disabled
Which endpoint you’re using (for example, OpenRouter or another OpenAI-compatible API)
Which feature triggers the error: Chat or Inline Edit (Ctrl+K)
Important notes:
If you’re using OpenRouter, keep in mind that Cursor doesn’t officially support it yet and sends malformed requests
Once you share your configuration, I can help figure out whether this is a setup issue or something that needs to be passed to the team.