Build a failover plan
Configure primary and backup model behavior.
Build a failover plan
Use this pattern when one model should be primary and another should be backup.
Grant the API key access to the primary model.
Grant the API key access to the backup model.
Enable organisation routing in Settings.
Open the API key and scroll to Routing.
Select the correct model type.
Choose Failover or Priority.
Put the primary model first.
Put the backup model second.
Enable 5xx and timeout as failover triggers.
Add rate_limit only if an upstream/provider rate-limit error, such as HTTP 429, should move traffic to the backup. In routing docs, rate_limit means the routing failover trigger for a failed attempt; it does not mean Odock quota enforcement or API-key rate-limit policy enforcement.
Run a test request and review the usage record routing card.