← Retour au plan
Automatic Model Selection: How OUPI Routes Your Messages · Leçon 3 sur 7

3. Automatic Failover: What Happens When a Provider Fails

Understand that OUPI continuously measures provider reliability and retries on another provider if the first one is unavailable or quota-exhausted.

OUPI doesn't just pick a model once and hope for the best — it continuously monitors the reliability of every provider it connects to. Each time a model responds (or fails to respond), that outcome feeds into a live reliability score. Models that have been failing too often are automatically set aside and excluded from selection until they recover. This means that even before your message is sent, unhealthy providers are already filtered out of the candidate pool. You never have to check whether a provider is experiencing issues; OUPI's health gate handles it behind the scenes, ensuring your message is always routed to a model that is currently performing well.

But what if a provider goes down or exhausts its quota right in the middle of generating your answer? OUPI has you covered with automatic failover. If the first model fails mid-response — whether because the provider becomes unavailable or its quota is exhausted — OUPI automatically retries your message once using a different model from another provider. This retry goes through the same intelligent selection process: it picks the best available alternative based on your task, plan, cost, and current provider health. The whole process happens transparently, without you needing to lift a finger or even notice the switch.

This multi-provider architecture is a core advantage of OUPI. Because the platform connects to many providers — Anthropic, OpenAI, Google, Mistral, DeepSeek, Moonshot, xAI, and Perplexity — a failure at one provider doesn't leave you stranded. The automatic failover simply routes to another. This is fundamentally different from using a single provider's API directly, where an outage means you wait. On OUPI, provider diversity is your safety net, and the failover mechanism makes it seamless.

There is one important exception to know: the entire automatic selection engine — including failover — is skipped when your account balance is empty. If you have no credits remaining, OUPI cannot route your message to any model, and no retry will be attempted. Make sure to keep an eye on your balance so you're never caught off guard. Your balance and each exchange show what was consumed, so you can track usage in real time.

Astuce

After receiving an answer, check the badge beneath it — it names the model that responded. If a failover occurred, you may see a different model than you'd expect. You can always regenerate the answer with a specific model to compare results, or manually select a model for the rest of the conversation if you prefer.

Astuce

Failover also benefits missions and agents. Missions run on an admin-configured model pool but can consult the same live reliability signals. This means an agent running a multi-step workflow can avoid a failing model between steps, keeping your automation resilient without manual intervention.

À vous de jouer

Open a chat in OUPI and send a message without selecting a model. Look at the badge under the response to see which model was chosen. Now regenerate the same answer with a different model using the model selector. Compare the two results — this is exactly what OUPI does automatically during failover, but you're doing it manually to see the difference.

Suivre ce cours dans OUPI → Cet exercice se fait dans la plateforme OUPI.
À retenir

OUPI continuously measures provider reliability and excludes unhealthy models before they can fail you. If a provider goes down or runs out of quota mid-answer, OUPI retries once on another provider — automatically and transparently. This works because OUPI connects to multiple providers, turning diversity into resilience. The badge under each answer tells you which model responded. Remember: failover requires an active credit balance, so keep yours topped up.