Override OpenAI Base URL not working

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cant change the base URL for OpenAI API requests. Cant connect custom models via OpenRouter

Steps to Reproduce

Go to Cursor Settings → Models → Override OpenAI base URL

Expected Behavior

plug in custom models via OpenRouter

Operating System

MacOS

Version Information

3.15.19

Updated: 2026-08-11 T05:22:54.627Z

Does this stop you from using Cursor

Yes - Cursor is unusable

I have same issue. Same version on the same OS

Hey, thanks for the report. This is a known issue in 3.15.x. The OpenAI API Key and Override OpenAI Base URL fields in Settings > Models don’t get focus on mouse click. It’s already fixed in 3.15.20 and later, and you’re on 3.15.19, the last build without the fix.

Please update Cursor to 3.15.20 or newer via Cmd+Shift+P then Attempt Update, or reinstall from cursor.com. After that, those fields should be editable again.

If you can’t update right now, here’s a temporary workaround. Click any nearby item in the Models panel, then press Tab to move focus into the field. When focused via keyboard, typing and pasting works.

Then for OpenRouter:

  • In Override OpenAI Base URL, set https://openrouter.ai/api/v1
  • In OpenAI API Key, paste your OpenRouter key
  • Add the model in Custom Models using the slug from OpenRouter

This setup works for custom models used for chat and agent. Cursor Tab and built-in Cursor models don’t go through this path. Let me know if anything still doesn’t work after updating.