CoIn: Counting the Invisible Reasoning Tokens in Commercial Opaque LLM APIs
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
As post-training techniques evolve, large language models (LLMs) are increasingly augmented with structured multi-step reasoning abilities, often optimized through reinforcement learning. These reasoning-enhanced models outperform standard LLMs on complex tasks and now underpin many commercial LLM APIs. However, to protect proprietary behavior and reduce verbosity, providers typically conceal the reasoning traces while returning only the final answer. This opacity introduces a critical transparency gap: users are billed for invisible reasoning tokens, which often account for the majority of the cost, yet have no means to verify their authenticity. This opens the door to token count inflation, where providers may overreport token usage or inject synthetic, low-effort tokens to inflate charges. To address this issue, we propose CoIn, a verification framework that audits both the quantity and semantic validity of hidden tokens. CoIn constructs a verifiable hash tree from token embedding fingerprints to check token counts, and uses embedding-based relevance matching to detect fabricated reasoning content. Experiments demonstrate that CoIn, when deployed as a trusted third-party auditor, can effectively detect token count inflation with a success rate reaching up to 94.7%, showing the strong ability to restore billing transparency in opaque LLM services. The dataset and code are available at https://github.com/CASE-Lab-UMD/LLM-Auditing-CoIn.
Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 23 of its 35 references that are in the map. First posted on arXiv 19 May 2025.
Builds on
23 of 35 references.
Closest ancestors · 4
Same direction, newest first
- 2025Understanding Aha Moments: from External Observations to Internal Mechanisms3 Apr
- 2025LightThinker: Thinking Step-by-Step Compression21 Feb
- 2025s1: Simple test-time scaling31 Jan
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters6 Aug
Other references · 19
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2024OpenAI o1 System Cardcited by 1,244
- 2022PAL: Program-aided Language Modelscited by 652
- 2024LLMs-as-Judges: A Comprehensive Survey on LLM-based Evaluation Methodscited by 465
- 2023LLM-Adapters: An Adapter Family for Parameter-Efficient Fine-Tuning of Large Language Modelscited by 324
- 2024HuatuoGPT-o1, Towards Medical Complex Reasoning with LLMscited by 265
- 2024The Impact of Reasoning Step Length on Large Language Modelscited by 153
- 2025LLM Post-Training: A Deep Dive into Reasoning Large Language Modelscited by 135
7 more
- 2025Auditing language models for hidden objectivescited by 83
- 2024LLM Pruning and Distillation in Practice: The Minitron Approachcited by 82
- 2024LLM Reasoners: New Evaluation, Library, and Analysis of Step-by-Step Reasoning with Large Language Modelscited by 70
- 2023Pairwise Proximal Policy Optimization: Harnessing Relative Feedback for LLM Alignmentcited by 57
- 2025Are You Getting What You Pay For? Auditing Model Substitution in LLM APIscited by 38
- 2025CALM: Curiosity-Driven Auditing for Large Language Modelscited by 6
- 2025Trust, but verifycited by 2
Built on by
Citing papers per year: 2025: 6; 2026: 8.
14 papers.
Sort:
By area:
- 2025Is Your LLM Overcharging You? Tokenization, Transparency, and Incentivescited by 13
- 2025Predictive Auditing of Hidden Tokens in LLM APIs via Reasoning Length Estimationcited by 7
- 2025Auditing Pay-Per-Token in Large Language Modelscited by 4
- 2026Test-Time Compute Gamescited by 4
- 2026IMMACULATE: A Practical LLM Auditing Framework via Verifiable Computationcited by 3
- 2026Your "Pro" LLM Subscription May Actually Be "Free": Exposing Fingerprint Spoofing Risks in LLM Inference Servicescited by 3
- 2026Resource Consumption Threats in Large Language Modelscited by 2
- 2025RRTL: Red Teaming Reasoning Large Language Models in Tool Learningcited by 1
- 2025TRUST: A Decentralized Framework for Auditing Large Language Model Reasoningcited by 1
- 2026Token Inflation: How Dishonest Providers Can Overcharge for Large Language Model Usagecited by 1
- 2025Tokenization Multiplicity Leads to Arbitrary Price Variation in LLM-as-a-servicecited by 0
- 2026Computational Challenges in Token Economics: Bridging Economic Theory and AI System Designcited by 0
2 more
- 2026Paying for Too Many Tokens? Valid and Cost-Efficient Multimodal LLM Annotation with Simple Heuristics30 Sep 2026
- 2026Strategic Self-Consistency24 Sep 2026
- 2026Your "Pro" LLM Subscription May Actually Be "Free": Exposing Fingerprint Spoofing Risks in LLM Inference Services15 Jun 2026
- 2026Token Inflation: How Dishonest Providers Can Overcharge for Large Language Model Usage28 May 2026
- 2026Computational Challenges in Token Economics: Bridging Economic Theory and AI System Design17 May 2026
- 2026Resource Consumption Threats in Large Language Models17 Mar 2026
- 2026IMMACULATE: A Practical LLM Auditing Framework via Verifiable Computation26 Feb 2026
- 2026Test-Time Compute Games29 Jan 2026
- 2025TRUST: A Decentralized Framework for Auditing Large Language Model Reasoning23 Oct 2025
- 2025Auditing Pay-Per-Token in Large Language Models5 Oct 2025
- 2025Predictive Auditing of Hidden Tokens in LLM APIs via Reasoning Length Estimation29 Jul 2025
- 2025Tokenization Multiplicity Leads to Arbitrary Price Variation in LLM-as-a-service6 Jun 2025
2 more
- 2025Predictive Auditing of Hidden Tokens in LLM APIs via Reasoning Length Estimationcited by 7
- 2026Test-Time Compute Gamescited by 4
- 2025RRTL: Red Teaming Reasoning Large Language Models in Tool Learningcited by 1
- 2025TRUST: A Decentralized Framework for Auditing Large Language Model Reasoningcited by 1
- 2026Strategic Self-Consistencycited by 0
- 2026Strategic Self-Consistency24 Sep 2026
- 2026Test-Time Compute Games29 Jan 2026
- 2025TRUST: A Decentralized Framework for Auditing Large Language Model Reasoning23 Oct 2025
- 2025Predictive Auditing of Hidden Tokens in LLM APIs via Reasoning Length Estimation29 Jul 2025
- 2025RRTL: Red Teaming Reasoning Large Language Models in Tool Learning21 May 2025
- 2025Is Your LLM Overcharging You? Tokenization, Transparency, and Incentivescited by 13
- 2025Auditing Pay-Per-Token in Large Language Modelscited by 4
- 2026IMMACULATE: A Practical LLM Auditing Framework via Verifiable Computationcited by 3
- 2026Your "Pro" LLM Subscription May Actually Be "Free": Exposing Fingerprint Spoofing Risks in LLM Inference Servicescited by 3
- 2026Resource Consumption Threats in Large Language Modelscited by 2
- 2026Token Inflation: How Dishonest Providers Can Overcharge for Large Language Model Usagecited by 1
- 2025Tokenization Multiplicity Leads to Arbitrary Price Variation in LLM-as-a-servicecited by 0
- 2026Computational Challenges in Token Economics: Bridging Economic Theory and AI System Designcited by 0
- 2026Your "Pro" LLM Subscription May Actually Be "Free": Exposing Fingerprint Spoofing Risks in LLM Inference Services15 Jun 2026
- 2026Token Inflation: How Dishonest Providers Can Overcharge for Large Language Model Usage28 May 2026
- 2026Computational Challenges in Token Economics: Bridging Economic Theory and AI System Design17 May 2026
- 2026Resource Consumption Threats in Large Language Models17 Mar 2026
- 2026IMMACULATE: A Practical LLM Auditing Framework via Verifiable Computation26 Feb 2026
- 2025Auditing Pay-Per-Token in Large Language Models5 Oct 2025
- 2025Tokenization Multiplicity Leads to Arbitrary Price Variation in LLM-as-a-service6 Jun 2025
- 2025Is Your LLM Overcharging You? Tokenization, Transparency, and Incentives27 May 2025
Similar, not cited
Close in wording, no citation either way
- 2025Invisible Tokens, Visible Bills: The Urgent Need to Audit Hidden Operations in Opaque LLM Services
- 2025Token-by-Token Regeneration and Domain Biases: A Benchmark of LLMs on Advanced Mathematical Problem-Solving
- 2026One-Token Verification for Reasoning Correctness Estimation
- 2026Reading Between the Dots: Decoding Hidden Computation across Filler Tokens
- 2025OckBench: Measuring the Efficiency of LLM Reasoning
- 2026Not All LLM Reasoning is Visible in the Chain-of-Thought
- 2024Critical Tokens Matter: Token-Level Contrastive Estimation Enhances LLM's Reasoning Capability
- 2026On the Token Value Inequality in Efficient Reasoning