Model override gets deactivated

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I use “Override OpenAI Base URL” to use either Vertex or OpenRouter.
It works. however during agent execution/plan/agent mode the “OpenAI API Key” toggle gets automatically disabled without any notification and Cursor starts incurring costs and usage against my usage limits. Obviously the expectation is to honor the configuration and use the BYOK that was explicitly enabled and setup.
No notifications or warning are displayed.
This is a breach of trust!

Not only you make it hard to integrate with external BYOK providers like OpenRouter and Vertex but i feel completely sabotaged with these silent breaches of configurations that never notify users of the configuration changes. You just get slapped with the bill.

Steps to Reproduce

Setup OpenRouter or Vertex via the only possible way in the app “Override OpenAI Base URL” and get the agent to build a plan and execute. eventually the enabled “OpenAI API Key” toggle will flip to disabled without any notification and cost will start incurring.

Expected Behavior

Don’t breach user’s trust by disabling an explicitly configured toggle. At least throw an error. This is so low I cannot believe it’s a bug. It feels like a feature.

Operating System

MacOS

Version Information

Version: 3.2.11
VSCode Version: 1.105.1
Commit: e9ee1339915a927dfb2df4a836dd9c8337e17cc0
Date: 2026-04-24T14:36:47.933Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.4.0

For AI issues: which model did you use?

Gemini 3.1 Pro

For AI issues: add Request ID with privacy disabled

Silent disable. no errors are thrown.

Additional Information

Automatically changing the user configurations shouldn’t exist as a feature.

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the detailed report. You described the symptom and repro steps really clearly.

This is known behavior. For paid subscriptions, the BYOK toggle “Use OpenAI API Key” can reset to false after certain internal events like a token refresh or a subscription status change, and the UI does not show any notification. We’ve logged the issue, but I can’t share an ETA for a fix yet. There’s a duplicate with the same symptom here: OpenAI API key keeps toggling off on its own

For now, the only workaround is manual. Please check that the toggle is still on from time to time, especially before starting long agent sessions. If you catch the moment it turns off, I’d really appreciate the Request ID of the request that went to our billing. You can get it via Chat > “…” > Copy Request ID. That will help us track it.

About any incurred usage or limits charged because of this, please email [email protected] and the team can look at your account specifically.