mlsanityData to 14 Oct 2026

Auditing Pay-Per-Token in Large Language Models

arXiv 2510.05181 ↗First posted 5 Oct 2025cs.CR cs.AI cs.CYcited by 4

Not on the map. Why?

Abstract (arXiv)

Millions of users rely on a market of cloud-based services to obtain access to state-of-the-art large language models. However, it has been very recently shown that the de facto pay-per-token pricing mechanism used by providers creates a financial incentive for them to strategize and misreport the (number of) tokens a model used to generate an output. In this paper, we develop an auditing framework based on martingale theory that enables a trusted third-party auditor who sequentially queries a provider to detect token misreporting. Crucially, we show that our framework is guaranteed to always detect token misreporting, regardless of the provider's (mis-)reporting policy, and not falsely flag a faithful provider as unfaithful with high probability. To validate our auditing framework, we conduct experiments across a wide range of (mis-)reporting policies using several large language models from the textttLlama, textttGemma and textttMinistral families, and input prompts from a popular crowdsourced benchmarking platform. The results show that our framework detects an unfaithful provider after observing fewer than ~ 70 reported outputs, while maintaining the probability of falsely flagging a faithful provider below α = 0.05.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 35 of its 50 references that are in the map. First posted on arXiv 5 Oct 2025.

Builds on

35 of 50 references.

References · 35

  1. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  2. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  3. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,986
  4. 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 1,006
  5. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 632
  6. 2023LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Datasetcited by 461
  7. 2023Language Model Tokenizers Introduce Unfairness Between Languagescited by 214
  8. 2020Byte Pair Encoding is Suboptimal for Language Model Pretrainingcited by 192
  9. 2023From Words to Watts: Benchmarking the Energy Costs of Large Language Model Inferencecited by 170
  10. 2024Hypothesis testing with e-valuescited by 74
  11. 2023Tricking LLMs into Disobedience: Formalizing, Analyzing, and Detecting Jailbreakscited by 49
  12. 2025Are You Getting What You Pay For? Auditing Model Substitution in LLM APIscited by 38
23 more
  1. 2021Nonparametric Two-Sample Testing by Bettingcited by 37
  2. 2023A Formal Perspective on Byte-Pair Encodingcited by 36
  3. 2022E-detectors: a nonparametric framework for sequential change detectioncited by 32
  4. 2021You should evaluate your language model on marginal likelihood over tokenisationscited by 30
  5. 2024Where is the signal in tokenization space?cited by 21
  6. 2025Fast Controlled Generation from Language Models with Adaptive Weighted Rejection Samplingcited by 21
  7. 2023Should you marginalize over possible tokenizations?cited by 18
  8. 2023Fine-Tuning Games: Bargaining and Adaptation for General-Purpose Modelscited by 17
  9. 2023Tokenization Matters: Navigating Data-Scarce Tokenization for Gender Inclusive Language Technologiescited by 16
  10. 2024Scaffold-BPE: Enhancing Byte Pair Encoding for Large Language Models with Simple and Effective Scaffold Token Removalcited by 16
  11. 2024Counterfactual Token Generation in Large Language Modelscited by 14
  12. 2025CoIn: Counting the Invisible Reasoning Tokens in Commercial Opaque LLM APIscited by 14
  13. 2024On the Proper Treatment of Tokenization in Psycholinguisticscited by 13
  14. 2023Online multiple testing with e-valuescited by 12
  15. 2025Instance-Log-Optimality of Portfolio-Based E-Processes and their Sequential Hypothesis Testscited by 12
  16. 2025Adversarial Tokenizationcited by 11
  17. 2023Language Models as a Service: Overview of a New Paradigm and its Challengescited by 10
  18. 2024Incentivizing Quality Text Generation via Statistical Contractscited by 10
  19. 2024Pricing and Competition for Generative AIcited by 8
  20. 2025Predictive Auditing of Hidden Tokens in LLM APIs via Reasoning Length Estimationcited by 7
  21. 2025Robust ML Auditing using Prior Knowledgecited by 6
  22. 2024LBPE: Long-token-first Tokenization to Improve Large Language Modelscited by 5
  23. 2024Cloud Platforms for Developing Generative AI Solutions: A Scoping Review of Tools and Servicescited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.