cd /news/large-language-models/beyond-accuracy-and-cost-latency-awa… · home topics large-language-models article
[ARTICLE · art-67983] src=arxiv.org ↗ pub= topic=large-language-models verified=true sentiment=· neutral

Beyond Accuracy and Cost: Latency-Aware LLM Query Routing for Dynamic Workloads

Researchers have developed a latency-aware LLM query router that jointly optimizes latency, accuracy, and cost, achieving up to 40% improvement in accuracy-cost utility while maintaining the same latencies as standard load-balancing approaches, according to a new arXiv preprint (2607.18253v1). The router uses a lightweight latency estimator that simulates autoregressive token batch processing to estimate time-to-first-token (TTFT) for queries, addressing the challenge that current routers are latency-agnostic and do not account for generation latency at model instances.

read1 min views1 publishedJul 22, 2026

arXiv:2607.18253v1 Announce Type: new Abstract: Modern language query routers improve inference efficiency by assigning each query to a model that balances response quality and monetary cost. However, current query routers are largely latency-agnostic and do not consider the generation latency experienced by queries at model instances. In practice, latency is often controlled by load-balancing policies such as round-robin or join-the-shortest-queue, which do not account for model accuracy or inference cost. Incorporating query latency into routing is challenging as it depends not only on the query's prompt length, but also on the current prefill and decode workload at the model instance and the scheduling and batching policy of the serving framework. We design a lightweight latency estimator that simulates autoregressive token batch processing in the serving framework and estimates the time-to-first-token (TTFT) of queries. We incorporate this latency estimator into a latency-aware router that jointly optimizes latency, accuracy, and cost when assigning queries to model instances. Our experimental results indicate that this joint optimization yields up to 40% improvement in accuracy--cost utility while maintaining the same latencies as standard load-balancing approaches.

── more in #large-language-models 4 stories · sorted by recency
── more on @arxiv 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/beyond-accuracy-and-…] indexed:0 read:1min 2026-07-22 ·