Try approved models in order
Choose a primary model and backups. A fallback happens only for the failure types you allow, such as a rate limit, provider fault, slow start, or context problem.
A model can slow down, reject a request, or go offline. LLMRegistry lets you save the path once, call it by one route name, and change the models later without changing your application.
Your application sends a route alias as the model name. The gateway checks the API key, budget, model access, provider connection, and route policy before it contacts a provider.
Choose a primary model and backups. A fallback happens only for the failure types you allow, such as a rate limit, provider fault, slow start, or context problem.
Circuit breakers watch provider results. Repeated temporary failures open the circuit, hold traffic back, and allow careful recovery checks after a cooldown.
Use up to four fixed stages chosen from Prepare, Plan, Execute, Check, Repair, and Format. Execute is required, and Repair can run once after a failed Check.
The route stays inside the same authorization, spending, and usage boundary as a direct model request.
LLMRegistry verifies the key, model scope, IP rules, quota, wallet, and route spending limit before provider work starts.
The gateway uses the saved order and current provider health. It never adds a model that is outside the route or the key’s allowed model list.
If a request fails before output begins, the route may try the next candidate. Once a stream has started, an interruption ends that stream instead of mixing two model answers.
The request ledger records the chosen model, provider, tokens, cost, timing, and outcome. Prompt content is not needed for the routing trail.
More steps are not always better. Start with a normal cascade, then add racing or fixed stages only when the request needs them.
Create an organization, connect an approved provider, and keep routing policy outside your application code.
Get started