Skip to content

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

StatusMeaningWhat happens
ActiveWorking normallyUsed in priority order
DegradedTemporary errors (timeouts, server errors)Skipped during a short cooldown, then retried
ExhaustedOut of quota or billingSkipped until you top up or replace the key
InvalidRejected by the providerSkipped — replace the key
DisabledTurned off by youNever 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.

  • 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?