LLM Routing as Reasoning: A MaxSAT View
Organizations: Arizona State University
Abstract
Routing a query through an appropriate LLM is challenging, particularly when user preferences are expressed in natural language and model attributes are only partially observable. We propose a constraint-based interpretation of language-conditioned LLM routing, formulating it as a weighted MaxSAT/MaxSMT problem in which natural language feedback induces hard and soft constraints over model attributes. Under this view, routing corresponds to selecting models that approximately maximize satisfaction of feedback-conditioned clauses. Empirical analysis on a 25-model benchmark shows that language feedback produces near-feasible recommendation sets, while no-feedback scenarios reveal systematic priors. Our results suggest that LLM routing can be understood as structured constraint optimization under language-conditioned preferences.
Figures & tables
| Direction Key | Zero (%) | One (%) | Case S (%) | All (%) | Count |
|---|---|---|---|---|---|
| I want a model with cheaper cached input. | 0 | 0 | 12 (100%) | 0 | 12 |
| I want a cheaper model. | 0 | 0 | 5 (100%) | 0 | 5 |
| I want a model with cheaper output prices. | 0 | 0 | 1 (100%) | 0 | 1 |
| NONE | 0 | 0 | 101 (51.01%) | 97 (48.99%) | 198 |
| NONE. | 0 | 0 | 10 (50%) | 10 (50%) | 20 |
| Clause | Weight |
|---|---|
| maxout_ge_p75 | 0.9317 |
| reasoning_enabled | 0.9272 |
| ctx_ge_median | 0.8011 |
| cached_and_reasoning | 0.7762 |
| ctx_p75_and_cached | 0.2243 |
| cached_and_cheap_output_in_tier | 0.0306 |
LLM Routing
Large language model routing selects models, tools, experts, or inference strategies to balance answer quality, cost, latency, and deployment constraints.
See all 349 papers