Cursor is trying to use openrouter when Using Google API

Could someone from Cursor team please check this:

It might be a quick backend fix.

I’ve verified that my Google API key works by using the Curl command from Google AI studio.

When I click “verify” in Cursor settings, it doesn’t return any errors, so I assume it’s verifying correctly.

Trying to use it in Chat gives that openrouter error:
image

I’ve checked 0.39.6, 0.40.1, and 0.40.3, it’s reproducible on all those builds. So it seems like it might be a backend issue.

1 Like

The “Override OpenAI Base URL” setting is also being used for Google models. If you reset it to the default, the error should disappear. However, I agree that it’s somewhat confusing.

image

1 Like