Route by task class
A good router knows whether the task is summarization, classification, code, RAG, extraction, tool use, voice, or high-risk advice. Each class can have different fallback rules.
- Use cheaper or smaller models only for tasks they pass in evals.
- Disable fallback for workflows where bad output is worse than no output.
- Add human handoff or delayed processing for high-risk failures.