Manuscript Offprint
arXiv:2610.40831Circumventing the Computational Hardness of Computational Arbitrage
Abstract
AI model marketplaces host providers with heterogeneous costs and capabilities. These differences create an opportunity for computational arbitrage [Olmedo et al., 2026], in which an intermediary purchases inference from a portfolio of models and resells it to users at a profit. Beyond creating profit opportunities for the arbitrageur, computational arbitrage offers financial value to both consumers and providers and could therefore significantly influence AI model markets. While prior work empirically demonstrates the feasibility of computational arbitrage for small model pools, scaling it to large marketplaces requires arbitrage strategies that are both computationally tractable and inexpensive to identify and deploy. In this work, we formalize computational arbitrage as an allocation problem and prove that it is generally NP-hard. However, we show that the optimal allocation can be computed efficiently under a natural diminishing-returns condition on how model performance scales with inference spending. We further develop a sample-efficient method for estimating model performance from limited data, reducing the upfront cost of identifying arbitrage strategies. Our analysis also yields several economic insights: at the optimum, every funded model delivers the same marginal utility per dollar; arbitrage directs revenue away from providers offering little utility relative to their prices; and it rewards complementary specialization.
1 Introduction
The proliferation of AI models with heterogeneous costs and capabilities makes it increasingly difficult for users to decide which service to choose. Even among models offering comparable performance, inference costs can differ substantially. For example, reaching a 40% solve rate on Terminal-Bench can cost anywhere from less than a dollar to more than 10 to over $180 (see Figure 1). Such price dispersion creates the potential for computational arbitrage, where an intermediary allocates inference budget across model providers, achieves a given level of performance at a lower cost, and resells it to users at a profit. Computational arbitrage brings broad economic benefits, including lower consumer prices, reduced market segmentation, and easier market entry for smaller providers [Olmedo et al., 2026].
Despite these benefits, computational arbitrage is not yet deployed at scale in AI marketplaces, due to several challenges. First, given model prices and capabilities, an arbitrageur must determine how to allocate an inference budget across models to maximize utility. As the number of models
*Corresponding author: nastaran.okati@tuebingen.mpg.de

