Gemini API does not work anymore

Describe the Bug

I cannot use my own Google Key anymore with the new update. Before it was working properly, but now it is showing me this:

Invalid Model
The model Gemini-2.5-pro does not work with your current
plan or api.

Steps to Reproduce

Adding an API key and trying to use Gemini.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.43
VSCode Version: 1.99.3
Commit: 8e4da76ad196925accaa169efcae28c45454cce0
Date: 2025-10-30T18:49:27.589Z (15 hrs ago)
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 25.0.0

For AI issues: which model did you use?

Gemini-2.5-pro

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @blankohagen7, that’s odd but let’s figure this out. First, check whether the same API key works on the Google developer console where you got the key from, or with a different client such as curl. Does it work there?

Hey, thanks for the report. It looks like the issue is the model name. If you added this model manually, please remove it and use the model name that’s already available in Cursor.

1 Like