Gemini 2.5 Pro - Own API Key - Not Working

Also not working with normal mode, shows up same error

thanks for the update @letmeprodher, it seems to be a current issue for some users and Cursor team is looking into that.

Do you have by any chance a MCP enabled?

Same for me and it’s getting on my nerves for real so far!!!
I am truly mad, totally regretting my yearly subscribtion after 2 months only :\

@deanrie is it really that difficult to update the correct model provider name? Or is there something else? Because it is actually pretty annoying

+1 same
While you are actively collecting money, you should also do a good job in service. I think we have provided a clear description of the problem. What we need to know is the progress of solving the problem, whether the problem has been identified, and when it is expected to be resolved.

Hey, the team is working on fixing this error. I believe it will be resolved very soon.

! More days pass with no sign of patch update :\

Had the same issue, got it working by just adding a new custom model, named it the same as the model I wanted to use (in my case gemini-2.5-pro), selected that new model and it works fine now

5 Likes

Hey, thank you for finding the solution. We are also working on fixing this issue.

@deanrie It’s now been over a week and we still can’t use this model!

Hey, our team is currently focused on higher-priority tasks, but I’ve asked them to fix this bug when they have time. In the meantime, you can try manually adding the model gemini-2.5-pro to your model list, exactly as it appears in Cursor, then select it in the chat, and it should work. Hope this helps!

@icculus That doesn’t work in agent mode sadly, and still no official update :slight_smile: @deanrie ?

Does this also work with the max mode for max context window?

Yes, it also works in max mode.

I cant toggle the max mode on with the custom added models…

Are you getting any errors?

No, when I select the newly added gemini-2.5-pro and toggle max mode on, it switches automatically to claude-4-sonnet. Im unable to let the max mode toggle on while switching to the custom model.

@deanrie Any updates on this issue? It’s been over a week since gemini-2.5-pro stopped working with personal API keys, and gemini-2.5-pro-preview-06-05 can’t be used with MAX mode

Hey, our team is currently focused on higher-priority tasks, but I’ve asked them to fix this bug when they have time. In the meantime, you can try manually adding the model gemini-2.5-pro to your model list, exactly as it appears in Cursor, then select it in the chat, and it should work. Hope this helps!

2 Likes

This did not work for me, and I am also not able to add gemini 2.5 flash, which I use for a lot of stuff.

1 Like