Pinned routing
Pinned routing sends eligible requests to one configured model. Use it when consistency matters more than per-request optimization, or while establishing a baseline.Automatic routing
Automatic routing evaluates each request against the project’s routable candidates. Configure:- Candidates: the models Relay may select
- Tradeoff: cost, quality, or latency
- Fallback model: the deterministic model to use when the preferred selection cannot be completed
Fallbacks
A fallback protects availability when the preferred route is unavailable or the routing engine cannot complete a selection. It is not a substitute for:- provider retry and timeout policy
- a provider credential
- application-level handling in route-only mode
- compatible model capabilities
Understand a decision
Traffic records distinguish:engine: selected by automatic routingpolicy: selected by configured policyfallback: selected by fallback behavior- no routing reason: the request named a model directly
Train a custom router
Learn a workload-specific selector from real project traffic.
Replay decisions
Estimate how another policy would have routed historical traffic.