Describe the Bug
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-flash-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” } } ]
when i check the api response https://generativelanguage.googleapis.com/v1/models?key=APIKEY
there is no models/gemini-2.5-flash-latest
only models/gemini-2.5-flash
Steps to Reproduce
use gemini-2.5-flash model ask
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.2.4 (user setup)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T17:09:01.383Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100