Describe the Bug
I am getting the following error whenever I try to use my self provided google api key, which I know 100% is valid. It looks like some of the model names in the google API has changed, and Cursor has not updated it. I was using Azure OpenAI before and now Google doesn’t work either. I might as well switch to github copilot at this rate…
We encountered an issue when using your API key: Provider was unable to process your request API Error: Request failed with status code 404: [{ "error": { "code": 404, "message": "models/gemini-2.5-pro-latest is not found for API version v1main, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods.", "status": "NOT_FOUND" } } ]
Steps to Reproduce
- Add google API key
- Send a message
- Get a bug
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.2.4 (Universal)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T16:55:16.443Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0
Does this stop you from using Cursor
Yes - Cursor is unusable

