Requesty
Back|JUN '26ROUTING / AI GATEWAY
9 MIN READ|

Best LLM routers compared: latency, cost and routing

Last updated

In November 2026, the best LLM router depends on how you want to run it: LiteLLM suits self-hosting, OpenRouter suits managed model access, Portkey suits governance, and Requesty provides a hosted gateway with customer-defined routing. In our April 2026 measurement, Requesty added about 16ms of gateway overhead per request, OpenRouter 55ms and self-hosted LiteLLM Python 124ms. We make Requesty, one of the products in this comparison.

Pick the router for the job

An LLM router can make two decisions: which model should answer a task, and which provider or endpoint should serve that model. A gateway can also retry another target after an eligible failure. That helps with availability, but the answer still has to meet your quality requirements.

PlatformWhere it fitsTrade-off
RequestyHosted gateway with customer-defined model routes and fallback policiesAuto Routing pins its first-message choice for 60 minutes, so later turns do not change that initial decision
LiteLLMSelf-hosted gateway for teams that want to operate the proxyYour team runs and upgrades the proxy
OpenRouterManaged model marketplaceStandard and Business add a fee when you buy credits
PortkeyGateway for teams looking for governancePlans are priced on recorded log allowances; estimate your monthly log volume
Verdict

Choose LiteLLM if operating the gateway yourself is a requirement. Choose OpenRouter for managed model access or Portkey for governance. Choose Requesty if you want a hosted gateway with routes defined around your tasks and a fallback policy behind the selected route. For background, see what LiteLLM is and how its proxy works.

Gateway overhead adds up across calls

A gateway sits between your application and the model provider. Gateway overhead is the time added by that layer; the time the provider takes to answer is separate.

Our April 2026 measurement compared three gateways in production:

GatewayMeasured overhead per request
Requesty~16ms
OpenRouter~55ms
LiteLLM Python, self-hosted~124ms

Source: Requesty measurement, April 2026. The Requesty figure is end to end: it includes authentication, configuration fetch, policy evaluation and accounting, as described in our gateway architecture article.

Other gateway tests use different setups, so the numbers vary widely. LiteLLM's performance page reports 0.00325 seconds (3.25ms) of proxy overhead against a direct OpenAI API call. That is LiteLLM's own test, with a different result from our production measurement.

A July 2026 LiteLLM benchmark, summarized by BuilderAI, measured added p99 latency against a local mock upstream. P99 is the latency at or below which 99% of measured requests fall.

Gateway in LiteLLM's mock-upstream testAdded p99 latency
LiteLLM Rust gateway~0.7ms
Portkey~2.3ms
Bifrost v1.6.4~4.5ms
LiteLLM legacy Python v1 path~257.7ms

LiteLLM's newer Rust gateway measured far lower in this separate test. The test used a 4 vCPU, 16 GB instance with logging callbacks off. These p99 mock-upstream results are separate from the production measurements above. Use them to decide what to measure, then test your own configuration.

What happens over 20 calls?

Take an agent that makes 20 sequential model calls. If each call adds the overhead from our April measurement:

GatewayCalculationAdded time
Requesty20 x 16ms0.32 seconds
OpenRouter20 x 55ms1.10 seconds
LiteLLM Python, self-hosted20 x 124ms2.48 seconds

This example holds the overhead constant and excludes model response time. If calls run in parallel, their overhead does not all add to the elapsed time in the same way.

A model selector can add another call. Requesty Auto Routing runs one short decision call at the start of a conversation, typically under a second, according to our Auto Routing launch post. Include that call when testing a session, alongside the gateway overhead on each request.

Test the routing decision too

A fast gateway can still send a task to a model that fails it. We tested decision models on human-labeled gateway tasks and tested a routing policy against coding tasks. The two tests answer different questions: how well the decision model labels a task, and how often the resulting policy solves one.

In our decision-model benchmark, Clef averaged 83.2% on the human-labeled gateway tasks. That was 3.4 percentage points below Claude Opus 5.5, at 3% of Opus's cost and a quarter of its latency in the test.

The benchmark ran 22,000 decisions in total. On 7,137 shared items, Sference Clef and Cloudflare Clef gave identical answers 97.3% of the time, with a median probability difference of 0.010. The 97.3% figure measures how consistently the two deployments return the same label. Test label accuracy on your own tasks.

A coding policy at 72% of the cost

In our coding-policy replay, the Jev-based policy solved 120 of 129 tasks at 72% of the cost of the all-Opus baseline, which solved 119. The 129 tasks came from one coding backend, as described in our coding benchmark. Most of the replay used previously measured agent outcomes.

Policy129-task replay solved43-task locked subset solvedRelative cost in replay
Jev-based policy1204072%
All-Opus baseline11941100%

The replay figures put relative cost per solved task at (72 / 120) / (100 / 119) ≈ 71.4% of the all-Opus cost per solved task.

