Ride out LLM provider outages
Every LLM provider has outages, rate limits, and periods of degraded service, and a feature that calls one provider directly goes down with it. Building failover and caching into every agent and service is repetitive work, so each team ends up reimplementing it inconsistently, or not at all. Moving traffic to another provider then means a code change and a redeployment in the middle of an incident.
What you can do
- Fail over to backup providers of a different vendor or model so that a single provider outage degrades performance instead of breaking the feature.
- Serve repeat and near-duplicate prompts from a cache so that common requests skip the provider call entirely, including while that provider is unavailable.
- Switch a surface to a different provider or model from the dashboard so that traffic moves on the next request, with no redeployment.
- Spread traffic across a pool of providers by weight, lowest latency, or lowest cost so that no single provider carries every request.
- Apply all of this per surface with no external infrastructure so that no team re-implements resilience in its own code.
How it works
Before a request reaches a provider, the surface can serve it from a response cache. Each surface’s cache runs in one mode: exact, which matches the normalised request, or semantic, which matches paraphrased duplicates above a similarity threshold. Either way, a cache hit returns without any provider call. On a miss, failover sends the request to ordered backup providers of a different vendor or model, stopping at the first that succeeds. A load-balancing pool can instead distribute traffic by weighted split, lowest observed latency, or lowest price. Each surface uses either failover or load balancing, chosen in its Failover & Load Balancing settings.
A saved change to a surface takes effect on the next request, so replacing the provider or model on its LLM node moves traffic without restarting the appliance. Callers keep sending requests to the same Access Point URL.
Failover is content-safety-aware: a request blocked by a guardrail is not sent to a backup provider, and if every eligible backup fails, the request fails rather than returning a degraded or unsafe answer.
Related
- Resilience and caching: How failover, load balancing, and the response cache work together on a surface.
- Fail over to a backup provider: Step-by-step configuration of an ordered failover chain across vendors.
- Balance traffic across providers: How to distribute requests across a pool by latency or cost.
- Cache repeated responses: How to turn on exact and semantic caching and measure the spend it avoids.
- Providers and Models: How a surface’s provider and model are chosen, and the catalogue you can switch between.
Glad to hear it. Thanks for letting us know.
Sorry to hear that. Thanks for letting us know.
Still stuck? Ask the community on Discord or contact us.