Some of my models have disappeared this morning. My Claude 3.7 and Gemini 2.5 models are no longer in the list of models within the Cursor settings. They were there when I went to sleep, and they were gone when I woke up. Please help. I need the logical reasoning power of those models. The other models aren’t capable of doing the architectural logic level that I work at; they start wrecking the code as the logic and architecture is too advanced for them. Thus, this stops my development.
Cursor Information:
Version: 0.48.9
VSCode Version: 1.96.2
Commit: 61e99179e4080fecf9d8b92c6e2e3e00fbfb53f0
Date: 2025-04-12T18:33:49.349Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.4.0
Hey, it looks like you have an active API key. Try disabling it, and the list should update. Also, if that doesn’t work, try restarting Cursor or adding these models manually.
1 Like
That worked! Thank you for your help… Though, this is a bit illogical… If having an active API key makes my models disappear, the ones that I want to use with my API keys, then what is the point of having the ability to add API keys?
Usually, this shouldn’t happen. The loaded list of models should remain with you. However, this might occur if you frequently enable your API key.
It appears to me that there is a bug approximately as follows:
- Cursor attempts to refresh something about a specific subset of the list of models – it looks like the most expensive models from the providers for which an API key can be used.
- It makes a bad query to the OpenAI API, which fails.
- This failure aborts the entire refresh process.
- This abort causes all impacted models to disappear from the model list.
I assume this can happen sporadically, any time any of the providers experiences a transient API issue. In my case it seems to be happening because of a CORS failure calling the OpenAI API, so I’m not sure how that can be transient, but I haven’t investigated further.
Access to fetch at 'https://api.openai.com/v1/models' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. @ workbench.html:1
Failed to load resource: net::ERR_FAILED @ api.openai.com/v1/models:1
workbench.desktop.main.js:580 Error refreshing API key models: TypeError: Failed to fetch
at MVt.n (workbench.desktop.main.js:580:60566)
at MVt.refreshAPIKeyModels (workbench.desktop.main.js:580:59805)
refreshAPIKeyModels @ workbench.desktop.main.js:580
Vanishing Models?
We typically refer them as ‘Anorexic Models’
Or, more PC: ‘That Model has an Ingestion Problem’