# Override OpenAI Base URL toggle switch turn on automatically after few seconds no matter how many times I turn off

**URL:** <https://forum.cursor.com/t/override-openai-base-url-toggle-switch-turn-on-automatically-after-few-seconds-no-matter-how-many-times-i-turn-off/144215>\
**Category:** Bug Reports\
**Created:** [November 26, 2025, 4:09am UTC](https://forum.cursor.com/t/override-openai-base-url-toggle-switch-turn-on-automatically-after-few-seconds-no-matter-how-many-times-i-turn-off/144215 "2025-11-26T04:09:49Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Subhojit\_Ghosh](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/subhojit_ghosh/32/88563_2.png) [@Subhojit\_Ghosh](https://forum.cursor.com/u/Subhojit_Ghosh)\
**Post date:** [November 26, 2025, 4:09am UTC](https://forum.cursor.com/t/override-openai-base-url-toggle-switch-turn-on-automatically-after-few-seconds-no-matter-how-many-times-i-turn-off/144215/1 "2025-11-26T04:09:49Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

I have a custom OpenAI API key added, and I once turned on the override base URL for testing. After that, I turned it off. But after that, it automatically turns on. I tried to turn it off multiple times, but after a few seconds it turned on automatically.

### Steps to Reproduce

1. Put a custom OpenAI api key and turn on the api key toggle
2. Turn on override base URL
3. Send a message in chat
4. Turn off override base URL
5. Close the settings page
6. Open the settings page again (you may need to do this step multiple times)

### Expected Behavior

It should stay turned off

### Screenshots / Screen Recordings

### Operating System

MacOS

### Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.35 (Universal)  
VSCode Version: 1.105.1  
Commit: 7c2ce39981a2dd9877d57af05db98697e1c20900  
Date: 2025-11-26T01:28:06.050Z  
Electron: 37.7.0  
Chromium: 138.0.7204.251  
Node.js: 22.20.0  
V8: 13.8.258.32-electron.0  
OS: Darwin arm64 25.1.0

### Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [November 26, 2025, 8:24am UTC](https://forum.cursor.com/t/override-openai-base-url-toggle-switch-turn-on-automatically-after-few-seconds-no-matter-how-many-times-i-turn-off/144215/2 "2025-11-26T08:24:26Z")

</div>

Hey, thanks for the report.

This might be an issue with cached settings. Could you try:

- Turn off the “Override Base URL” toggle
- Completely quit Cursor `CMD+Q`
- Restart Cursor
- Check if the toggle stays off

If the toggle still automatically turns back on after a full restart, please also try:

- Remove your OpenAI API key from Settings
- Restart Cursor completely
- Add the API key again (without ever enabling “Override Base URL”)
- Check if the issue still happens

Let me know if the restart helps or if the toggle keeps turning itself back on.

---

<div class="post-metadata">

**Author:** ![Luke\_Park](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/luke_park/32/81430_2.png) [@Luke\_Park](https://forum.cursor.com/u/Luke_Park)\
**Post date:** [December 1, 2025, 3:40pm UTC](https://forum.cursor.com/t/override-openai-base-url-toggle-switch-turn-on-automatically-after-few-seconds-no-matter-how-many-times-i-turn-off/144215/3 "2025-12-01T15:40:35Z")

</div>

I am also facing this same bug. Here is what I have tried:

1. turning off the override base url within 30-60 seconds the toggle literally turns itself back on
2. I have quit cursor, updated, and deleted the app and re-downloaded it
3. removed openai key
4. added the api key again (for both openai and anthropic)

No matter what the override OpenAI Base Url toggle keeps turning itself back on and causing Claude series models to fail. For now, I always have my setting page open and I manually disable the OpenAI Base URL toggle every time I send a request, but this is incredibly annoying

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [December 1, 2025, 4:02pm UTC](https://forum.cursor.com/t/override-openai-base-url-toggle-switch-turn-on-automatically-after-few-seconds-no-matter-how-many-times-i-turn-off/144215/4 "2025-12-01T16:02:44Z")

</div>

Hey, thanks! A few quick checks and details will help us fix this:

Please try:

- Clear the Override Base URL field (leave it blank), toggle it off, then fully quit Cursor (Cmd+Q) and relaunch.

And please share:

- Cursor version and OS (Help \> About)
- The exact Base URL you previously set and which provider it’s for
- Any DevTools console errors right when the toggle turns itself back on (Help \> Toggle Developer Tools)

We’ll prioritize a fix once we have this info.

---

<div class="post-metadata">

**Author:** ![Luke\_Park](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/luke_park/32/81430_2.png) [@Luke\_Park](https://forum.cursor.com/u/Luke_Park)\
**Post date:** [December 1, 2025, 6:03pm UTC](https://forum.cursor.com/t/override-openai-base-url-toggle-switch-turn-on-automatically-after-few-seconds-no-matter-how-many-times-i-turn-off/144215/5 "2025-12-01T18:03:18Z")

</div>

So when there is no OpenAI BaseURL I get this error: Request failed with status code 404: {“type”:“error”,“error”:{“type”:“not\_found\_error”,“message”:“model: claude-4.5-opus-high-thinking”},“request\_id”:“req\_011CVgQQ8xcuuyVVRp3sjupp”}

So right now the only time my Anthropic model requests work is if I set the OpenAI Base URL to: [https://api.openai.com/v1](https://api.openai.com/v1)

But if the toggle is on for OpenAI Base URL whilst making an Anthropic request, I get this error:  
Request ID: 4c183a66-3b84-4412-bf61-37a0adf2c7ca  
{“error”:“ERROR\_BAD\_USER\_API\_KEY”,“details”:{“title”:“Bad User API key”,“detail”:“Unauthorized User API key”,“isRetryable”:false,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}  
ConnectError: [unauthenticated] Error  
at jZc.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6331:408701)  
at dLo.\_doInvokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6948:21873)  
at dLo.\_invokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6948:21615)  
at dLo.\_receiveRequest (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6948:20377)  
at dLo.\_receiveOneMessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6948:19194)  
at \_Pt.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6948:17286)  
at \_e.\_deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)  
at \_e.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)  
at tpt.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6316:12156)  
at MessagePort. (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:8977:18439)

- Cursor Version: Version: 2.1.41  
VSCode Version: 1.105.1  
Commit: 1321aa9140784391e83a406174345e818fe156f0  
Date: 2025-11-30T18:58:57.968Z  
Electron: 37.7.0  
Chromium: 138.0.7204.251  
Node.js: 22.20.0  
V8: 13.8.258.32-electron.0  
OS: Darwin arm64 24.6.0
- Base URL: for OpenAI and is set to [https://api.openai.com/v1](https://api.openai.com/v1)

---

<div class="post-metadata">

**Author:** ![Luke\_Park](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/luke_park/32/81430_2.png) [@Luke\_Park](https://forum.cursor.com/u/Luke_Park)\
**Post date:** [December 3, 2025, 4:14am UTC](https://forum.cursor.com/t/override-openai-base-url-toggle-switch-turn-on-automatically-after-few-seconds-no-matter-how-many-times-i-turn-off/144215/11 "2025-12-03T04:14:38Z")

</div>

any updates on this bug?

---

<div class="post-metadata">

**Author:** ![Maximiliano\_Annunzia](https://avatars.discourse-cdn.com/v4/letter/m/4da419/32.png) [@Maximiliano\_Annunzia](https://forum.cursor.com/u/Maximiliano_Annunzia)\
**Post date:** [December 21, 2025, 2:08pm UTC](https://forum.cursor.com/t/override-openai-base-url-toggle-switch-turn-on-automatically-after-few-seconds-no-matter-how-many-times-i-turn-off/144215/12 "2025-12-21T14:08:41Z")

</div>

I’m starting to think this might be a bug intentionally designed to prevent us from using models on our side

---

<div class="post-metadata">

**Author:** ![Kingu](https://avatars.discourse-cdn.com/v4/letter/k/ce7236/32.png) [@Kingu](https://forum.cursor.com/u/Kingu)\
**Post date:** [January 6, 2026, 11:57pm UTC](https://forum.cursor.com/t/override-openai-base-url-toggle-switch-turn-on-automatically-after-few-seconds-no-matter-how-many-times-i-turn-off/144215/13 "2026-01-06T23:57:03Z")

</div>

same ■■■■ is happening to me, not only this, but also another bug happens if i use openrouter’s api there too. Its been like this for months now, and i don’t see them doing a thing to fix this…

---

<div class="post-metadata">

**Author:** ![Sarthak\_Singh1](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@Sarthak\_Singh1](https://forum.cursor.com/u/Sarthak_Singh1)\
**Post date:** [January 7, 2026, 10:39am UTC](https://forum.cursor.com/t/override-openai-base-url-toggle-switch-turn-on-automatically-after-few-seconds-no-matter-how-many-times-i-turn-off/144215/14 "2026-01-07T10:39:50Z")

</div>

Still getting same !!

---

<div class="post-metadata">

**Author:** ![supun\_sandaruwan](https://avatars.discourse-cdn.com/v4/letter/s/aeb1de/32.png) [@supun\_sandaruwan](https://forum.cursor.com/u/supun_sandaruwan)\
**Post date:** [January 19, 2026, 8:45pm UTC](https://forum.cursor.com/t/override-openai-base-url-toggle-switch-turn-on-automatically-after-few-seconds-no-matter-how-many-times-i-turn-off/144215/15 "2026-01-19T20:45:26Z")

</div>

I do not know this is the solution or not,  
But please check if you have open more than 1 cursor windows, if yes close them and keep one window. then make the changes to the settings. this worked for me!!! 🫡

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [February 10, 2026, 8:45pm UTC](https://forum.cursor.com/t/override-openai-base-url-toggle-switch-turn-on-automatically-after-few-seconds-no-matter-how-many-times-i-turn-off/144215/16 "2026-02-10T20:45:43Z")

</div>

Closed on February 10, 2026, 8:45pm UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
