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.