On the locked 43-task subset of the 129-task replay, the Jev-based policy solved 40 and all-Opus solved 41. The result gives a reason to test routing by task difficulty, without assuming the same savings or success rate will carry over to your workload.

For your own test, keep the task set and success criteria fixed. Compare total spend per solved task, including the decision call, retries and cache costs, alongside the number of tasks solved.

The first message sets the route

Requesty Auto Routing sends the first user message to a decision model along with your routing question and labels. The highest-probability label wins if it meets your confidence threshold. If it does not, or the classifier errors, the request goes to your configured fallback.

Requesty classifies the first user message and pins the selected route for 60 minutes. OpenRouter Auto reranks on each turn and prefers the prior model when it remains a top candidate.
Requesty pins the route; OpenRouter Auto reranks. A Requesty route can itself point to a reliability policy. Sources: Requesty and OpenRouter documentation.

The route is pinned for 60 minutes per conversation. Requesty recognizes the conversation by trace_id when supplied, or by the conversation itself otherwise. The classifier does not see separate system prompts, later turns or tool results, so the first message needs enough information to support the choice.

The pin can also affect cache costs. In the example from our Auto Routing launch post, reading 100,000 cached tokens on Opus 5.5 costs $0.02. Moving that context to Sonnet 5.5 requires a fresh cache write at the cited rate of $2.50 per million tokens:

100,000 / 1,000,000 x $2.50 = $0.25

Those are model-specific rates from the example. Whether a switch pays off depends on the later calls and their token use.

Compare fees on the same spend

November 2026 prices use different billing units. To compare them apples to apples, put credit purchase fees, recorded log allowances and self-hosting costs on the same monthly basis.

PlatformPublished pricing basis
RequestyPay as you go adds 5% to model cost
OpenRouterCredit purchases carry a 5.5% fee on Standard or 8% on Business
PortkeyDeveloper is free with 10,000 recorded logs per month; Production is $49 per month with 100,000 logs, then $9 per additional 100,000 logs
LiteLLMSelf-hosting the proxy involves infrastructure and operations alongside model costs

For OpenRouter, the FAQ lists a $0.80 minimum on credit purchases. OpenRouter Standard and Business include $25,000 per month of list-price BYOK inference without a fee; usage above that carries a 5% fee.

Take $100 of model usage as an example. Requesty's 5% fee adds $5 to the model cost, for a total of $105. On OpenRouter Standard, purchasing $100 in credits costs $105.50 with the 5.5% fee.

This assumes the same underlying model usage and excludes other charges. If OpenRouter credits remain at the end of the month, cash paid and usage for that month will differ.

The decision call belongs in the calculation too. At the Jev rate cited in our Auto Routing post ($0.042 per million input tokens), take 10,000 total classifier input tokens, including the first message, routing question and labels. The decision model costs $0.042 x 10,000 / 1,000,000 = $0.00042, before any applicable gateway fee.

Run your own comparison

Start with a set of tasks your application already handles. Run the same set through the gateways and routing policies on your shortlist, record task success and total spend, and measure gateway latency with your production configuration. LiteLLM exposes an overhead response header, which gives you a starting point for measuring its proxy.

Assumed comparison of 100 tasks: the baseline passes 96 at $1.25 per pass, while the router passes 94 at about $0.85 per pass. The trial quality bar is 95% and cost per pass includes all experiment spending.
Assumed results: the router costs less per pass but misses the 95% trial quality bar. Compare paired failures and uncertainty before a production decision.

Before choosing an LLM router

0 of 5 done

For a hosted test, Requesty provides one OpenAI-compatible API across 600+ models. Define routes for your task set, choose a fallback, and compare the results against sending every task to your current model.

Frequently asked questions
What is the best LLM router in 2026?
In November 2026, LiteLLM suits teams that want to self-host, OpenRouter suits managed model access, and Portkey suits teams looking for governance. Requesty provides a hosted gateway with customer-defined model routing.
How much latency does an LLM router add?
In Requesty's April 2026 production measurement, gateway overhead was about 16ms for Requesty, 55ms for OpenRouter and 124ms for self-hosted LiteLLM Python. LiteLLM reports 3.25ms in its own proxy test, which uses a different setup.
What is the difference between model routing and provider fallback?
Model routing selects a model for a task. Provider fallback sends a request to another provider or endpoint after an eligible failure. A gateway can combine model selection with a fallback policy.
How much does Requesty Auto Routing cost?
The decision model is billed for its request. At the cited Jev rate of $0.042 per million input tokens, 10,000 input tokens to the classifier, including the message, routing question and labels, cost $0.00042 before any applicable gateway fee.
Does Requesty Auto Routing select a model on every turn?
Requesty Auto Routing classifies the first user message and pins the selected route for 60 minutes per conversation. Later turns and tool results are not sent to the initial classifier.
Related reading

Start building with Requesty

One line of code. 600+ models. Full control.

Speak to founders