MESS+: Dynamically Learned Inference-Time LLM Routing in Model Zoos with Service Level Guarantees

Herbert Woisetschläger, Ryan Zhang, Shi-Qiang Wang, Hans-Arno Jacobsen
5/1/2025
12 citations

No official code found. Best implementation: laminair/mess-plus (3 stars).

Abstract

Open-weight large language model (LLM) zoos provide access to numerous high-quality models, but selecting the appropriate model for specific tasks remains challenging and requires technical expertise. Most users simply want factually correct, safe, and satisfying responses without concerning themselves with model technicalities, while inference service providers prioritize minimizing operating costs.

Show full abstract

These competing interests are typically mediated through service level agreements (SLAs) that guarantee minimum service quality. We introduce MESS+, a stochastic optimization algorithm for cost-optimal LLM request routing while providing rigorous SLA compliance guarantees. MESS+ learns request satisfaction probabilities of LLMs in real-time as users interact with the system, based on which model selection decisions are made by solving a per-request optimization problem. Our algorithm includes a novel combination of virtual queues and request satisfaction prediction, along with a theoretical analysis of cost optimality and constraint satisfaction. Across a wide range of state-of-the-art LLM benchmarks, MESS+ achieves an average of $2\times$ cost savings compared to existing LLM routing techniques.

View on arXivView PDF

Code Implementations(1)

laminair/mess-plusCommunity25%

NeurIPS 2025 paper "MESS+: Dynamically Learned Inference-Time LLM Routing in Model Zoos with Service Level Guarantees"

30

Similar Papers

Cite this paper

@article{woisetschlger2025mess,
  title  = {MESS+: Dynamically Learned Inference-Time LLM Routing in Model Zoos with Service Level Guarantees},
  author = {Herbert Woisetschläger and Ryan Zhang and Shi-Qiang Wang and Hans-Arno Jacobsen},
  year   = {2025},
  eprint = {2505.19947},
  archivePrefix = {arXiv},
  doi    = {10.52202/085713-1804},
  url    = {https://doi.org/10.52202/085713-1804},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.19947.svg)](https://codeofpaper.com/paper/2505.19947)

Discussion