Understand QoS (Quality of Service) routing
masterRouting via auto-fastest, grouped-IDs, or tag:<name> uses a QoS score that balances model quality (intell percentile) and observed latency.
Latency Scoring:
Latency is scored using the formula: target / (target + avg).
- An instant response scores
1.0. - A model matching the
qosLatencyTargetMsscores0.5. - The score decays continuously but never reaches zero, ensuring models remain as last-resort candidates.
Configuration:
The qosLatencyTargetMs (default: 3000ms) can be adjusted in the Web UI under Settings → QoS Latency Target (ms). Lowering this value weights speed more heavily; raising it allows quality to dominate.