Routing, Cascades, and User Choice for LLMs
Rafid Mahmood
TL;DR
The paper addresses how to route tasks across two LLMs under reactive user behavior by formulating a Stackelberg game between a cost-minimizing provider and a utility-maximizing user. A Markov routing model yields closed-form expressions for user utility $U_i(s,q)$ and provider cost $J_i(s,q)$, parameterized by per-pass costs $c_i$, latencies $t_i$, success probabilities $p_i$, and net values $oldsymbol{\xi_i = V p_i - t_i}$. The key finding is that the provider’s optimal routing is typically static with little benefit from cascading, though misalignment with user incentives can arise, and latency throttling can paradoxically reduce provider costs in some regimes. The results translate into threshold-based routing rules that guide practical LLM service design, clarifying when cascading, throttling, or fixed routing helps or harms user welfare and provider economics.
Abstract
To mitigate the trade-offs between performance and costs, LLM providers route user tasks to different models based on task difficulty and latency. We study the effect of LLM routing with respect to user behavior. We propose a game between an LLM provider with two models (standard and reasoning) and a user who can re-prompt or abandon tasks if the routed model cannot solve them. The user's goal is to maximize their utility minus the delay from using the model, while the provider minimizes the cost of servicing the user. We solve this Stackelberg game by fully characterizing the user best response and simplifying the provider problem. We observe that in nearly all cases, the optimal routing policy involves a static policy with no cascading that depends on the expected utility of the models to the user. Furthermore, we reveal a misalignment gap between the provider-optimal and user-preferred routes when the user's and provider's rankings of the models with respect to utility and cost differ. Finally, we demonstrate conditions for extreme misalignment where providers are incentivized to throttle the latency of the models to minimize their costs, consequently depressing user utility. The results yield simple threshold rules for single-provider, single-user interactions and clarify when routing, cascading, and throttling help or harm.