Figure 1: The cost of a given performance target varies by more than an order of magnitude across the market. Expected total cost for each model to reach a 40% (top) and a 70% (bottom) solve rate on Terminal-Bench 2.0. The figure also shows that the cheapest models differ between the 40% and 70% targets, indicating that relative cost-effectiveness varies with the desired solve rate. For each model, we give every query the same budget, compute the probability that repeated sampling solves it before the budget is exhausted, and increase the budget until the average solve rate reaches the target. "NA" marks a model that does not reach the target within the budget range considered. Prices are based on the reported cost per trial when available, and otherwise token counts scaled by the LiteLLM price database as of September 2026. Refer to Appendix D.1 for experimental details.
grows, exhaustively searching over possible allocations becomes computationally infeasible. Second, even after the budget is allocated, the arbitrageur must determine the order in which to query models to avoid unnecessary spending. Third, computing an effective allocation requires knowing how each model's success probability varies across queries and inference budgets, quantities that are generally unavailable and prohibitively expensive to estimate, as doing so requires many paid model calls.
In this work, we address these challenges and show that the optimal arbitrage strategy is both tractable to compute and inexpensive to identify and deploy in large model marketplaces. Our results yield several interesting economic implications. At the optimum, every funded model delivers the same marginal utility per dollar. Revenue therefore flows toward providers whose performance justifies their prices, while those offering little utility relative to their prices receive little or no revenue. This result contributes to the growing literature on LLM service pricing: regardless of the billing scheme used, a provider's ability to attract revenue ultimately depends on the utility it delivers per dollar. Providers can therefore compete in two ways: by offering sufficiently low prices or by specializing in queries that other models are likely to fail; computational arbitrage hence creates an incentive for complementary specialization.
In more detail, we make the following contributions:
-
Optimal arbitrage strategy. We formulate arbitrage as a budget-allocation problem and show that it is generally NP-hard. We then show that whenever inference spending has diminishing returns in log-failure reduction, the objective is jointly concave and its global optimum is computable efficiently even in large model markets. Across four agentic and coding benchmarks, our arbitrage strategy achieves a better cost-performance trade-off than any individual model (see Figure 2).
-
Deployment order. An arbitrageur can reduce their realized costs by querying funded models sequentially and stopping once an acceptable solution is found. Although we show that finding the optimal fixed order is NP-hard, we develop a greedy rule that prioritizes models with the highest expected utility per cost on queries missed by earlier models. Across benchmarks, our greedy ordering closely tracks the best order found by exhaustive search (see Figure 4).
-
Sample-efficient utility estimation. Building on distributional strategies in predicting inference-time scaling, we adapt empirical Bayes estimators that recover query-level utility curves from limited data. Across six benchmarks, an arbitrageur using our estimation method reaches nearly the same solve rate as an arbitrageur estimating the utility curves from orders of magnitude more data (see Figures 6 and 8).¹
An arbitrageur is an intermediary who benefits from this gap through diversification. Rather than allocating the entire budget to the most cost-effective model, the arbitrageur chooses a query-independent allocation , such that , i.e., for every query , an inference budget of is allocated to model . Let denote the outputs
¹Code and data are available at https://github.com/nastaran75/arbitrage-markets.
²Examples 1 and 2 in Appendix A provide simple two-model examples in which distributing the budget among the two models strictly beats every single-model allocation of the same total budget under both scenarios.
produced by the models under allocation . We denote their joint distribution as , with marginals . The arbitrageur wants to maximize the acceptance probability, given the budget, i.e.,
The combinatorial nature of the problem makes it computationally intractable:
Theorem 1. Finding the optimal arbitrage policy as in Equation (1) is NP-hard.
We therefore identify conditions under which the problem becomes tractable. For each model, we first define the utility function as , and assume that model outputs are conditionally independent given the query. We can hence rewrite the objective in Equation (1) as follows:
where , i.e., the log-failure reduction on query purchased with dollars from model . Conditional independence of model outcomes given a query does not restore tractability; we therefore impose a natural diminishing property on how model performance scales with inference spending; more formally we have the following assumption:
Assumption 1. For every model and query , the log-failure reduction is non-decreasing and concave on .
Assumption 1 formalizes diminishing returns to inference compute: it requires the log-failure reduction purchased from each additional dollar to be non-increasing. This property has been empirically observed for common inference-scaling strategies, including repeated sampling [Schaegger et al., 2025], chain-of-thought reasoning [Ghosal et al., 2025, Snell et al., 2025], and post-training [Chen et al., 2026].
This assumption makes the allocation problem tractable:
Theorem 2. Under Assumption 1, is non-decreasing and jointly concave. If has finite support and each is differentiable, a global optimum exists and is characterized by the KKT conditions. This optimum can be found efficiently using cyclic coordinate-ascent on the Lagrangian.
We call the map , giving the best solve rate attainable at each budget, the arbitrage frontier. We trace this frontier by sweeping the shadow price over a grid and maximizing the Lagrangian at each price by cyclic coordinate ascent; Algorithm 1 provides the pseudocode. Each coordinate-ascent sweep requires coordinate updates, whereas exhaustive grid search, as in Olmedo et al. [2026], scales exponentially with the number of models. On the
All proofs can be found in Appendix B.
This assumption says that conditional on a query, the sampling processes of different LLMs are mutually independent, a natural assumption made also in prior work (Ai et al., 2025, Assumption C.1; Farinhas et al., 2024). This assumption does not restrict arbitrary overlap in models' strengths and weaknesses across queries.
In the reduction proving Theorem 1, acceptance outcomes are conditionally independent given the query.
markets of Section 5, with up to 70 models, tracing the full frontier using our method takes under half a second, whereas exhaustive search would be computationally infeasible at this scale.
Algorithm 1 Tracing the arbitrage frontier
Require: utility curves , shadow prices , maximum number of sweeps
1:
2: for do ▷ shadow prices decrease, so allocated budgets grow
3: for do
4:
5: for do
6: ▷ as in Equation (2)
7: end for
8: if then break
9: end if
10: end for
11:
12: end for
13: return ▷ the frontier: solve rate against total allocated budget
The KKT conditions characterizing the optimal allocation in Theorem 2 yield several interesting implications discussed below.
No further arbitrage opportunities. At the optimum, every funded model delivers the same marginal utility per dollar, i.e.,
As a result, reallocation of the budget between funded models cannot raise utility, i.e., no more arbitrage possibilities are available, which suggests the existence of a single consistent price system [Ross, 1978, Harrison and Kreps, 1979, Dybvig and Ross, 1987, Varian, 1987].
Arbitrage against arbitrary pricing. A growing line of recent work identifies shortcomings in current LLM pricing practices [Artola Velasco et al., 2026b, Cai et al., 2025, Saig et al., 2024], and proposes alternatives such as pay-per-character or pay-for-performance. Computational arbitrage offers a complementary perspective: the arbitrageur pays dollars per unit of marginal utility from every funded provider, i.e., the effective price of marginal utility is equalized across providers, and providers whose marginal utility per dollar falls below receive no revenue at all. This disciplines pricing regardless of the particular billing scheme each provider adopts. This mechanism parallels the role of arbitrage in goods markets: arbitrage pushes prices to their fundamental values [Ross, 1976, Dybvig and Ross, 1987, Shleifer, 2000], and constrains firms' ability to sustain discriminatory prices [Malueg and Schwartz, 1994, Anderson and Ginsburgh, 1999].
Arbitrage values complementary specialization. Fix an allocation and the other models' performance curves. Suppose provider makes a feasible local improvement in its marginal utility per dollar:
The resulting change in its marginal contribution is
For a fixed average improvement , targeting queries on which the other models are more likely to fail yields a larger increase in the provider's marginal contribution. Furthermore, as competing models improve based on the current allocation, this weight decreases on the queries they address. Thus, the arbitrage allocation rule values complementary specialization.
3 Optimal deployment order
The optimal allocation identifies how to distribute inference spending across providers to maximize utility under a given budget. Deploying this allocation raises a complementary question: in what order should the models be queried? In verifiable domains, the arbitrageur can stop as soon as an acceptable solution is found, so deployment order affects realized spending without changing the allocation's success probability. Taking the allocation as fixed, we characterize cost-minimizing deployment orders and examine their implications for provider revenues and incentives.
Let be the permutation giving the deployment order. We use the survival function identity to model the spend on each model; after spending dollars on model for solving sample , the probability that it has not yet succeeded is . The expected spend on model for query , conditional on reaching it, is therefore
The expected spend for solving query is hence:
The query-dependent cost-minimizing order then has a simple characterization:
Proposition 1. For a fixed allocation and instance , the order that minimizes queries the models in decreasing order of acceptance probability per expected dollar spent, .
The per-query optimum provides a benchmark for deployment and motivates query-adaptive ordering when reliable performance predictions are available, paralleling results in LLM routing literature. Without such predictions, we seek a fixed order that minimizes expected cost across the query population. In the following, we show that finding the optimal deployment order in this case is NP-hard, using a reduction from the min-sum set cover problem.
Theorem 3. Finding a fixed deployment order that minimizes is NP-hard.
Given this hardness result, we adopt a greedy ordering rule inspired by the 4-approximation algorithm for min-sum-set-cover [Feige et al., 2004]. Starting from an empty set, each time we append the model with the largest reach-weighted coverage per expected dollar. Let be the set of models already queried up to step and let ; then our greedy algorithm picks a model at step such that:
i.e., the model with the highest expected utility per expected dollar spent on yet unsolved samples.
Arbitrage incentivizes models to either be cheap generalists or specialists. Given the above greedy deployment order, model providers can have two strategies for maximizing their revenue. First note that for every query the probability of reaching the th model in the order, , is the probability that models earlier in the order fail to solve the query, and it decreases monotonically for models later in the sequence. As a result, there is a clear advantage for providers to appear early in the deployment order. To do so, they need to offer a competitive utility at a low price, as in the first iteration of the greedy algorithm the model with the highest average utility per dollar will be selected. In later iterations, the models with the highest utility per dollar on unsolved queries get selected. In short, models should either simply be cheap enough to appear early in the deployment order or provide complementary strength, solving queries that remain unresolved.
4 Reducing the cost of arbitrage
Computing the optimal allocation requires query-level utility curves. Estimating these curves with standard unbiased estimators requires many recorded attempts per model-query pair and since each attempt is a paid model call, collecting them can be prohibitively expensive. In this section, we adapt a distributional approach to obtain query-level empirical Bayes estimates from limited observations.
We consider a repeated sampling strategy and assume that where with representing the average cost per attempt of model on query . Following prior distributional approaches [Kazdan et al., 2025, Schaeffer et al., 2025], we model one-shot
Note that finding the optimal arbitrage strategy remains NP-hard under repeated sampling with integer sample counts; see Theorem 4 in Appendix B.
success probabilities across queries using a model-specific Beta prior. Since this prior assigns no mass to exactly zero success probability, we augment it with a point mass at zero for queries that remain unsolvable by a given model under repeated sampling, i.e.,
where is a point mass at zero and is the prior probability that a query has zero success probability for model . To stabilize estimation from few attempts per query, we maximize the log marginal likelihood with an additional penalty [Gelman et al., 2013], which discourages the fitted Beta distribution from concentrating around a single success probability. We fit the parameters by maximization marginal likelihood, i.e.,
where is the total number of attempts of model for sample and is the number of successful such attempts.
This population-level estimate is insufficient for computational arbitrage as the arbitrageur depends on the entire matrix of model-query utility curves to find the optimal allocation. We therefore adapt the fitted model into a query-level empirical Bayes estimator. For every model, the fitted distribution is used as a prior for the query-specific one-shot success probability pass@1. Given the observed attempts for model on query , the posterior is , where is the posterior probability that model has zero success probability on query , obtained by updating the fitted prior with the observed attempts. It is zero whenever at least one success is observed. Hence, the resulting query-level pass@k estimator is
In the next section, we show that arbitrage strategies based on our estimates achieve near-oracle solve rates while requiring orders of magnitude fewer model calls for calibration.
5 Experiments
In this part we evaluate our proposed arbitrage strategy, based on Theorem 2, together with the greedy deployment order, as in Equation (6), on four agentic and competitive programming benchmarks with recorded dollar costs for each trial. We further evaluate our estimator proposed in Section 4 on several benchmarks with large public records of repeated sampling.
5.1 Arbitrage on real-world model markets
We evaluate our arbitrage strategy on recent benchmarks spanning competitive-programming, agentic command-line and software-engineering tasks on real codebases. They evaluate many models over repeated trials, and, unlike most benchmarks, record what each trial costs, allowing us to study both cost-performance trade-offs and differences in model strengths.
We use LiveCodeBench, Terminal-Bench 2.0, Terminal-Bench 4.0, and DeepSWE. We estimate the mean cost per attempt for all model-query pairs using the reported cost per trial when
Refer to Appendix D.2 for detailed information about each benchmark.

