Smart Routing

Don't pay flagship prices for "rename a variable."

Cohesor scores each request with a local, key-free complexity heuristic and routes it to the right-sized model — an economy model for trivial work (up to 15× cheaper), a flagship for the hard problems. You set the dial.

The routing decision

A complexity score for every request.

The heuristic reads the prompt for signals — code blocks, multi-part questions, keywords like refactor, debug, algorithm — and produces a score from 0 to 1. Compare it against your sensitivity threshold and the request routes itself.

  • Runs locally — no extra model call, no added latency.
  • Counterfactual savings tracked for every routed request.
  • Prefer certainty? Pin a single model in fixed mode.

Routing sensitivity

More economyBalancedMore flagship

"fix the import path in db.ts"

score 0.18 · simple

→ economy

"design a sharding scheme for X"

score 0.86 · complex

→ flagship

"add a comment to this function"

score 0.09 · simple

→ economy

The math

Up to 15× cheaper on routed-down work.

Economy models cost a fraction of flagship rates. When most of your agent traffic is simple, the blended bill collapses.

Flagship

$3.00 / 1M in

$15.00 / 1M out

For genuinely hard reasoning and architecture.

Economy

$0.20 / 1M in

$0.60 / 1M out

For the trivial edits that make up most agent traffic.

Route smarter in one click.

Pick your models, set the sensitivity, and let Cohesor do the rest.