How AI failover works
Priority order, key statuses (Active, Degraded, Exhausted, Invalid) and what happens when a provider fails.
Every reply goes through HiveChat's failover router, so a single provider problem doesn't silence your bot.
Priority order
Keys are tried from the top of your AI keys list (lowest priority number first). If the first key fails, the router immediately tries the next healthy key. The AI keys screen shows the order as 1, 2, 3…
Key statuses
| Status | Meaning | What happens |
|---|---|---|
| Active | Working normally | Used in priority order |
| Degraded | Temporary errors (timeouts, server errors) | Skipped during a short cooldown, then retried |
| Exhausted | Out of quota or billing | Skipped until you top up or replace the key |
| Invalid | Rejected by the provider | Skipped — replace the key |
| Disabled | Turned off by you | Never used |
A notification is sent whenever a failover happens or a key becomes exhausted or invalid.
What customers see
Nothing unusual — they simply get a reply from the next provider. If every key fails, customers receive your handoff message (Settings → Bot) instead of an error, and you're alerted.
Recommended setup
- Priority 1: your main, affordable model (for example Gemini Flash).
- Priority 2: a different provider as backup (for example Claude Haiku).
- Use Test the router on the AI keys page after any change.
Was this guide helpful?