Figure 2: Arbitrageur improves the cost-performance frontier. Solve rate against total cost on four benchmarks. Each blue curve is one model funded on its own by repeated sampling with early stopping when a solution is found. The arbitrage gain is largest in the mid-budget regime, where models' strengths are most complementary. DeepSWE is the most concentrated of the four markets where one cheap model is the most cost-effective.
available, and otherwise the recorded token counts scaled by public prices as of September 2026. More details on the experimental setup can be found in Appendix D.
For each model-query pair, we estimate the success probabilities under repeated sampling, where translates to attempts of model on query , using the unbiased estimator [Chen et al., 2021], frozen past the recorded attempts. The expected spend under repeated sampling that stops upon success is calculated as in Equation (4); for a portfolio, models are queried in the greedy order of Section 3 and the expected spend is calculated as in Equation (5). The arbitrageur's frontier is traced by sweeping the shadow price over a fixed grid of 86 values; at each, the allocation and its deployment order are cross-validated (leave-one-out on Terminal-Bench 2.0 and 4.0, 10-fold on LiveCodeBench and DeepSWE). Total cost is expected spend per query summed over the problems.
Figure 2 reports the solve rate of the arbitrageur and all the models alone, against their total spend, which shows that the arbitrageur consistently improves the cost-performance frontier. The largest gains occur at intermediate budgets, where combining models with complementary strengths is most valuable. It can be seen that DeepSWE is the most concentrated of the four markets: one cheap model is the most cost-effective arm over most of the budget range, so the arbitrageur tracks it and adds a more expensive model of the same provider only at the highest budgets; its gain there is accordingly the smallest.
Figure 3 shows the revenue share of each model provider under the arbitrage strategy. At lower budgets, revenue goes entirely to the cheaper models; as the budget grows, it spreads among more
For non-integer the failure probability decays at a constant rate within an attempt.
With at most 5–10 recorded attempts, held-out queries can only be scored within the recorded attempts. We therefore fit and evaluate the arbitrage strategy within the recorded attempts. Our pass@k estimator proposed in Section 4, whose value lies in predicting beyond the recorded attempts, is evaluated in Section 5.2 on benchmarks with thousands of attempts per pair.

Figure 3: Revenue spreads across providers as budgets increase. Revenue share of each funded provider as a function of the budget per task under the arbitrageur's cross-validated allocation of Figure 2, one row per system sorted by per-attempt price (cheapest on top). At lower budgets, revenue goes entirely to the cheaper models; as the budget grows, it spreads among more providers, and even at high budgets cheap models retain a significant share of the revenue. In DeepSWE, a few cheap configurations of one provider offer the highest utility per dollar over most of the budget range.
providers, and even at high budgets cheap models retain a significant share of the revenue. These results suggest that arbitrage can reduce market segmentation by directing revenue towards multiple providers, including smaller models that offer utility for a competitive price. Figure 4 compares the realized spend of our greedy order proposed in Section 3 with the best fixed order of the funded models, computed by an exponential-time dynamic programming algorithm, and with the common heuristic of querying cheapest models first. Our greedy order matches the best order at most budgets and remains consistently close to it, unlike the cheapest-first order. On DeepSWE at most three models are funded and both ordering rules recover the best order.
5.2 Arbitrage with estimated utility curves
To evaluate the quality of our estimation method proposed in Section 4, we need to determine how much of the solve rate an arbitrageur who uses our method to estimate the utility curves loses, compared to an arbitrageur who finds the true utility curves. To do so, we utilize benchmarks with many recorded attempts per model-query pair, allowing us to construct high-precision references for utility curves. We use MATH (10 models, 128 problems) and CodeContests (5 models, 140 problems) from the Monkey Business benchmarks [Brown et al., 2024] which provide 10,000 recorded binary attempts per query-model pair as well as AIME 2024–2025, Global-
Note that exponential dynamic programming is possible here because only a handful of models receive non-zero allocations; in larger markets with more funded models, it can become computationally prohibitive.

