Terms  /  Architecture  /  Intelligent Routing
05 · Architecture

Intelligent Routing

The system's ability to direct tasks to the right model, tool, or agent based on complexity, cost, and capability — rather than sending everything to the most expensive option.

Intelligent Routing recognizes that not every task needs a frontier model. A simple formatting task, a code linting check, or a straightforward data transformation can be handled by a smaller, cheaper, faster model. Complex architectural decisions, nuanced code reviews, or novel problem-solving might warrant a frontier model. Intelligent Routing makes this decision automatically, based on task characteristics, cost constraints, and capability requirements. The result is better cost efficiency without sacrificing quality where it matters.

Example
A system analyzes each incoming task and routes accordingly: typo fixes and formatting → small local model (cost: $0.001). Standard CRUD endpoint generation → mid-tier model (cost: $0.02). Complex algorithm design with performance constraints → frontier model (cost: $0.15). The system handles 100 tasks per day: 60 are simple (routed to small model), 30 are standard (mid-tier), and 10 are complex (frontier). Total cost: $0.66. Without routing, all 100 go to the frontier model: $15.00. Same quality on the complex tasks, massive savings on the simple ones.

More in Architecture