arXiv:2610.40831cs.AIOct 2026

Manuscript Offprint

arXiv:2610.40831

Circumventing the Computational Hardness of Computational Arbitrage

Nastaran Okati, Ricardo Olmedo, Moritz Hardt

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 60;reaching7060; reaching 70% can cost from roughly10 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

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).¹

References (70)