arXiv(opens in a new tab)cs.AIAug 2026Cited by 3 papers on PaperVantage

Manuscript Offprint

arXiv:2608.20316

Pandora's AI Model Routing Box: Efficient Allocation with Costly Value Estimation

Adam Fisch, Shubhendu Trivedi, Fantine Huot, William W. Cohen, Michael Kaisers, Mirella Lapata, Kate Larson, Jacob Eisenstein

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Heterogeneous AI systems composed of multiple models, architectures, harnesses, or inference-time settings can improve quality and efficiency by routing queries to the specialist who can answer most effectively at the lowest cost. Routing requires estimating each specialist’s expected return, but this value estimation has a cost. Cheap estimators (e.g., embedding-based predictors) are fast but noisy, while accurate estimators (e.g., fine-tuned models with access to retrieval results or partial reasoning traces) are expensive. We formalize this tradeoff as an instance of Pandora’s Box, the classical problem of optimal search with costly inspection. Under a Gaussian signal model, the resulting policies have closed-form value-of-information expressions that determine, for each specialist and input, whether refining the value estimate is worth its cost. We call the centralized policy Pandora’s Router. We extend this to a decentralized setting, Pandora’s Bidder, where specialists independently decide whether to invest in self-assessment before accepting an offered price to claim a query. Experiments across three domains—a standard multi-LLM benchmark, retrieval-augmented specialists, and LLMs with variable inference-time reasoning—show that Pandora’s Router matches the routing quality of exhaustive estimation, while querying the expensive estimator far less often. In the decentralized setting, value-of-information reasoning improves allocative efficiency when competing estimates are accurate; when competing estimates are noisy, however, it can increase the strategic specialist’s utility at the expense of others.

1 Introduction

AI model providers now often offer heterogeneous model families spanning a wide range of costs and capabilities: small and fast models for simple prompts, large and expensive ones for complex tasks, and augmented variants with tools, retrieval, or extended reasoning for more specialized tasks. This raises the question of how to allocate each input to the model best suited for it, for a given level of cost sensitivity. This is the routing problem, and a growing body of work addresses it by estimating each model’s expected return on the input and selecting the maximizer (24; 43; 13). But value estimation is neither free nor particularly easy. An embedding-based predictor is cheap but noisy; a fine-tuned scoring model is more accurate but more expensive; and computing partial solutions, executing tool calls, or running retrieval pipelines can be more expensive still. The routing decision itself thus involves a cost-accuracy tradeoff, which is typically ignored. We explore this tradeoff, asking: when is it worth paying for a better value estimate?

The question has a clean analogy to the Pandora’s Box problem from search theory (47). Pandora is presented with MM boxes, each with a hidden value which is known to her only in distribution. For a cost cmc_{m} she can open any box mm and observe its value. At any point, she can stop searching and claim the best value seen thus far. Her goal is to maximize the difference between the value obtained minus the costs paid. 47 showed that the optimal policy has a remarkably simple structure, based on computing, for each box, its reservation price—the outside-option value at which the expected benefit of opening the box balances out the cost of opening it. Once these prices are calculated, Pandora opens the boxes in descending order of their reservation prices, stopping when she has found a value that exceeds the maximum of the reservation prices of the remaining unopened boxes.

In this paper, we cast routing with costly value estimation as an instance of Pandora’s Box. Here, each specialist can be viewed as a box. The router always has access to a cheap value estimate fm(x)f_{m}(x), and can optionally pay cmc_{m} to query a more accurate but costly estimate gm(x)g_{m}(x); i.e., pay to "open the box", and gain more information about the quality of specialist mm. The question of which estimates to compute, and when to stop computing and commit to a specialist, is the same as Pandora’s problem. Under a Gaussian signal model for the relationship between ff and gg, the reservation prices and the associated value-of-information expressions have closed forms. To allow Pandora to select a box without making any queries to gg, we consider the non-obligatory variant of the Pandora’s Box problem, in which she can select a box that she has not opened (10; 2).

