Test-Time Compute Games

Ander Artola Velasco, Giuseppe Casalicchio, Stratis Tsirtsis, Manuel Gomez-Rodriguez

Abstract

Test-time compute (TTC) has emerged as a promising strategy to enhance the reasoning abilities of large language models (LLMs). However, this strategy has in turn increased how much users pay cloud-based providers offering LLM-as-a-service, since providers charge users for the amount of test-time compute they use to generate an output. In our work, we show that the market of LLM-as-a-service is socially inefficient: providers have a financial incentive to increase the amount of test-time compute, even if this increase contributes little to the quality of the outputs. To address this inefficiency, we introduce a reverse second-price auction mechanism where providers bid their offered price and (expected) quality for the opportunity to serve a user, and users pay proportionally to the marginal value generated by the winning provider relative to the second-highest bidder. To illustrate and complement our theoretical results, we conduct experiments with multiple instruct models from the $\texttt{Llama}$ and $\texttt{Qwen}$ families, as well as reasoning models distilled from $\texttt{DeepSeek-R1}$, on math and science benchmark datasets.

Introduction

As Large Language Models (LLMs) are increasingly deployed for complex reasoning tasks, techniques such as Chain-of-Thought (CoT) and "best-of-n" sampling—collectively referred to as test-time compute (TTC)—have become standard. While these methods significantly improve model performance, they also increase the computational cost and, consequently, the price paid by users in the prevailing "pay-per-token" market model. This paper investigates the strategic interactions between LLM providers and users, revealing a fundamental misalignment of incentives that leads to social inefficiency.

The Inefficiency of Current LLM Markets

In the current LLM-as-a-service landscape, providers are incentivized to maximize their revenue by increasing the volume of tokens generated. This creates a conflict: a provider may opt for a high-TTC mode to boost profits, even when a lower-compute option would provide sufficient accuracy for the user's needs. We model this interaction as a game where providers select TTC levels to maximize profit, often resulting in a "socially inefficient" outcome where resources are over-allocated relative to the value they provide.

Our analysis shows that competition does not necessarily resolve this waste. In fact, to capture market share from a competitor, a provider might switch to an even higher TTC mode that offers marginal accuracy gains at a disproportionately high cost to the user. This "Price of Anarchy" (PoA) can lead to market inefficiencies as high as 19%.

Modeling User Choice and Market Dynamics

To quantify these effects, we model the market as a normal-form game and analyze provider behavior under two distinct models of user rationality. In the "Perfect Rationality" model, users are assumed to always select the provider offering the maximum net value. In the "Bounded Rationality" model, users choose providers probabilistically based on the offered value, typically modeled using a softmax function.

We demonstrate that these TTC games belong to the class of "potential games," which guarantees the existence of and convergence to a stable Nash equilibrium. This theoretical foundation allows us to simulate how providers adjust their strategies in response to market competition.

A Socially Optimal Auction Mechanism

To rectify the identified inefficiencies, we propose a novel reverse second-price auction mechanism. In this framework, providers submit bids consisting of their offered price and expected quality (e.g., accuracy). The platform then selects the provider that maximizes the quality-to-price tradeoff. Crucially, the winning provider's payment is tied to the marginal value they provide over the second-best bidder. We mathematically prove that this mechanism is socially optimal, aligning provider incentives with the maximization of total social welfare (the sum of user value and provider profit).

Experimental Evaluation and Results

We evaluated our theoretical framework using empirical data from several LLM families, including Llama-3, Qwen-2.5, and reasoning models distilled from DeepSeek-R1. These models were tested on STEM benchmarks such as GSM8K, GPQA, and AIME.

By implementing the proposed auction mechanism, we observed substantial gains in our simulations:

  • Social Welfare: Increased by 25% for non-reasoning models.
  • User Value: Improved by 29% as compute allocation became more efficient.
  • Reasoning Models: While specialized reasoning models showed lower baseline inefficiency (~0.6%), the auction mechanism still provided benefits by constraining the strategy space toward optimal compute usage.

Conclusion and Future Work

This work demonstrates that the current token-based pricing for LLMs leads to systematic over-allocation of test-time compute. Our proposed auction mechanism offers a path toward a more efficient market. However, several challenges remain for real-world implementation, including the need for accurate quality estimation on novel tasks, the influence of non-price factors like latency and reputation, and potential vulnerabilities to provider collusion. Future research should address these practical considerations to build more robust and equitable LLM-as-a-service ecosystems.

Summary updated

BibTeX
@inproceedings{velasco2026test,
  author = {Ander Artola Velasco and Giuseppe Casalicchio and Stratis Tsirtsis and Manuel Gomez-Rodriguez},
  title = {{Test-Time Compute Games}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=bS1tznbzuA},
}
Figure