arXiv:2610.02491cs.AIOct 2026

Manuscript Offprint

arXiv:2610.02491

What Does a Token Cost? A Mixture-of-Agents Measurement of Sufficient Per-Token Compute

Zhixu Du, Weijia Han, Hai Helen Li, Yiran Chen

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

Abstract

Large language models spend the same amount of computation on every token they generate, regardless of how difficult each token is to produce. Methods such as speculative decoding and model routing are built on the premise that much of this computation is unnecessary, yet the computation an individual token actually requires has not been measured. We measure it through a Mixture-of-Agents (MoA) lens: a panel of fifteen language models of increasing capacity, drawn from three families, in which every agent attempts to reproduce a reference sequence token by token, conditioned on the correct preceding tokens. We define the inference cost of the smallest agent that succeeds as the token's sufficient compute, which upper-bounds what the token requires. On three core benchmarks, a 0.5B agent reproduces 92–95% of reference tokens. Across Qwen, OLMo, and R1-distilled panels, the most expensive 10% account for 64–80% of estimated FLOPs. On all 500 MATH-500 problems, the MoA-derived map helps model routing reduce projected latency from 7.59 to 5.12 seconds while slightly improving accuracy, relative to the best confidence-routing baseline. The MoA-map helps drafting use 32.6% fewer draft tokens and approximately 20% lower projected latency than fixed-window drafting at similar accuracy. These comparisons reveal remaining allocation headroom, motivating controllers that exploit sufficient-compute structure.

1. Introduction

Large language models (LLMs), such as the GPT series, have made a great impact for tasks ranging from writing to programming [7, 1]. Their adoption produces recurring computational expense at a large scale: by July 2025, ChatGPT alone received more than 2.5 billion user messages per day [11]. Therefore, efficiently serving these requests is becoming critical [45, 30]. One approach to reducing this computational cost is to use only as much computation as is necessary. Speculative decoding lets a small model propose several tokens for a larger model to verify together [32, 12]. Model cascades and routers choose among models according to the input [13, 44], while collaborative decoding makes that choice within a response [52, 20]. Adaptive-depth methods similarly vary the layers evaluated for each prediction [50, 49]. These approaches exploit the possibility that a cheaper computation can supply a useful prediction. Their gains depend on how often this is possible. However, running the model alone does not reveal when less computation would have been sufficient.

This motivates our central question: How much computation is sufficient for each token in a successful response? A response-level accuracy or cost average hides where that computation is needed. Even a high agreement rate between a small and a large model leaves open how much computation the remaining disagreements

*Correspondence E-mail: [zhixu.du@duke.edu]

Figure

(a) Which models reproduce each reference token?

Figure

(b) The 0.5B model reproduces most tokens

Fig. 1: Measuring which model suffices at each token. (a) Each column is a token from a GSM8K response. Every model receives the same reference prefix; green cells reproduce the next token and outlines mark the smallest matching model. (b) Within the Qwen2.5 family, the 0.5B model reproduces 91.9–95.2% of tokens. The “unresolved” means that none matches.

require. Existing measurements of oracle module allocation, small/large-model disagreement, and learned layer use establish that computation can vary within a response [2, 61, 37]. We measure this variation by identifying, for each token, the smallest model that can successfully reproduce it. We then examine whether this token-level information can improve existing efficient serving methods.

Mixture-of-Experts (MoE) has been widely known, which selects subnetworks inside a model [51, 19]. Mixture-of-Agents (MoA) combines different language models, either through response aggregation [56] or through agent selection during decoding [9, 62]. Our measurement uses token-level MoA. Given a reference sequence, we query a panel of fifteen models from Qwen2.5, OLMo-2, and DeepSeek-R1-Distill-Qwen at each token. The FLOPs of the cheapest agent whose prediction matches the next token are that token's sufficient compute. A successful agent supplies an observed upper bound on the computation cost of that token.

Figure 1 provides an overview of our measurement. Within the Qwen2.5 panel, the 0.5B agent reproduces 91.9–95.2% of reference tokens on GSM8K, MATH-500, and HumanEval. The remaining tokens are few but expensive. In all three panels, the most expensive 10% of tokens account for 64–80% of estimated FLOPs. Families also agree on which positions are expensive. After controlling for surprisal and position, the reproduction orderings of Qwen2.5, OLMo-2, and Falcon3 families have pairwise partial rank correlations of 0.32–0.48. This agreement makes the map informative beyond the behavior of a single model family. Details will be discussed in Section 4.1.

We then ask whether this map would help existing methods allocate computation. On all 500 MATH-500 problems, we give a routing controller and a speculative-decoding controller oracle access to the map of 0.5B agreement along a 72B reference response. Routing to 0.5B at positions the map marks as reproducible reaches 69.6% accuracy at a projected latency of 5.12 seconds, compared with 68.4% and 7.59 seconds for the best confidence-threshold cascade. Setting each draft length to the map's run of reproducible positions proposes 32.6% fewer draft tokens than a fixed 16-token window and lowers projected latency by about 20% at similar accuracy. Our contributions can be summarized as:

  1. We formalize sufficient compute through token-level MoA and introduce a panel-based method for measuring it along verified responses.

  2. We show that a sparse tail of tokens carries most of the estimated compute and that three families share a reproduction ordering.

  3. We evaluate how routing and speculative decoding exploit the measurement. Both improve projected efficiency at comparable accuracy over baselines. The difference is allocation headroom that current controllers leave unrealized.

In this paper, we first define sufficient compute (Section 2) and derive a token-level MoA procedure for measuring it (Section 3). The experiments then examine where compute is concentrated, whether cheap reproduction supports continued generation, and how existing efficiency methods exploit this information (Section 4). Section 5 places our study in the context of prior work. Section 6 discusses the implications and limitations of our findings, and Section 7 concludes the paper.

References (56)