Google Gemini API key won’t save (validator calls ...
# support
z
Hey Vapi team, I’m trying to add my Gemini API key in Settings → Integrations → Google, but it always fails with: “Error in Saving Credentials … models/gemini-2.0-flash is no longer available to new users. Please update your code to use a newer model (404 NOT_FOUND)” My key works in Google AI Studio, so it looks like Vapi’s credential validation is hardcoded to gemini-2.0-flash which Google no longer allows for new users/projects. Can you update the validation to a supported model (or list models first), or advise a workaround (Vertex AI option, etc.)?
c
Hi, Our team is working on this issue. Once the latest deployment propagates, you should be able to add your Gemini API key in Settings → Integrations → Google without issues.
j
Thanks for flagging this! You’re right, Vapi’s validation still targets gemini-2.0-flash, which is now restricted for new projects. I can help you set up a working integration using a supported Gemini model or Vertex AI. Quick question are you looking to stick with Gemini specifically, or open to Vertex AI as a workaround? @zakov.ai
z
I would rather stick with Gemini specifically and not have to deal with a workaround, but depending on how long it takes to resolve this issue, I will consider just setting up through Vertex AI for the time being.