Latency-Based Routing: Picking the Model That Answers Fast Enough

llm router is the practice of choosing a model by how fast an answer needs to arrive, not by which model is newest or most famous — and for most applications it is the cheapest performance win you never wired up. The craft lives in three numbers — time to first token, tokens per second, and the p95 tail — and it works because it matches the request’s patience to the model’s speed instead of sending everything to one over-qualified flagship. To do that honestly you need comparable measurements across many models — a budget tier like GPT-5.6 Luna makes the latency numbers concrete — so the latency picture you route on is measured rather than remembered.

Teams usually pick models the way they pick hotels: on reputation. The flagship is assigned to everything, the cheapest model to nothing, and the middle of the catalog never gets a look. Latency-based routing inverts that. Each request answers one question first — how long can this take? — and the answer chooses the model. It sounds trivial, and mechanically it is; the work is having honest latency data so the choice is made by evidence, not habit.

What latency-based routing actually decides

When people say a model is “fast” they usually mean one of three different things, and conflating them is where routing goes wrong.

Time to first token (TTFT) is how long between sending a request and receiving the first token of the reply. It sets how a user experiences a chat, a spinner, or an agent’s first step. Tokens per second is the sustained output rate — how quickly the rest of the answer streams out after that first token. The p95 tail is the version of both numbers that matters when you have real traffic: not the median request, but the one in twenty that arrives late. A model whose median looks fine and whose tail is a disaster will still strand users on the worst day, so honest latency routing plans around the tail, not the average.

Latency-based routing simply makes the model a function of the speed requirement. A request that needs a sub-second first token is routed to a fast compact model; a request that can wait a few seconds is routed to a deeper one; a batch job that nobody is watching can be routed to the slowest, strongest model available. The model that answers is the cheapest one fast enough for that request — not the fastest, and not the biggest.

When latency is the binding constraint

Latency stops being a nice-to-have and becomes the binding constraint in three familiar situations.

Chat UX is the obvious one. In an interactive conversation, perceived response time is dominated by the first token, not the total answer length. A model that takes a moment to think before speaking feels broken in chat even when its eventual answer is excellent; the user is staring at a cursor.

Agents are the hidden one. An agentic loop is a chain of model calls — plan, act, observe, plan again — and latency compounds across every step. A single slow call is a pause; a slow model across ten sequential steps is a different product entirely. Agent builders are routinely the ones who abandon the most capable model for a fast one, because throughput, not benchmark score, is what lets the loop close.

Streaming is the psychological one. Streaming does not make the first token come faster, but it turns a long total completion into visible progress, so a slow model that streams can feel acceptable while a fast model that returns a blank screen feels broken. The constraint flips from “how long did it take” to “how soon did something move.”

How routers turn latency into a budget

Once you accept that speed is a budget, routing becomes a rules problem. The classic shape of adaptive routing is: score the request, set the bar, pick the cheapest model that clears it. Each prompt is graded in under a millisecond — fast enough that the routing decision costs less than a rounding error on the request itself — and then sent to the model that meets the requirement at the lowest price. Latency enters as one of the requirements: “first token under a second,” “streams at least this fast,” “completion inside this deadline.”

This is where a router that holds every model behind one interface earns its keep. With a single API key reaching 200+ models, latency-based routing stops being a rewrite of your integration layer and becomes a configuration change: set the budget, let the router pick. When the fast route is unavailable, automatic failover reroutes to the next model that fits the same budget, and when the vendor passes list price through at 0% markup, there is no per-call tax quietly changing which model is actually cheapest. OrcaRouter packages exactly that combination — 200+ models behind one key, automatic failover between routes, and vendor list price passed through unchanged — which is what makes a latency budget a setting rather than a project.

The tradeoff you are actually managing

The reason latency routing exists is that model speed and model depth usually move in opposite directions. Fast models are often cheaper, smaller, and shallower — excellent at the mechanical ninety percent of requests, wrong for the hard ones. Flagship models think longer before answering; that thinking is the whole point, and it is also why their time to first token and their price both sit higher. A router is not choosing the best model. It is choosing which model deserves to spend your latency budget.

The live latency spread makes the tradeoff concrete. On any honest board you will see flagship reasoning models posting p50 first-token times measured in seconds while compact fast models answer in well under a second, and the gap is not a defect — it is the two model families trading thought for speed. Route a question a small model can answer well to the small model and you save both latency and cost; route the genuinely hard question to the flagship and you spend both. The error to avoid is treating the flagship’s latency as a problem to fix instead of a resource to spend on the requests that need it.

How to measure latency honestly

Every latency-routing decision rests on measurements, and most teams measure wrong in the same three ways.

Median vs p95. The median first-token time is the comfortable number; the p95 is the number your users actually feel on a bad day. Measure both, plan around the tail, and watch the tail shift with load and provider capacity — a leaderboard number is a snapshot, not a contract.

Streaming first token vs total completion. A model with a fast first token and a slow output rate produces a great “feel” and a long wait for a long answer; a model with a slower first token but high throughput is the reverse. Which one is “faster” depends on whether your request wants a short answer or a long one, which is why the honest question is “fast at what” rather than “fast.”

Fixed units. Compare like with like: TTFT against TTFT, tokens per second against tokens per second, p50 against p50. Mixing a median from one source with a p95 from another is how teams end up routing on vibes. Pick one board or one router’s telemetry, read the p50 and the p95 together, and re-check when the models change — in this market, often.

What to route on What it captures The decision it drives
TTFT p50 Median wait to first token Which model owns interactive chat traffic
TTFT p95 The one-in-twenty late request How much headroom a model really has under load
Tokens per second Sustained output speed Where long-form answers and streaming should go
Cost per token Price of the choice Whether the fast model is also the cheap one

 

The takeaway

Latency-based routing is not for the team that needs one perfect model — it is for the team that needs one good experience across many request types. If your traffic is uniformly interactive, set a tight first-token budget and let fast models carry the load; if it is a mix of chat, agents and batch work, set a budget per job shape and let the router pick the cheapest model that clears it. Measure both the median and the tail, compare like units, and re-check when the models change. The outcome is the same either way: faster-feeling answers, a lower bill, and flagships reserved for the questions where their thinking time is the point.

Sourcing note: OrcaRouter product facts — adaptive routing with sub-millisecond prompt grading, one API key reaching 200+ models, automatic failover, 0% markup on vendor list price, and the live leaderboard with per-model latency statistics — come from the official homepage and product pages, checked 2026-08-22. The general latency spread described here (flagship p50 first-token times in seconds versus well under a second for compact models) reflects the common pattern on third-party latency boards and is directional, not a guarantee; all latency figures move with traffic and provider capacity.

Leave a Comment