Fallback models are backup models a key lists in order. When the model's provider fails - a provider 5xx, 429 or 408, a timeout, a network error, or a provider whose circuit is open - Infere tries the next fallback model. Other 4xx errors go back to your app unchanged, and Infere's own limits never fall back: they refuse the request before any model is called. Fallback is not used on development keys.

Why it matters

Provider outages and rate limits are routine. Without a fallback, a single upstream failure becomes your application's failure.

How it works

You list backup models in order on the key. When the model's provider fails - a provider 5xx, 429 or 408, a timeout, a network error, or a provider whose circuit is open - Infere tries the next fallback model. Other 4xx errors go back to your app unchanged, and the key's own limits never fall back: they refuse before a model is called. Fallback is not used on development keys.

Example

A key whose model is claude-haiku with fallbacks to gpt-4o-mini and a DeepSeek model keeps requests succeeding when one provider degrades.

← Back to the full glossary

Put the platform behind the terms

Route, evaluate, and monitor every AI request from one OpenAI-compatible platform.

Start Free → Explore the Features