Fallback models from different providers
# support
h
Is there a possibility to configure a fallback model from google (e.g. gemini-flash-2) when the default is set to openai. Would be amazing incase one provider fails completely
v
Yes, you can configure a Google model (gemini-flash-2) as a fallback when your default is set to OpenAI in Vapi. According to [Vapi's documentation](https://docs.vapi.ai/voice-fallback-plan), you can add this to your assistant's configuration:
Copy code
json
{
  "model": {
    "provider": "openai",
    "model": "gpt-4o",
    "fallbackModels": [
      {
        "provider": "google",
        "model": "gemini-flash-2"
      }
    ]
  }
}
This helps protect against provider-wide outages. Sources: - [Voice Fallback Plan](https://docs.vapi.ai/voice-fallback-plan) - [Changelog 2025/2/17](https://docs.vapi.ai/changelog/2025/2/17)
Yes, you can configure a Google model (gemini-flash-2) as a fallback when your default is set to OpenAI in Vapi. According to [Vapi's documentation](https://docs.vapi.ai/voice-fallback-plan), you can add this to your assistant's configuration:
Copy code
json
{
  "model": {
    "provider": "openai",
    "model": "gpt-4o",
    "fallbackModels": [
      {
        "provider": "google",
        "model": "gemini-flash-2"
      }
    ]
  }
}
This helps protect against provider-wide outages. Sources: - [Voice Fallback Plan](https://docs.vapi.ai/voice-fallback-plan) - [Changelog 2025/2/17](https://docs.vapi.ai/changelog/2025/2/17)
k
By setting up a custom LLM endpoint that tries OpenAI first and switches to Gemini Flash 2 if it fails, then linking that endpoint as a Custom LLM in your assistant settings.
b
Can i contact you please would love some help with current issues facing with Vapi
c
Hey Bank, checking if this is resolved/solved for you?
h
Hey Shubam, unfortnunately not. We dont want to switch to a custom LLM due to latency reasons, and i cant see a possibility to set a fallback model from a different provider. Would be amazing if this is possible
c
Hey, Could you please schedule a brief call at your convenience so we can discuss this matter in detail? Kindly use the following link to book a suitable time: .
a
Hey all, we're facing the same issue. We're using grok, and I guess that sometimes some error happen and the assistant calls OpenAI, but the model is very slow. I would like to at least select which model it is going to use on openai. I tried the Support bot solution, but I get 404 when I send the request, and I can't find anything about it on the docs.
7 Views