Before any output
If an attempt fails before the miner produces any text, the router tries the next miner in the order: auto order, or yourorder list. It stops after a fixed number of attempts and then answers 503 all_attempts_failed, with every attempt listed in flop.attempts of the session record.
Failures that move on to the next miner include a miner that does not acknowledge the channel, an endpoint that stops answering, and a channel open that the chain rejects.
After output
Once a miner has sent text, the router does not move to another miner. You never get two answers, or two charges, for one request. If the miner goes silent after that point, the router closes the channel on chain (see settlement) and the request ends with an error.Model fallbacks Not live yet
Name more models to try when the first has no miner that can serve it:model, then each entry of models in order, when a model has no serving miner (404, 502, 503) or the request is too large for it. It never moves to another model after output. The response model names the model used. route: "fallback" is accepted.
Turning fallbacks off
only, no other miner is tried. With order and allow_fallbacks: false, the listed miners are tried in order and no others.
Payer fallback
In grant mode a request can be served through miners with a live signed offer. When none is ready, or the grant cannot pay, the request fails. To run it in balance mode instead:Retrying on your side
The router already retries across miners. Retry a request yourself after503 or 429, waiting for the Retry-After header. Do not retry a slow request: a normal reply takes 15 to 50 s, and a second request opens a second channel. The full list is on the errors page.