Figure 4: The greedy deployment order is close to the best fixed order. Expected spend of the arbitrageur's allocation when the funded models are queried in the greedy order of Equation (6) (solid) or in increasing order of average cost per attempt (dashed), relative to the best fixed order of the funded models found by exact dynamic programming (which remains exponential in the number of funded models, the 0% line), as a function of the solve rate. The greedy order matches the best order at the median and stays within 10% of it, whereas cheapest first spends up to 16% more.
MMLU-Lite [Singh et al., 2025], and MMLU-Pro [Wang et al., 2024b] (12 models, 30 problems per benchmark) where we use the 2,500 recorded binary attempts per pair from Truong et al. [2026]. None of these benchmarks record a price per attempt, so we price attempts by a compute proxy: model parameters times the model's mean generation length on the problem. Results for the MMLU benchmarks are reported in Appendix D.3.
We compare three estimation methods: (i) the oracle which estimates pass @k based on all the available attempts using the unbiased estimator, (ii) the plug-in which estimates based on n attempts per model-query pair, using the plug-in estimator and extrapolates to any k, (iii) our empirical Bayes (EB) estimator which estimates based on n attempts per pair using Equation (7).
We first compare our method to the plug-in estimator in terms of the RMSE of the estimated pass@k curves, using the oracle as the ground truth. Figure 5 shows that our estimator consistently has lower RMSE than the plug-in estimator, suggesting that pooling information across queries (through the model-level prior) substantially improves utility estimation in the low-data regime. We next visualize the solve rate of an arbitrageur using different estimators. Figure 6 summarizes the results where for each oracle solve rate, all methods spend the deployment budget the oracle requires for that rate, and we report medians over 10 independent draws. It can be seen that an arbitrageur using our estimation method tracks the oracle solve rate which uses up to orders of magnitude more data, and hence more cost. On the CodeContests benchmark, the plug-in estimator often observes no successful attempts for a query and therefore assigns it , regardless of k. Its achievable solve rate is consequently limited to queries with at least one observed success. Our estimator avoids this failure mode by borrowing strength across queries through a model-specific prior. Similar results for the MMLU benchmarks are reported in Figure 8.

Figure 5: Our estimator consistently outperforms the plug-in estimator. Distribution over 100 random calibration draws of the paired gap in pass@k RMSE against the oracle reference, averaged over models and , with attempts per query-model pair, on MATH, CodeContests, AIME 2024 and AIME 2025; the two estimators are fitted on the same subsample of each draw. The dashed line marks no difference; mass to its right means our estimator is more accurate on that draw, and the annotation gives the share of such draws. The gap is positive on every draw on all benchmarks showing that our estimator consistently has lower RMSE than the plug-in estimator. Results for the MMLU benchmarks are shown in Figure 7.
6 Further related work
Model cascading. In model cascading, models are queried sequentially, typically in increasing order of cost, until a satisfactory solution is found [Varshney and Baral, 2022, Wang et al., 2023b, Chen et al., 2023, Aggarwal et al., 2024, Ramírez et al., 2024]. Computational arbitrage addresses the problem of deciding which models should even be funded and how the inference budget should be distributed among them to maximize performance. Consequently, an optimal arbitrage strategy may exclude models that are dominated by the rest of the portfolio, and its cost-minimizing deployment order is not necessarily in increasing model cost.
Model routing. Model routing assigns each query to one of the several available models, typically using predicted difficulty, quality, or cost to improve the cost-performance trade-off [Shnitzer et al., 2024, Ding et al., 2024, Lu et al., 2024, Sakota et al., 2024]. Computational arbitrage addresses a complementary problem: rather than selecting a single model, it determines how to distribute inference spending across a portfolio of providers, potentially querying and repeatedly sampling from multiple models for the same query. Routing could nevertheless strengthen an arbitrage strategy by predicting query-level model performance. Conversely, research on model routing can adopt arbitrage strategies as benchmark for algorithm development.
Inference-time scaling. A line of work studies the scaling behavior of LLMs in various aspects including context length [Xiong et al., 2024], inference optimization [Snell et al., 2025], and repeated sampling [Brown et al., 2024, Schaeffer et al., 2025, Kazdan et al., 2025]. Our work is most closely related to studies of repeated sampling as we estimate query-level scaling curves under repeated sampling to identify arbitrage strategies using limited data. Examining arbitrage strategies under other inference-time scaling methods such as chain-of-thought prompting [Wei et al., 2022, Wang et al., 2023a], majority voting [Wan et al., 2025], and best-of-N [Kalayci et al., 2025, Komiyama et al., 2026] is an interesting direction for future work.

