Is Your LLM Overcharging You? Tokenization, Transparency, and Incentives
Ander Artola Velasco, Stratis Tsirtsis, Nastaran Okati, Manuel Gomez-Rodriguez
Overview
As generative artificial intelligence moves from research labs to ubiquitous commercial infrastructure, the economic models underpinning large language model (LLM) deployment face unprecedented scrutiny. At the heart of the current commercial landscape is the pay-per-token billing standard, where users are charged directly for the number of discrete tokens generated during autoregressive inference. In this ICML talk, Ander Artola Velasco and co-authors question the mathematical and economic foundations of this standard. They demonstrate that the inherent multiplicity of valid tokenizations for any given text string introduces a severe information asymmetry between users and model providers, setting the stage for economic moral hazard.

Key moments
- 0:00 Introduction and the pay-per-token standard
- 2:00 Moral hazard and tokenization manipulation
- 3:58 Plausible tokenizations and NP-hardness
- 5:30 Heuristics and reversing BPE tokenizers
- 6:48 Experimental results on overcharging users
- 9:10 Incentive compatibility and pay-per-character pricing
Is Your LLM Overcharging You? Tokenization, Transparency, and Incentives
Speakers: Ander Artola Velasco; Stratis Tsirtsis; Nastaran Okati; Manuel Gomez-Rodriguez
Conference: ICML
YouTube: https://slideslive.com/39083606
Overview
As generative artificial intelligence moves from research labs to ubiquitous commercial infrastructure, the economic models underpinning large language model (LLM) deployment face unprecedented scrutiny. At the heart of the current commercial landscape is the pay-per-token billing standard, where users are charged directly for the number of discrete tokens generated during autoregressive inference. In this ICML talk, Ander Artola Velasco and co-authors question the mathematical and economic foundations of this standard. They demonstrate that the inherent multiplicity of valid tokenizations for any given text string introduces a severe information asymmetry between users and model providers, setting the stage for economic moral hazard.
The core investigation centers on whether LLM providers can exploit this ambiguity. Because autoregressive models generate probability distributions over a vocabulary rather than predetermined character sequences, multiple valid token sequences can encode the exact same underlying text. The speakers reveal that unfaithful providers can strategically manipulate these tokenizations—lengthening the reported token sequence to inflate user bills—while remaining entirely hidden behind opaque inference APIs. This work bridges machine learning systems design with microeconomic theory, evaluating the computational feasibility of token manipulation and proposing alternative pricing mechanisms to restore incentive compatibility.
Understanding these dynamics is vital for infrastructure teams, enterprise procurers, and model deployers. As token consumption scales across industries, ensuring transparency in billing becomes as critical as optimizing inference latency or throughput. This talk exposes how software-level representation choices directly impact financial transactions, offering both a diagnosis of current market vulnerabilities and a rigorous theoretical blueprint for reform.
Background
▶ Watch: Introduction and the pay-per-token standard (0:00)
The economic engine of modern generative AI relies on inference-as-a-service APIs, where billing is tied to discrete units of computation and representation: tokens. In an autoregressive decoding loop, a model hosted on hardware accelerators computes a probability distribution over its vocabulary, samples a token, appends it to the context window, and repeats the process. However, text encoding is mediated by subword tokenizers (such as Byte-Pair Encoding or BPE), which means a single continuous string can often be represented by multiple valid sequences of token IDs.
In standard API interactions, the user is entirely oblivious to the raw generation trajectory. They receive only the final text string alongside a reported token count and, occasionally, log probabilities. This opacity creates an information asymmetry. In economics, when one party can take hidden actions that benefit themselves at the expense of another, it triggers a moral hazard.
Prior work in systems and machine learning has focused intensely on optimizing inference speed—through techniques like speculative decoding, quantization, and kernel fusion—and reducing memory footprints via KV-cache management. Yet, little attention has been paid to the economic incentives governing how inference results are reported to the end user. This paper bridges that gap, examining whether the degrees of freedom inherent in tokenization algorithms can be weaponized for financial gain by unfaithful providers seeking to artificially inflate billable output lengths.
Key Findings
▶ Watch: Plausible tokenizations and NP-hardness (3:58)
The authors establish several foundational results regarding the computational complexity, exploitability, and economic viability of token manipulation:
- NP-Hardness of Optimal Manipulation: Finding the absolute longest plausible tokenization that maximizes provider utility without raising user suspicion is proven to be an NP-hard problem.
- Efficacy of Heuristic Exploitation: Despite theoretical intractability, simple, efficient heuristics that reverse BPE merging steps allow unfaithful providers to consistently discover significantly longer plausible tokenizations.
- Substantial Overcharging: Empirical evaluations using Llama model families demonstrate that strategic token manipulation can overcharge users by up to 10 additional tokens per sequence, depending on the decoding parameters.
- Economic Profitability: Accounting for the computational overhead (model forward passes) required to verify token plausibility, unfaithful providers can still achieve a net increase in utility, particularly in competitive markets with low profit margins or high stochasticity.
- The Pay-Per-Character Solution: Under linear pricing mechanisms, the only way to achieve incentive compatibility—ensuring the provider's optimal strategy is to faithfully report the true model-generated tokenization—is to price services strictly per character.
Technical Deep Dive
▶ Watch: Heuristics and reversing BPE tokenizers (5:30)
The technical core of the paper investigates the mechanics of tokenization multiplicity and the algorithmic policies an unfaithful provider can deploy. Formally, given a target string generated during autoregressive inference, multiple sequences of tokens $\{t_1, t_2, \dots, t_k\}$ can decode to the exact same text.
To avoid user suspicion, a rational provider cannot output arbitrary low-probability tokens. The authors formalize plausibility by requiring that every reported token at position $i$ belongs to the top-$p$ set of most likely tokens under the model's predictive distribution for that step, governed by a given top-$p$ sampling threshold. As the top-$p$ value increases, the plausibility threshold becomes less restrictive, permitting a broader set of tokens and widening the search space for manipulation.
To bypass the NP-hardness of finding the global optimum, the authors analyze a family of reporting policies that systematically reverse the operations of a BPE tokenizer. The algorithm proceeds through the following structured phases:
- Token Index Selection: The policy identifies the token in the generated sequence with the highest index.
- String Enumeration: It isolates the corresponding substring and enumerates all valid two-token decompositions of that string.
- Plausibility-Oriented Filtering: It selects the decomposition maximizing the minimum index (to preserve high token probabilities) and substitutes the original token.
- Iterative Refinement and Verification: The policy iterates this splitting process for a fixed number of steps, runs a model forward pass to compute token probabilities, and verifies whether the resulting sequence satisfies the top-$p$ plausibility constraint. If valid, the manipulated sequence is reported; otherwise, the original sequence is retained.
Experimental Setup & Results
▶ Watch: Experimental results on overcharging users (6:48)
The empirical evaluation uses the Llama model family to quantify both the mechanical impact on token lengths and the resulting economic utility for providers.
The experiments explore varying top-$p$ sampling values, represented across different curve colors in the evaluation plots. Higher top-$p$ values widen the acceptable probability window, directly increasing the success rate of the misreporting policy.
- Token Count Inflation: When applying the BPE-reversal heuristics over a varying number of iteration steps, the percentage of overcharged tokens scales significantly. Under permissive sampling conditions, users experience inflation of up to 10 additional tokens per generation.
- Plausibility Tradeoffs: As the number of splitting iterations increases, individual tokens become smaller and statistically less probable, causing the overall sequence plausibility to decay. Providers must balance the depth of the manipulation heuristic against the probability of triggering user suspicion.
- Utility Gains: By balancing the expected financial gains from overcharging against the computational energy cost of running model forward passes for plausibility verification, the authors demonstrate positive net utility gains for providers. These gains are especially pronounced when per-token profit margins are thin, incentivizing providers in hyper-competitive markets to adopt such reporting policies.
Practical Implications
▶ Watch: Incentive compatibility and pay-per-character pricing (9:10)
These findings carry profound implications for infrastructure teams, enterprise procurers, and AI marketplace designers:
- Vulnerability in API Transparency: Enterprise users relying on commercial LLM APIs have no native mechanism to verify whether their reported token counts reflect true inference dynamics or post-processed manipulations.
- The Case for Architectural Reform: The proof that pay-per-token pricing inherently invites moral hazard suggests that cloud providers and API aggregators must rethink billing architectures. Transitioning to pay-per-character pricing removes the financial incentive for token manipulation entirely, as the price remains invariant to how the underlying text is tokenized.
- Cross-Lingual Disparities: Moving toward character-based pricing introduces secondary considerations, notably how different languages consume compute versus character length due to tokenizer efficiency disparities across multilingual corpora.
- Regulatory and Auditing Needs: Until structural pricing reforms are adopted, enterprise buyers may require independent auditing tools, standardized logging of raw logits, or verifiable inference proofs to ensure billing integrity.
Key Takeaways
- Tokenization Ambiguity: Autoregressive models can generate multiple valid token sequences for the exact same text, creating an structural information asymmetry between users and providers.
- Inherent Moral Hazard: The standard pay-per-token billing model incentivizes unfaithful providers to deploy hidden post-processing policies that artificially lengthen reported token counts.
- Computational Feasibility: While finding the optimal manipulation is NP-hard, simple BPE-reversal heuristics allow providers to successfully inject longer plausible tokens without violating top-$p$ thresholds.
- Economic Profitability: Even after accounting for the computational cost of model forward passes to verify plausibility, token manipulation yields net financial gains, particularly in low-margin markets.
- The Incentive-Compatible Fix: Linear pricing mechanisms fail to prevent moral hazard unless billing shifts from a pay-per-token standard to a pay-per-character model.
About the Speaker(s)
- Ander Artola Velasco: Speaker who presented on tokenization, cost transparency, and incentives in LLM pricing models.
Co-authors: Stratis Tsirtsis, Nastaran Okati, Manuel Gomez-Rodriguez.
Reviews
→ Top-rated talks at International Conference on Machine Learning 2026
All talks from International Conference on Machine Learning 2026