Custom OpenAI-compatible model disappears immediately after “Add” on Windows (works on Mac with same account)

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Product / Version
Cursor IDE version: 3.1.14
OS: Windows 10 (10.0.19045)
Same account on Mac: works
What happens
In Settings > Models, when I add a custom model (Qwen via DashScope OpenAI-compatible API), clicking Add makes the model disappear immediately.
No usable saved model entry remains in Settings.

Expected
Model should persist in Settings after Add.

Steps to Reproduce

Open Settings > Models
Set:
OpenAI API Key: DashScope key
Override OpenAI Base URL: https://dashscope.aliyuncs.com/compatible-mode/v1
Add model id: qwen-plus
Click Add
Model disappears right away

Expected Behavior

Model should persist in Settings after Add.

Operating System

Windows 10/11

Version Information

Version: 3.1.14 (user setup)
VSCode Version: 1.105.1
Commit: d8673fb56ba50fda33ad78382000b519bb8acb70
Date: 2026-04-14T01:39:23.679Z
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: Windows_NT x64 10.0.19045

For AI issues: which model did you use?

Qwen

Additional Information

Validation already done
API key is valid from terminal:
GET /compatible-mode/v1/models returns full model list including qwen-plus, qwen-plus-latest, etc.
Chat/completions endpoint also reachable.
Tried cache reset on Windows (globalStorage, workspaceStorage) and full restart/relogin.
Still reproduces on Windows.
Same account/config on Mac can add models successfully.
Why this seems like Cursor-side regression
Credentials and endpoint are valid (proven by direct API calls).
Cross-device behavior differs (Mac OK, Windows fails).
Looks like Windows-side custom model persistence/UI state issue.
Logs
Please inspect latest logs under: %APPDATA%\Cursor\logs
(especially latest window*/renderer.log and related workbench logs around the Add click time)

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the detailed report. Great work validating the API and doing cross-platform testing.

This is a known bug that was logged just yesterday, April 14. The issue is that after you click Add, it triggers a model refresh from the server, which removes custom models that aren’t in the Cursor catalog. The team is aware, and it’s currently in triage.

Unfortunately, there isn’t a working workaround yet. The only option for now is to use Mac, like you’re already doing. I’ll link your report to the ticket to help raise the priority.

Once there’s a fix, I’ll update here.