Gemini 2.5 Pro no longer supported for Cody enterprise users?

Our site config had this and it was working fine:

    "modelName": "gemini-2.5-pro-preview-03-25",
    "modelRef": "google::v1::gemini-2.5-pro-preview-03-25",

But then suddenly I got:

Google (Sourcegraph Cody Gateway): unexpected status code 400: {“error”:"model "google/gemini-2.5-pro-preview-03-25" is not allowed

So I tried moving to the stable model name:

    "modelName": "gemini-2.5-pro",
    "modelRef": "google::v1::gemini-2.5-pro",

Same not-found error. So I tried this newer preview model:

    "modelName": "gemini-2.5-pro-preview-06-05",
    "modelRef": "google::v1::gemini-2.5-pro-preview-06-05",

Same not-found error. So I tried this other preview model:

    "modelName": "gemini-2.5-pro-preview-05-06",
    "modelRef": "google::v1::gemini-2.5-pro-preview-05-06",

I think I’ve now exhausted all the Gemini 2.5 Pro model names available from Google. So what’s going on here? Is 2.5 Pro no longer supported?

Chris

1 Like

Hey @chrislrobert this issue is being investigated. We will follow up asap!

Hey @chrislrobert this is now fixed. Please let us know if you run into any other issues.

Thanks, @jdorfman! I’m still getting model \"google/gemini-2.5-pro\" is not allowed, so I’m guessing it’s one or more of the three preview models that are supported? Can you confirm which? And is that level of detail (the actual supported model names) documented anywhere? The models-supported page is nice, except it doesn’t give the precise model names that will or won’t work, and I’ve not found that list anywhere. (The error message about unsupported models gives a list, but the list is truncated, so I’m always guessing about a lot of the names…)

Thanks again,

Chris

1 Like

You are welcome!

Hey @chrislrobert

Just got word: “gemini 2.5 pro and flash are available now”

I brought up the docs issue and waiting for hear back.

Yes, thank you, it’s working now!

Thanks again,

Chris

1 Like