Next, we consider the generalization from routing to decentralized forms of prompt allocation. In a routing system, a single centralized router controls all value estimation. In practice, however, the specialists themselves may be better positioned to estimate their own value. For example, a retrieval-augmented specialist has access to its own corpus, and can measure how relevant it is to the query; a math specialist can start to reason about or plan what computations will be required; a domain expert can know its own performance on internal benchmarks. None of these resources need be available to the router, and in some scenarios, specialists might even want to conceal information such as whether there are matches to a query in a private retrieval corpus. With this in mind, we extend the concept of value estimation for routing, to value estimation for bidding, where decentralized agents learn how to leverage costly value estimation when claiming queries, in a way that maximizes their profit. Concretely, we propose Pandora’s Bidder: each specialist faces a posted price—the current best competing offer—and must decide whether to invest in a more accurate self-assessment before claiming the query. This corresponds to a single stage of the ascending-price mechanism with costly preference elicitation studied by 38; analyzing this simple setting isolates core components of decentralized prompt allocation under private value estimation with profit incentives.

Core contributions of this work As AI systems with diverse capabilities proliferate, reasoning about the economics of model selection becomes increasingly relevant. To our knowledge, this is the first paper to explicitly connect model routing with the classical Pandora’s Box problem from economics and operations research. Specifically, this paper makes three main contributions: • We formalize model routing with costly value estimation as an instance of Pandora’s Box with non-obligatory inspection (10), yielding a reservation-price-based policy. Under a Gaussian signal model, this policy has a closed form that is straightforward to compute (§4). • We extend to a decentralized setting where specialists use value-of-information reasoning to decide whether to refine their self-assessments before accepting a posted price (§5). • We evaluate both frameworks (see Figure 1) across three domains: a multi-LLM routing benchmark (EmbedLLM), retrieval-augmented specialists for factoid QA, and inference-time computation for mathematical reasoning. In each setting, we find that both Pandora’s Router and Pandora’s Bidder are able to gracefully trade-off expensive and cheap estimates to achieve strong allocative performance relative to baselines across a range of estimation costs.

1Prompt xx Find the remainder when 71037^{103} is divided by 1313. 2Cheap screeningSpecialist 1$$f_{1}(x): modest priorSpecialist 2$$f_{2}(x): promising prior⋮\vdotsSpecialist M$$f_{M}(x): modest prior All specialists get an initial cheap, noisy value estimate fm(x)f_{m}(x). 3Reservation prices Solve for the reservation price umrsvu_{m}^{\mathrm{rsv}}, Eg∣f ⁣[(gm(x)−umrsv)+]=cm\displaystyle\mathbb{E}_{g|f}\!\left[(g_{m}(x)-u_{m}^{\mathrm{rsv}})^{+}\right]=c_{m}, where • gm(x)g_{m}(x) is a more accurate but costly value estimate; • cmc_{m} is the cost of querying gmg_{m}. Pandora estimates the value of information for running each expensive value estimator gmg_{m}. 4AllocationPandora’s RouterCentralized policy Inspect specialists gm(x)g_{m}(x) in reservation-price order, stopping when no remaining query is worth its cost. Choose the maximizer of the observed gmg_{m}. Pandora’s BidderDecentralized policy The high bidder is selected in an auction. Each specialist refines its own value estimate only when the market price makes inspection worthwhile. The same principle yields both a centralized and decentralized policy.

Figure 1: Overview of the Pandora framework. The system balances cheap screening and costly reasoning for routing. (1) A concrete prompt xx is received. (2) Multiple specialists m∈{1,…,M}m\in\{1,\ldots,M\} generate cheap, noisy value estimates fm(x)f_{m}(x). (3) The system computes reservation prices that quantify the expected value-of-information for querying a more costly and accurate value estimate gm(x)g_{m}(x), e.g., by running the specialist for a few reasoning tokens and checking if it is on the right track. (4) This unified principle supports allocation by centralized routing and decentralized auctions.

References (38)