Figure 6: An arbitrageur using our estimation method approaches the solve rate of an arbitrageur using the oracle utility curves which use several orders of magnitude more data. On each benchmark of Figure 5 we subsample attempts per query-model pair, re-estimate the utility curves, run the arbitrage on the estimates and plot the achieved solve rate; the oracle uses all recorded attempts (10,000 per pair on the Monkey Business benchmarks, 2,500 on AIME) and is the diagonal. For each oracle solve rate we find the budget that the oracle needs to achieve that solve rate and use the same budget for other methods.
Economics of LLMs. A rapidly growing literature addresses the economic roles that LLMs can play in society [Fish et al., 2024, Boehmer et al., 2025, Filippas et al., 2024, Raman et al., 2024, Dütting et al., 2024], examines cost-aware fine-tuning [Laufer et al., 2024], test-time training [Chen et al., 2026], evaluation [Erol et al., 2026, Wang et al., 2024a] and pricing and incentive problems in LLM markets, including opacity and potential overcharging [Artola Velasco et al., 2026b,a, Sun et al., 2025, Cai et al., 2025, Saig et al., 2024]. We study how computational arbitrage can itself reshape the economics of LLM markets by reallocating demand across them, affecting their revenue shares, and creating incentives for competitive pricing and complementary specialization.
7 Conclusion
In this work we take a step towards making computational arbitrage practical in large AI model markets. We identify a natural condition under which the optimal arbitrage strategy can be computed efficiently. At this optimal allocation, every funded model provides the same marginal utility per dollar, directing revenue toward providers that are either broadly cost-effective or specialized in queries that the rest of the portfolio is likely to fail on. The deployment order reinforces these incentives: inexpensive models with strong average performance tend to be queried early, while complementary specialists remain valuable later in the sequence. Together, these findings suggest that arbitrage can discipline pricing while rewarding specialization in AI model markets.
Acknowledgements
We thank Florian Dorner, Ana-Andrea Stoica, and Yatong Chen for helpful discussions and valuable feedback on this work.
References
Pranjal Aggarwal, Aman Madaan, Ankit Anand, Srividya Pranavi Potharaju, Swaroop Mishra, Pei Zhou, Aditya Gupta, Dheeraj Rajagopal, Karthik Kappaganthu, Yiming Yang, et al. AutoMix: Automatically mixing language models. Advances in Neural Information Processing Systems, 37: 131000–131034, 2024.
Rui Ai, Yuqi Pan, David Simchi-Levi, Milind Tambe, and Haifeng Xu. Beyond majority voting: LLM aggregation by leveraging higher-order information. arXiv preprint arXiv:2510.01499, 2025.
Simon P. Anderson and Victor A. Ginsburgh. International pricing with costly consumer arbitrage. Review of International Economics, 7(1):126–139, 1999. doi: 10.1111/1467-9396.00151.
Ander Artola Velasco, Dimitrios Rontogiannis, Stratis Tsirtsis, and Manuel Gomez-Rodriguez. Test-time compute games. In Advances in Neural Information Processing Systems, 2026a. To appear.
Ander Artola Velasco, Stratis Tsirtsis, Nastaran Okati, and Manuel Gomez-Rodriguez. Is your LLM overcharging you? tokenization, transparency, and incentives. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, 2026b. Oral presentation.
Niclas Boehmer, Sara Fish, and Ariel D. Procaccia. Generative social choice: The next generation. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 4627–4659. PMLR, 2025. URL https://proceedings.mlr.press/v267/boehmer25a.html.
Stephen Boyd and Lieven Vandenberghe. Convex Optimization. Cambridge University Press, 2004.
Bradley Brown, Jordan Juravsky, Ryan Ehrlich, Ronald Clark, Quoc V. Le, Christopher Ré, and Azalia Mirhoseini. Large language monkeys: Scaling inference compute with repeated sampling. arXiv preprint arXiv:2407.21787, 2024.
Will Cai, Tianneng Shi, Xuandong Zhao, and Dawn Song. Are you getting what you pay for? auditing model substitution in LLM APIs. In Workshop on Regulatable Machine Learning at the 39th Conference on Neural Information Processing Systems, 2025. URL https://openreview.net/forum?id=thhrtv9P0s.
Lingjiao Chen, Matei Zaharia, and James Zou. FrugalGPT: How to use large language models while reducing cost and improving performance. Transactions on Machine Learning Research, 2023.
Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374, 2021.
Yatong Chen, Guanhua Zhang, and Moritz Hardt. Leaderboard incentives: Model rankings under strategic post-training. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, 2026. URL https://arxiv.org/abs/2603.08371.
Yinlam Chow, Guy Tennenholtz, Izzeddin Gur, Vincent Zhuang, Bo Dai, Aviral Kumar, Rishabh Agarwal, Sridhar Thiagarajan, Craig Boutilier, and Aleksandra Faust. Inference-aware fine-tuning for best-of-N sampling in large language models. In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=77gQUdQhE7.
Dujian Ding, Ankur Mallick, Chi Wang, Robert Sim, Subhabrata Mukherjee, Victor Rühle, Laks V. S. Lakshmanan, and Ahmed Hassan Awadallah. Hybrid LLM: Cost-efficient and quality-aware query routing. In The Twelfth International Conference on Learning Representations, 2024.
Paul Dütting, Vahab Mirrokni, Renato Paes Leme, Haifeng Xu, and Song Zuo. Mechanism design for large language models. In Proceedings of the ACM Web Conference 2024, pages 144-155. Association for Computing Machinery, 2024. doi: 10.1145/3589334.3645511. URL https://doi.org/10.1145/3589334.3645511.
Philip H. Dybvig and Stephen A. Ross. Arbitrage. In John Eatwell, Murray Milgate, and Peter Newman, editors, The New Palgrave: A Dictionary of Economics, volume 1, pages 100-106. Macmillan, London, 1987.
Mehmet Hamza Erol, Batu El, Mirac Suzgun, Mert Yuksekgonul, and James Y Zou. Cost-of-pass: An economic framework for evaluating language models. In International Conference on Learning Representations, volume 2026, pages 34103-34127, 2026.
António Farinhas, Haau-Sing Li, and André F Martins. Reranking laws for language generation: A communication-theoretic perspective. Advances in Neural Information Processing Systems, 37:111074-111105, 2024.
Uriel Feige, László Lovász, and Prasad Tetali. Approximating min sum set cover. Algorithmica, 40 (4):219-234, 2004.
Apostolos Filippas, John J. Horton, and Benjamin S. Manning. Large language models as simulated economic agents: What can we learn from homo silicus? In Proceedings of the 25th ACM Conference on Economics and Computation, pages 614-615. Association for Computing Machinery, 2024. doi: 10.1145/3670865.3673513. URL https://doi.org/10.1145/3670865.3673513.
Sara Fish, Paul Gölz, David C. Parkes, Ariel D. Procaccia, Gili Rusak, Itai Shapira, and Manuel Wüthrich. Generative social choice. In Proceedings of the 25th ACM Conference on Economics and Computation, page 985. Association for Computing Machinery, 2024. doi: 10.1145/3670865.3673547. URL https://doi.org/10.1145/3670865.3673547.
Andrew Gelman, John B. Carlin, Hal S. Stern, David B. Dunson, Aki Vehtari, and Donald B. Rubin. Bayesian Data Analysis. Chapman and Hall/CRC, 3 edition, 2013.
Soumya Suvra Ghosal, Souradip Chakraborty, Avinash Reddy, Yifu Lu, Mengdi Wang, Dinesh Manocha, Furong Huang, Mohammad Ghavamzadeh, and Amrit Singh Bedi. Does thinking more always help? mirage of test-time scaling in reasoning models. In Advances in Neural Information Processing Systems, volume 38, 2025. doi: 10.52202/085713-5747.
J. Michael Harrison and David M. Kreps. Martingales and arbitrage in multiperiod securities markets. Journal of Economic Theory, 20(3):381-408, 1979. doi: 10.1016/0022-0531(79)90043-7.
Naman Jain, King Han, Alex Gu, Wen-Ding Li, Fanjia Yan, Tianjun Zhang, Sida Wang, Armando Solar-Lezama, Koushik Sen, and Ion Stoica. LiveCodeBench: Holistic and contamination free evaluation of large language models for code. In The Thirteenth International Conference on Learning Representations, 2025.
Yusuf Kalayci, Vinod Raman, and Shaddin Dughmi. Optimal stopping vs best-of-N for inference time optimization. arXiv preprint arXiv:2510.01394, 2025. doi: 10.48550/arXiv.2510.01394.
Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B. Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. Scaling laws for neural language models. arXiv preprint arXiv:2001.08361, 2020.
Richard M. Karp. Reducibility among combinatorial problems. In Raymond E. Miller, James W. Thatcher, and Jean D. Bohlinger, editors, Complexity of Computer Computations, pages 85–103. Plenum Press, New York, 1972.
Joshua Kazdan, Rylan Schaeffer, Youssef Allouah, Colin Sullivan, Kyssen Yu, Noam Levi, and Sanmi Koyejo. Efficient prediction of pass@k scaling in large language models. arXiv preprint arXiv:2510.05197, 2025. doi: 10.48550/arXiv.2510.05197.
Junpei Komiyama, Daisuke Oba, and Masafumi Oyamada. Best-of-infinity: Asymptotic performance of test-time LLM ensembling. In The Fourteenth International Conference on Learning Representations, 2026. URL https://arxiv.org/abs/2509.21091.
Benjamin Laufer, Jon Kleinberg, and Hoda Heidari. Fine-tuning games: Bargaining and adaptation for general-purpose models. In Proceedings of the ACM Web Conference 2024, pages 66–76, 2024.
Keming Lu, Hongyi Yuan, Runji Lin, Junyang Lin, Zheng Yuan, Chang Zhou, and Jingren Zhou. Routing to the expert: Efficient reward-guided ensemble of large language models. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 1964–1974, 2024.
David A. Malueg and Marius Schwartz. Parallel imports, demand dispersion, and international price discrimination. Journal of International Economics, 37(3-4):167–195, 1994. doi: 10.1016/0022-1996(94)90044-2.
Ricardo Olmedo, Bernhard Schölkopf, and Moritz Hardt. Computational arbitrage in AI model markets. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, 2026. URL https://arxiv.org/abs/2603.22404.
Narun Krishnamurthi Raman, Taylor Lundy, Samuel Joseph Amouyal, Yoav Levine, Kevin Leyton-Brown, and Moshe Tennenholtz. STEER: Assessing the economic rationality of large language models. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 42026–42047. PMLR, 2024. URL https://proceedings.mlr.press/v235/raman24b.html.
Guillem Ramírez, Alexandra Birch, and Ivan Titov. Optimising calls to large language models with uncertainty-based two-tier selection. arXiv preprint arXiv:2405.02134, 2024.
Stephen A. Ross. The arbitrage theory of capital asset pricing. Journal of Economic Theory, 13(3): 341–360, 1976. doi: 10.1016/0022-0531(76)90046-6.
Stephen A. Ross. A simple approach to the valuation of risky streams. The Journal of Business, 51(3):453–475, 1978. doi: 10.1086/296008.
Eden Saig, Ohad Einav, and Inbal Talgam-Cohen. Incentivizing quality text generation via statistical contracts. In Advances in Neural Information Processing Systems, volume 37, 2024.
Marija Šakota, Maxime Peyrard, and Robert West. Fly-swat or cannon? cost-effective language model choice via meta-modeling. In Proceedings of the 17th ACM International Conference on Web Search and Data Mining, pages 606–615, 2024.
Rylan Schaeffer, Joshua Kazdan, John Hughes, Jordan Juravsky, Sara Price, Aengus Lynch, Erik Jones, Robert Kirk, Azalia Mirhoseini, and Sanmi Koyejo. How do large language monkeys get their power (laws)? In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 53132–53176. PMLR, 2025. URL https://proceedings.mlr.press/v267/schaeffer25a.html.
Andrei Shleifer. Inefficient Markets: An Introduction to Behavioral Finance. Oxford University Press, Oxford, 2000.
Tal Shnitzer, Anthony Ou, Mírian Silva, Kate Soule, Yuekai Sun, Justin Solomon, Neil Thompson, and Mikhail Yurochkin. Large language model routing with benchmark datasets. In First Conference on Language Modeling, 2024.
Shivalika Singh, Angelika Romanou, Clémentine Fourrier, David Ifeoluwa Adelani, Jian Gang Ngui, Daniel Vila-Suero, Peerat Limkonchotiwat, Kelly Marchisio, Wei Qi Leong, Yosephine Susanto, et al. Global MMLU: Understanding and addressing cultural and linguistic biases in multilingual evaluation. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 18761–18799, 2025.
Charlie Snell, Jaehoon Lee, Kelvin Xu, and Aviral Kumar. Scaling LLM test-time compute optimally can be more effective than scaling parameters for reasoning. In The Thirteenth International Conference on Learning Representations, 2025.
Guoheng Sun, Ziyao Wang, Bowei Tian, Meng Liu, Zheyu Shen, Shwai He, Yexiao He, Wanghao Ye, Yiting Wang, and Ang Li. CoIn: Counting the invisible reasoning tokens in commercial opaque LLM APIs. arXiv preprint arXiv:2505.13778, 2025. doi: 10.48550/arXiv.2505.13778.
Sang Truong, Yuheng Tu, Rylan Schaeffer, and Sanmi Koyejo. Item response scaling laws: A measurement theory approach for efficient and generalizable neural scaling estimation. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, 2026. URL https://arxiv.org/abs/2606.07616.
Hal R. Varian. The arbitrage principle in financial economics. Journal of Economic Perspectives, 1(2): 55–72, 1987. doi: 10.1257/jep.1.2.55.
Neeraj Varshney and Chitta Baral. Model cascading: Towards jointly improving efficiency and accuracy of NLP systems. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 11007–11021, 2022.
Guangya Wan, Zixin Stephen Xu, Sasa Zorc, Manel Baucells, Mengxuan Hu, Hao Wang, and Sheng Li. BEACON: Bayesian optimal stopping for efficient LLM sampling. arXiv preprint arXiv:2510.15945, 2025. doi: 10.48550/arXiv.2510.15945.
Junlin Wang, Siddhartha Jain, Dejiao Zhang, Baishakhi Ray, Varun Kumar, and Ben Athiwaratkun. Reasoning in token economies: Budget-aware evaluation of LLM reasoning strategies. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 19916–19939, 2024a.
Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. Self-consistency improves chain of thought reasoning in language models. In The Eleventh International Conference on Learning Representations, 2023a. doi: 10.48550/arXiv.2203.11171.
Yiding Wang, Kai Chen, Haisheng Tan, and Kun Guo. Tabi: An efficient multi-level inference system for large language models. In Proceedings of the Eighteenth European Conference on Computer Systems, pages 233–248, 2023b.
Yubo Wang, Xueguang Ma, Ge Zhang, Yuansheng Ni, Abhranil Chandra, Shiguang Guo, Weiming Ren, Aaran Arulraj, Xuan He, Ziyan Jiang, Tianle Li, Max Ku, Kai Wang, Alex Zhuang, Rongqi Fan, Xiang Yue, and Wenhu Chen. MMLU-Pro: A more robust and challenging multi-task language understanding benchmark. In Advances in Neural Information Processing Systems 37, Datasets and Benchmarks Track, 2024b.
Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter, Fei Xia, Ed H. Chi, Quoc V. Le, and Denny Zhou. Chain-of-thought prompting elicits reasoning in large language models. In Advances in Neural Information Processing Systems, volume 35, pages 24824–24837, 2022.
Wenhan Xiong, Jingyu Liu, Igor Molybog, Hejia Zhang, Prajjwal Bhargava, Rui Hou, Louis Martin, Rashi Rungta, Karthik Abinav Sankararaman, Barlas Oguz, et al. Effective long-context scaling of foundation models. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 4643–4663, 2024.
A Additional examples
Example 1 (Diversification despite pointwise dominance). Suppose two models have acceptance probabilities
on every query x, and their outputs are conditionally independent given the query. Model 1 strictly dominates model 2: at every positive budget, it has a higher acceptance probability on every query.
With a total budget of , allocating everything to the dominant model gives
Splitting the budget equally instead gives, with independent outputs ,
These acceptance probabilities are the same for every query, so the comparison holds under any query distribution . Thus, even allocating the entire budget to a model that dominates every other model on every query can be suboptimal. Diminishing returns to spending on the dominant model can make diversification beneficial without complementary strengths across queries.
Example 2 (Diversification through complementary strengths). Suppose we have two models and the query space is partitioned into two equally likely disjoint regions , with . Model performs better on , and its utility is
Thus, every model's performance increases with its allocated budget on every query, but it improves faster on queries in its specialty. Assume further that the models' outputs are independent conditional on the query. Allocating the entire budget to either model gives the average acceptance probability of:
In contrast, if we allocate to every model, for every query we have that
where the strict inequality follows from the arithmetic–geometric mean inequality. Hence, at the same spend on every query, a diversified portfolio can strictly outperform every single model.
B Proofs
Theorem 1. Finding the optimal arbitrage policy as in Equation (1) is NP-hard.
Proof. We use a standard reduction from Maximum Coverage (MC), which is NP-hard [Karp, 1972]. In MC, given a collection of sets , the objective is to select at most sets such that the number of covered elements of is maximized.
Given an instance of MC, let be a uniform distribution over . For each set , we construct model such that
and we set .
Let be an optimal solution to our problem. Let . Model succeeds deterministically on whenever a budget of at least 1 is assigned to it, and never succeeds outside . Therefore, the portfolio succeeds on exactly when , hence we have that
Now for any such optimal solution to our problem we construct a solution to MC where a set is selected whenever . Note that since each receives at least one unit of budget, .
Conversely, given a solution to MC, we construct a solution to our problem by setting whenever is selected and otherwise. Our utility equals the fraction of elements covered by the selected sets, thus maximizing is equivalent to MC up to the constant factor . Given both directions of the proof, our problem is NP-hard.
Theorem 2. Under Assumption 1, is non-decreasing and jointly concave. If has finite support and each is differentiable, a global optimum exists and is characterized by the KKT conditions. This optimum can be found efficiently using cyclic coordinate-ascent on the Lagrangian.
Proof. We first show that under Assumption 1 the objective is monotone and jointly concave over the budget simplex . As a result, every KKT point is a global optimum.
We start by proving monotonicity and joint concavity. Recall that , and that we can rewrite the objective function in Equation (1) as:
where by assumption, each is non-decreasing and concave, hence, is jointly concave in . Furthermore, is strictly increasing and concave in , and hence the composition is also jointly concave in . Taking expectation preserves concavity, hence, is jointly concave in . Monotonicity is immediate from each being non-decreasing. Since each is differentiable, the portfolio utility for every fixed ,
is continuous in . Since has finite support, is a finite weighted sum of these continuous functions and is therefore continuous. Since is compact, the extreme value theorem guarantees that attains a global maximum on .
The feasible set is convex and described by affine constraints. For , the allocation is strictly feasible, hence Slater's condition holds. Therefore, the KKT conditions are both necessary and sufficient [Boyd and Vandenberghe, 2004]. As a result, a global maximizer is characterized by the existence of such that , and for all ,
In practice, we maximize over using coordinate ascent, sweeping the shadow price over a grid. Refer to Algorithm 1 for pseudocode of the algorithm.
Proposition 1. For a fixed allocation and instance , the order that minimizes queries the models in decreasing order of acceptance probability per expected dollar spent, .
Proof. Consider two models occupying adjacent positions in , reached with common probability (all earlier models failed), and abbreviate and . Their contribution to is if precedes and otherwise. Every position before the pair is unchanged, and every position after the pair sees the same combined survival probability regardless of the pair's internal order, so a swap changes only this pair's contribution. Placing first is weakly better iff , i.e. iff , or equivalently . So by an exchange argument the total cost is minimized by sorting the models in decreasing order of their expected utility per cost on every query.
Theorem 3. Finding a fixed deployment order that minimizes is NP-hard.
Proof. We reduce from minimum-sum set cover. Let be a universe and let be a collection of sets whose union is . For a permutation of the sets, define the cover time of element by
The minimum-sum set-cover problem asks for a permutation minimizing
and is NP-hard [Feige et al., 2004].
Construct a model-ordering instance with one query for every , drawn uniformly, and one model for every set . Set and let model succeed deterministically exactly on the queries contained in :
We interpret the endpoint cases in the survival-function formulation directly. If , then
whereas if , then
For a fixed query , every model preceding the first set containing fails and contributes one unit of cost. The first model whose set contains succeeds and terminates the cascade. Consequently,
Taking the expectation under the uniform query distribution gives
Therefore, an algorithm that computed the optimal model order would also solve minimum-sum set cover. Hence, choosing the cost-minimizing fixed model order is NP-hard.
Theorem 4. Finding an optimal arbitrage policy is NP-hard, even under repeated sampling strategy.
Proof. We use the same reduction from Maximum Coverage as in the general hardness proof. Given sets and a budget of sets, let be uniform over , set , and assign each model unit cost per attempt, . Define its one-shot success probability by
For independent attempts, its success probability is
These deterministic outcomes satisfy conditional independence. Since , a feasible allocation satisfies . Writing , its utility is
Thus every feasible allocation selects at most sets with exactly the same normalized coverage. Conversely, any selection of at most sets is realized by assigning one attempt to each selected model and zero to the others. Repeated attempts on a selected model yield no additional utility. The construction and both mappings are polynomial in the Maximum Coverage input size, so an optimal repeated-sampling allocation yields an optimal Maximum Coverage solution.
C Additional details on utility estimation methods
Sampling strategy to estimate pass@k. An unbiased and stable estimator of pass @k was proposed by Chen et al. [2021]: , where is the total number of attempts of model for query and is the number of successful such attempts; note that the estimator above requires attempts. For large values of , it requires many generations per problem which is costly. Therefore, in the next part we adopt a distributional strategy [Schaeffer et al., 2025, Kazdan et al., 2025] to estimate pass @k.
Distributional strategy to estimate pass@k. Since attempts are i.i.d., pass @k can be written as pass @k = . Hence, to estimate pass @k, it suffices to estimate pass @1. Schaeffer et al. [2025] propose a distributional strategy estimator where they first select a prior distribution on pass @1, they discretize this distribution according to the sampling resolution, and fit the distribution's parameters using MLE under the discretized distribution's PMF. Kazdan et al. [2025] further show that this discretization introduces bias and propose a strategy which does not require discretization.
D Additional experimental details
D.1 Details of the performance-target experiment
We estimate the success probabilities under repeated sampling using the unbiased estimator of Chen et al. [2021] within the recorded attempts and from the empirical Bayes estimator of Section 4 beyond that. For every model-query pair, we find the expected spend under repeated sampling that stops upon success using the survival function . We use the same budget for each query, find the probability that the query is solved using that budget, find the average solve rate over the dataset, and increase the budget until the solve rate reaches the target. Budgets are swept over 600 log-spaced points from to per task.
D.2 Benchmark details
Terminal-Bench 2.o is a benchmark of 88 shared agentic software engineering tasks. Of its submissions, 75 agent-model systems publish per-trial artifacts. We keep the 28 that record either a per-trial dollar cost or usable token counts. Each model-query pair has at most 5 recorded attempts with binary outcomes. We estimate the mean cost per attempt for all model-query pairs using the reported cost per trial when available, and otherwise the recorded input, output, and cached token counts scaled by the LiteLLM price database as of September 2026.
LiveCodeBench [Jain et al., 2025] consists of 73 models on 713 shared problems, however, only 36 models record more than one attempt out of which 10 models are reasoning models which do not record reasoning traces so their token cost is not recoverable. We are hence left with 24 models. Each attempt is treated as a separate request and its input is billed without caching. We
Terminal-Bench 2.0
Terminal-Bench 2.0 leaderboard submission
LiteLLM price database snapshot, September 17, 2026
LiveCodeBench leaderboard submissions use the model-specific tokenizer when publicly available and c1100k_base as a proxy otherwise. In this regard note that Terminal-Bench trials are multi-turn agent runs whose billed context is not recoverable from the stored logs, so systems that report neither cost nor token counts are excluded rather than priced based on proxy tokenizers. Prices are taken from the same dated LiteLLM and OpenRouter snapshots as Terminal-Bench; historical list prices are used for models absent from both snapshots.
Terminal-Bench 4.0 provides 12 agent-model systems on 66 shared tasks with 5 recorded attempts per (system, task). Here the leaderboard records the dollar cost of every attempt directly, so no token pricing is needed; one submission whose attempts all report a cost of zero is excluded, as a free arm would be infinitely cheap to the arbitrageur.
DeepSWE provides 70 (model, reasoning-effort) configurations of 28 base models run under a common agent harness on 111 shared software-engineering tasks, with 4 attempts per pair (a handful of pairs have fewer) and a recorded dollar cost per attempt. As in the main text, every configuration is a distinct arm.
For all benchmarks, we treat each distinct agent-model pair or model-reasoning-effort configuration as a separate model.
D.3 Experimental details of utility curve estimation
For the Monkey Business benchmarks [Brown et al., 2024], the dollar cost of an attempt is not available so we use the number of FLOPs of one generation as the compute proxy which is calculated as the model's parameter count times the mean number of tokens it generates for that question [Kaplan et al., 2020]. The AIME 2024–2025, Global-MMLU-Lite and MMLU-Pro data are the test-time scaling experiments of Truong et al. [2026]: we take the outcomes from their response tensor and the length of every response from the accompanying per-response release, which records the number of generated tokens. We price an attempt on a question at the model's active parameter count times the mean number of tokens it generates on that question.
We report the estimation error of our method on the MMLU benchmarks in Figure 7, complementing the four benchmarks in Figure 5, and repeat the evaluation of Figure 6 on Global-MMLU-Lite [Singh et al., 2025] and MMLU-Pro [Wang et al., 2024b]. Results are in Figure 8. For both, we use the 30 questions per benchmark and the 2,500 recorded binary attempts per model-question pair released by Truong et al. [2026] for 12 open-weight reasoning models. As these models are self-hosted, the per-attempt cost is the compute proxy above. Note that only the cost ratios matter to the arbitrageur since scaling every cost by the same constant rescales the budget without changing the allocation.
c1100k_base BPE tokenizer
Terminal-Bench 4.0 leaderboard
DeepSWE v1.1 public trials
https://huggingface.co/datasets/stair-lab/irsl_testtime_resmat2
https://huggingface.co/datasets/stair-lab/denoise_eval_query

Figure 7: Our estimator consistently outperforms the plug-in estimator. Distribution over 100 random calibration draws of the paired gap in pass@k RMSE against the oracle reference, averaged over models and , with attempts per query-model pair, on Global-MMLU-Lite and MMLU-Pro; the two estimators are fitted on the same subsample of each draw. The dashed line marks no difference; mass to its right means our estimator is more accurate on that draw, and the annotation gives the share of such draws. The gap is positive on every draw on all benchmarks showing that our estimator consistently has lower RMSE than the plug-in estimator.

Figure 8: An arbitrageur using our estimation method tracks the solve rate of an arbitrageur using the oracle utility curves which are calculated using several orders of magnitude more data. On each of the MMLU benchmarks, we subsample attempts per query-model pair, re-estimate the utility curves, run the arbitrage on the estimates and plot the achieved solve rate; the oracle uses all the 2,500 recorded attempts and is the diagonal. For each oracle solve rate we find the budget that the oracle needs to achieve that solve rate and use the same budget for the other methods.