All patterns

Architecture pattern

Cascade router

A cheap decision chooses whether to use rules, a small model, a premium model, a specialist, or a human.

Plausible

What the pattern does

A cheap decision chooses whether to use rules, a small model, a premium model, a specialist, or a human.

Caveat

Bad routing can erase all cost savings through failures and retries.

Patterns are recurring shapes observed across the collected material. A repeated shape is evidence that developers converge on it, not evidence that it performs well in production.

Sources

Limitations

  • Bad routing can erase all cost savings through failures and retries.

Where this pattern appears

Record
pattern:cascade-router
Canonical
/patterns/cascade-router
Last verified
2026-09-18