Online Linear Programming Optimizes LLM Serving Routing

Zixi Chen, Yinyu Ye, Zijie Zhou· July 7, 2026 View original

Summary

This research introduces an online linear programming framework for multi-objective routing in large language model (LLM) serving, dispatching requests to workers under tight constraints. It uses a bid-price control policy and projected first-order updates to achieve millisecond decision times, significantly improving latency, throughput, and tail performance over heuristic methods.

Current methods for routing requests to large language model (LLM) serving infrastructure often rely on heuristics, lacking explicit ties to service-level objectives (SLOs) and offering limited control over performance trade-offs. This paper proposes a novel multi-objective optimization framework that redefines routing as an online linear programming problem, assigning interpretable decision rewards. The core of the solution is an efficient bid-price control policy, which admits requests only when their SLO-weighted benefit surpasses their shadow prices. To meet the demanding millisecond-level decision requirements, the authors developed a warm-started, projected first-order update mechanism that dynamically tracks dual shadow prices with predictable runtime. Integrated into the Vidur simulator, this new router demonstrated substantial improvements across various SLO regimes, including end-to-end latency, time-to-first-token, throughput, and tail performance, outperforming standard heuristic baselines. The findings highlight the superior performance of a science-based, optimized approach compared to traditional heuristic-driven methods in LLM serving.

Why it matters

Professionals managing LLM inference infrastructure can significantly improve efficiency, reduce latency, and increase throughput by adopting more sophisticated, science-based routing algorithms. This directly impacts user experience and operational costs for AI services.

How to implement this in your domain

  1. 1Evaluate current LLM serving routing strategies for their adherence to explicit SLOs.
  2. 2Investigate integrating online linear programming techniques into existing or new LLM serving architectures.
  3. 3Develop or adapt bid-price control policies to manage request admission based on real-time resource availability and service objectives.
  4. 4Implement fast, warm-started optimization algorithms to track dual shadow prices for millisecond-level routing decisions.
  5. 5Benchmark the performance of new routing solutions against current heuristics using metrics like latency, throughput, and tail performance.

Who benefits

Cloud ComputingAI ServicesTelecommunicationsE-commerceFinancial Services

Key takeaways

  • Heuristic-based LLM routing often lacks explicit SLO control and sub-optimizes performance.
  • Online linear programming offers a science-based approach to multi-objective LLM request routing.
  • Bid-price control policies and fast dual shadow price tracking enable millisecond-level, optimized decisions.
  • This method significantly improves LLM serving latency, throughput, and tail performance.

Original post by Zixi Chen, Yinyu Ye, Zijie Zhou

"arXiv:2607.03948v1 Announce Type: new Abstract: We study the online routing problem in large language model serving, where requests arrive sequentially and must be dispatched to parallel decode workers under tight batch-size and KV-cache constraints. Unlike widely used routing he…"

View on X

Originally posted by Zixi Chen, Yinyu Ye, Zijie Zhou on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses