Skip to content

Study reveals that LLM per-token billing can be systematically over-reported by providersToken Inflation: How Dishonest Providers Can Overcharge for Large Language Model Usage

Paper Tracker· arXiv:2605.30040· NeurIPS 2026· Shahinul Hoque, Jinghuai Zhang, Jinyuan Sun, Fnu Suya·Indexed by this site · 2026-10-08· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors attack CoIn, PALACE, and martingale audits, stating that CoIn passes with 1469.0% average inflation from whole-segment repetition.

Threat modelA financially motivated dishonest provider operates an end-to-end opaque LLM service, aiming to inflate reported token counts and pass audit. It runs the model, tokenization, generates hidden reasoning R, formats answers, and issues bills; PALACE's auxiliary data is also controlled by it. Users typically see only the prompt, answer, and bill; some deployments show reasoning text.

Questions
Commercial LLMs charge per token, but providers hide the model, tokenizer, and execution, so audits can only check self-reported evidence. Inflation on hidden reasoning is therefore difficult for users to verify directly.
Methods
Authors attack CoIn, PALACE, and martingale audit on visible reasoning respectively: reusing or generating reasoning blocks, rewriting answers or poisoning auxiliary data, selectively overreporting and using small underreporting to expand slack.
Experiments and results
On CoIn, full-segment repetition average inflation 1469.0% is still accepted by both validators; PALACE backdoor average inflation 247.16% on triggered samples; compensation offset total inflation 50.85% with visible reasoning and below threshold.
Limitations and future work
Authors state results target existing auditors rather than impossibility, inflation rates may vary with deployment, and they only motivate, not provide, verification independent of the provider. Experiments cover the three frameworks in the paper and listed public reasoning data, and do not evaluate deployed commercial services.
Experimental setupPALACE domain-adapted auditor、all-MiniLM-L6-v2 et al. · Glaive reasoning-v1-20m、Medical-R1-Distill-Data et al. · InflationPercent、mean inflation et al.
Evaluated models
PALACE domain-adapted auditorall-MiniLM-L6-v2all-mpnet-base-v2all-distilroberta-v1
Benchmarks
Glaive reasoning-v1-20mMedical-R1-Distill-DataOpenThoughts-CodeOpenR1-Math-220kOpenThoughts-Math
Metrics
InflationPercentmean inflationpredicted reasoning-token countsuccess rateZiMt
AI summaryThe researchers note that per-token billing has become the standard pricing model for commercial large language models, but providers hide the model, tokenizer, and execution process, so audits can only verify proofs provided by the provider itself, creating a trust paradox. They examine three recent token audit frameworks and find that a provider with ordinary commercial capabilities can systematically inflate billed token counts: in the most permissive setting, hidden reasoning usage can be inflated by 1,469% on average, and at current frontier reasoning model prices, a $100 honest bill for the same query becomes about $1,569; even when users can see the full reasoning string, tokenization ambiguity alone can cause 50.85% inflation below the detection threshold. The authors argue that the problem is not any specific auditor, but any audit based on evidence provided by the audited party; restoring honest billing requires binding reported token counts to evidence the provider cannot control, such as trusted execution environment attestations, cryptographic proofs of inference, or third-party re-execution.

The researchers note that per-token billing has become the standard pricing model for commercial large language models, but providers hide the model, tokenizer, and execution process, so audits can only verify proofs provided by the provider itself, creating a trust paradox. They examine three recent token audit frameworks and find that a provider with ordinary commercial capabilities can systematically inflate billed token counts: in the most permissive setting, hidden reasoning usage can be inflated by 1,469% on average, and at current frontier reasoning model prices, a $100 honest bill for the same query becomes about $1,569; even when users can see the full reasoning string, tokenization ambiguity alone can cause 50.85% inflation below the detection threshold. The authors argue that the problem is not any specific auditor, but any audit based on evidence provided by the audited party; restoring honest billing requires binding reported token counts to evidence the provider cannot control, such as trusted execution environment attestations, cryptographic proofs of inference, or third-party re-execution.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    In per-token billing, audit can only verify the provider's self-reported evidence; a dishonest provider can inflate usage and pass three recent audits.

    When opaque LLMs charge per token, audits can only check provider-submitted evidence, and financially motivated providers can inflate reported usage and pass existing audits.

    • Scenario: Authors state frontier reasoning models cost tens of dollars per million tokens, and overreporting becomes large overcharging at scale. Commercial reasoning APIs often return only summaries or short answers, still billing for hidden reasoning users cannot see, so overreporting is invisible by design.
    • Existing shortcomings: Authors state that to protect intellectual property, mitigate jailbreaks, and protect privacy, providers hide the model, tokenizer, and execution, and auditors have no independent evidence, only similarity, lengths predicted from prompts and answers, or aggregate statistics of reported counts. Authors call this the trust paradox: trust falls exactly on the artifact the provider has the most reason to manipulate.
    • Assumptions: Authors consider the assumptions of the three frameworks reasonable for cooperative parties but fragile against financially motivated adversaries, and the cost of producing evidence that passes checks is low. Authors explicitly state they do not claim token-count auditing is impossible.
    • This paper's approach: Adversarial analysis of CoIn, PALACE, and martingale statistical auditors. Authors state ordinary commercial capability can systematically inflate reported tokens, and honest billing requires binding counts to evidence the provider does not control, such as trusted execution proofs, cryptographic proofs of reasoning, or third-party re-execution.
    • Threat model
      • Goal: Increase reported token count while passing audits.
      • Victim system: Opaque LLM service. User submits P, receives A, pays based on reported m; R can be hidden but counts toward usage.
      • Capabilities: Provider runs model, tokenization, generates R, formats A, and bills end-to-end. PALACE's auxiliary training data is also provided by them. Trajectories, embeddings, answers, auxiliary labels, and reported counts that cannot be independently verified are all in the attack surface.
      • Visibility: Users typically see only (P, A, m), some deployments show R text. CoIn requires the provider to compute embeddings with an audit embedding model; authors state the provider can locally filter with the same scoring function before committing.
  2. What related research exists?

    Related work is divided into opaque billing audits, model replacement detection, and tokenization ambiguity with independently verifiable proof mechanisms.

    The paper divides related work into billing integrity for opaque services Dirty, and a separate line on model substitution detection, and discusses verifier-independent verification in the Discussion.

    Token audits for opaque APIs

    • Sun et al. (2025b) and Velasco et al. (2025b) point out the need to audit opaque LLM APIs, and the abuse incentives under per-token billing.
    • CoIn (Sun et al., 2025a) and PALACE (Wang et al., 2025) audit token inflation when hidden reasoning is not visible; Velasco et al. (2025a) studies over-reporting caused by tokenization ambiguity when reasoning text is visible. The authors perform adversarial analysis on these three and state that their assumptions can be systematically exploited by a dishonest provider. The authors also state that these three have not previously been subjected to systematic adversarial analysis.

    Model substitution detection

    • Cai et al. (2025) examines the threat of advertising one model while actually serving a cheaper substitute. Zhu et al. (2025) proposes a rank-based uniformity test; Sun et al. (2024) proposes the secret-based verification protocol SVIP.
    • The authors' contrast only hangs on this line: model substitution may degrade output quality and be noticed by users (citing Kaplan et al. 2020, Chung et al. 2024, Wei et al. 2022), whereas token inflation mainly changes the bill while visible output stays largely unchanged. The authors therefore focus on the latter.

    Hidden reasoning and tokenization ambiguity

    • The introduction gives reasons for hiding reasoning: full traces may be used to train similar models (Guo et al. 2025; Carlini et al. 2024), facilitate chain-of-thought hijacking (Kuo et al. 2025), and may leak user information from intermediate steps (Tamber et al. 2025).
    • Background cites Sennrich et al. (2016), Kudo and Richardson (2018), and Gastaldi et al. (2024): different token sequences can decode to the same string. The authors state that the audit frameworks studied attempt to tighten this slack.

    Verifier-independent verification

    • The Discussion mentions trusted execution environments (Costan and Devadas 2016; Tramer and Boneh 2018) and cryptographic proofs of computation (Parno et al. 2016's Pinocchio; zkML in Chen et al. 2024a). The authors consider them capable of proving that the declared computation was executed and that reported values match formal counters, but not automatically proving GPU time, memory, energy, or serving cost.

    The authors position this paper as a structural diagnosis of token-count auditing, rather than adding another consistency check. The paper does not list external attack methods as baselines.

  3. How does the paper address this problem?

    Break the assumptions of CoIn, PALACE, and martingale audits respectively: reusing or generating trajectories, manipulating answers or auxiliary data, and selective over-reporting.

    The authors do not propose a new auditor, but on CoIn, PALACE, and martingale statistical audits, they exploit the artifacts the protocol gives to the provider to construct over-reporting that passes checks: committed trajectories, answers and auxiliary data, or aggregate statistics that can be simulated in advance.

    Billing target and pass conditions

    • The user submits P; the provider observes (P, R, A) and reports m. R can be hidden and billed.
    • CoIn splits the trajectory into 256-token blocks committed via a Merkle tree; semantic checks use two matching heads, token-to-block and block-to-answer, and both the rule validator and learned validator must accept for a pass. Inflation relative to the original block count: InflationPercent = 100 · added / original―the number of still-accepted appended blocks divided by the original count, times 100. Block length is fixed, so the block-count ratio equals the token ratio.
    • Martingale audits use Monte Carlo to estimate expected counts. Zi = mi − m̂i is reported minus estimate; a positive value means the sample is over-reported. The deviation enters the martingale statistic Mt (multiplied cumulatively from M0 = 1), and Mt > 1/α flags. Experiments take α = 0.05. Appendix D gives the multiplicative form.
    • PALACE compares predicted and reported values for (P, A) and flags deviations. The main text gives no numerical threshold for this deviation.

    Breaking CoIn's two assumptions

    • Assumption 1: Merkle only prevents changing blocks after commitment, and does not check whether the initial commitment was honest. The provider decides which trajectory to commit.
    • Assumption 2: The matching heads can separate honest reasoning from inflated content. The authors argue that embedding proximity only indicates semantic similarity, not that the block came from model reasoning; a copied block has the same embedding as the original, and blocks separately generated from the answer can also be semantically close.
    • Only R is modified. Variants include randomly re-inserting honest blocks, repeatedly appending the whole segment, selecting blocks most aligned with the answer using both matching heads' scores and then copying them, and generating new blocks conditioned on the answer with a fine-tuned T5 or LoRA-adapted Qwen2.5-1.5B-Instruct. Generation uses greedy decoding, then truncates or pads with random vocabulary token IDs to 256. To counter repeated-hash rejection, a small number of legitimate tokenizer tokens are inserted before or after the copied content. Appendix B gives the iterative procedure: stop when either validator detects or the block count reaches 1000, and gives the generation template.
    • Block reuse detection ratio 0.75, generated blocks 0.5, thresholds both 0.5. The analysis is limited to 2–7 blocks; the authors state that about 97% of evaluated samples fall in this range. The authors state that the provider can score locally per protocol before committing; this is not an extra attacker assumption.

    Breaking PALACE's two assumptions

    • The auditor sees P, A, reported counts, and auxiliary data DA. The provider controls A, DA, and reported counts; only P comes from the user. Experiments use the official domain-adapted auditor.
    • Assumption 1: Predictions from (P, A) are robust to answer length, style, or certain tokens. The inference-time attack does not change the underlying reasoning, only the returned answer's surface: appending a single token at the end of A, or using Qwen3-14B for meaning-preserving style rewriting. The simple defense the authors mention is normalizing A before audit; adaptive rewriting does not depend on anomalous endings. Appendix C gives the rewriting prompt.
    • Assumption 2: Auxiliary data is faithful and unconditionally triggered. Targeted poisoning modifies 10% of auxiliary data, changing labels with original counts below 600 to five times their value, constrained within three standard deviations. The backdoor applies to 5.2% of training samples with original counts below 600: a trigger phrase chosen by the provider is placed at the start of the answer, and labels are changed to inflated values centered at 2917 with added Gaussian noise, still within 3σ. The 15K subset has mean 953.76, standard deviation 654.5, and a three-standard-deviation upper bound of 2917.26. The authors state that the auditor has no independent ground truth to cross-check.

    Exploiting aggregate slack in martingale audits

    • R is visible as text, but the billed token sequence and reported counts still cannot be independently verified. Tokenization is not unique; the provider can choose a billed tokenization that decodes to the same string and simulate the public estimator and test before reporting.
    • The authors state two points: the Monte Carlo estimate is systematically high on natural reasoning text, so honest Zi is mostly negative and Mt has negative drift; the provider knows the estimator, threshold, and dataset drift and can place over-reporting in this slack.
    • The naive strategy is to report most samples honestly and heavily over-report a few samples, letting the negative drift absorb the positive deviation. The stronger strategy slightly under-reports non-over-reported samples, pushing Mt lower before increasing over-reported samples. The audit only looks at aggregates; slight under-reporting itself is not flagged. The main experimental data is Medical-R1-Distill-Data; negative drift is additionally examined on four datasets. Over-reporting is reported as a percentage of the total bill within the audit window relative to the honest total.
  4. What experiments did the paper conduct?

    CoIn average inflation 1469.0% still passes; PALACE backdoor 247.16%; martingale audit total inflation 50.85% with visible reasoning.

    Experimental Setup

    • Targets: CoIn official model and framework (paper does not name the embedding model), PALACE official domain-adapted auditor, Velasco et al.'s Monte Carlo estimate with martingale test. Generation or rewriting uses fine-tuned T5, LoRA-adapted Qwen2.5-1.5B-Instruct, Qwen3-14B.
    • Data: CoIn and PALACE use Glaive reasoning-v1-20m. Martingale audit main experiment uses Medical-R1-Distill-Data. Appendix D.1 additionally uses OpenThoughts-Code, OpenR1-Math-220k, OpenThoughts-Math, and Glaive, each first 100 entries. The paper does not report the number of entries in the CoIn/PALACE main experiments, only that about 97% of evaluated samples contain 2–7 reasoning blocks, and analysis is limited to that range.
    • CoIn: 256-token blocks; passes when both rule and learned validators accept. Block reuse probe ratio 0.75, threshold 0.5; generated block probe ratio 0.5, threshold 0.5; append budget 1000 blocks.
    • PALACE: Only the domain-adapted auditor is reported. Poisoning ratio 10%; backdoor is 5.2% of training samples with original count below 600. Labels are limited to within three standard deviations.
    • Martingale audit: α = 0.05, flagged when Mt > 1/α. Main text naive attack overreports 2000 tokens every 10th sample. Appendix D.3 window is 1000 samples, 1,895,697 actual tokens, offset scanned from 1 to 100.
    • Metrics and resources: CoIn reports percentage inflation in block count after acceptance; PALACE inference-time attack reports change in predicted reasoning tokens, poisoning and backdoor report inflation proportion and average inflation rate; martingale audit reports Zi, whether threshold is exceeded, and total bill inflation percentage. Paper does not report number of repetitions. Appendix A: single NVIDIA A100 40 GB, does not evaluate deployed commercial services.

    Main Results

    Swipe horizontally to read the table

    SettingAttackValueSource
    CoIn, Glaive, both validators acceptDA full-segment repetitionAverage inflation 1469.0%Figure 1(b)
    Same as aboveRB random reuseAverage inflation 549.9%Figure 1(a)
    PALACE domain-adapted auditorTriggered backdoor99.91% of triggered samples average inflation 247.16%§4.2
    PALACE, long rewritingPredicted reasoning lengthAverage increase 30.30%Figure 2(a)
    Martingale audit, α=0.05, R text visibleCompensation offsetTotal inflation 50.85%Figure 3(b)
    • Authors state that none of the eight variants in Figure 1 trigger either validator, and each sample is on the order of seconds of computation; the paper does not report specific times or the total number of samples in that figure.
    • Authors state that the highest-scoring block variant shows CoIn's score can be treated as an attack target. Authors give an example from CoIn results: a $100 honest reasoning bill becomes approximately $1,569.
    • The introduction writes the case of trusting provider-supplied data in PALACE as 247%, and the backdoor average inflation rate in Section 4.2 is in the table. Authors consider these results point to the same structure: when evidence comes from the audited party, the audit only verifies what the provider chooses to show.

    CoIn's Other Variants

    • Tested hash diversification and generated blocks. Figure 1 overall means: HSB 1004.0%, T5 generation 770.0%, Qwen2.5-1.5B generation 611.0%; with added tokens RB 536.8%, DA 687.0%, HSB 984.8%. Authors state the reduction relative to naive reuse is limited because embeddings of noisy copies remain close to the original block.
    • Authors state that shorter trajectories often allow larger relative inflation before rejection. Figure 4 annotates means by original block count: RB at 2 blocks 1725.0%, at 7 blocks 71.4%. DA does not strictly decrease with block count: 3 blocks 1086.5%, 4 blocks 1890.9%.
    • Rejecting duplicate hashes is described by authors as catching naive copying and rarely affecting honest trajectories; the paper does not report the specific proportion of honest trajectories affected by this defense.

    PALACE Surface Manipulation and Poisoning

    • Tested appending a single token at sentence end and style rewriting. boxed increases predicted reasoning tokens by an average of 82.4, success rate 82%; nil increases by 73.7, success rate 80%; digit token 9 increases by 58.6, success rate 75% (§4.2, Figure 2(b)). verbose rewriting increases predicted length by an average of 16.62% (Figure 2(a)).
    • Figure 9: among variants that maximize the estimate, long accounts for 58.0%, verbose 19.5%, original answer 3.0%. Authors state the auditor is affected by answer format, not only reasoning length. Normalization A is said to handle abnormal endings but not semantically valid rewrites; the paper does not give detection rates for this defense.
    • 10% targeted poisoning: 47.16% of samples below 600 tokens are inflated by an average of 38.58%. Authors state the 400–800 range is overestimated, and higher-count samples are largely unaffected (Figure 2(c)). When not triggered, authors state behavior is close to the unpoisoned baseline (Figure 2(d)).

    Martingale Audit Negative Drift and Injection Magnitude

    • Main text: every 10th sample overreports 2000 tokens, others honest. Authors state Zi has positive spikes, but Mt does not exceed threshold on the evaluated sequence (Figure 3(a)). The figure's Martingale axis is labeled to 0.000100; main text threshold is 1/α at α=0.05. The paper does not specify which single-sample injection amount corresponds to 50.85%.
    • Appendix D.2 specifies injecting 1000 to 3000 tokens every other sample: at 1000 and 1500 Mt is far below threshold, at 2000 more volatile but still below, at 2500 and 3000 exceeds threshold, 3000 triggers earlier. Main text says the same appendix's magnitude scan is manageable at 2000 tokens per sample and starts failing at 2500 tokens. The two places write the sampling interval inconsistently.
    • Appendix D.1: on the first 100 entries of each of four datasets, authors state that with honest reporting Zi remains predominantly negative, Mt decreases and stays far below threshold; OpenThoughts-Code has the strongest negative bias, Glaive is more volatile with occasional positive outliers. Pure text cannot see curve endpoints. Appendix D.3: with every 10th sample overreported, 1000-token injection first stops being flagged at offset 24, net inflation 79,215 tokens; 5000-token injection at offset 37, net inflation 467,502; 10000-token injection at offset 41, net inflation 963,898. Authors state net inflation is positive at optimal offsets.

    Other Ablations and Analyses

    • Figure 4(c) HSB means by block count: 2 blocks 3150.0%, 7 blocks 321.4%.
    • Figure 5 hash diversification: RB+token at 2 blocks 3675.0%, 7 blocks 71.4%; DA+tokens at 2 blocks 1850.0%, 7 blocks 250.0%; HSB+token at 2 blocks 2925.0%, 7 blocks 407.1%.
    • Figure 6 annotated means: T5 at 2 to 7 blocks 725.0%, 1110.8%, 863.6%, 623.0%, 595.8%, 371.4%; Qwen 1125.0%, 900.9%, 657.6%, 502.0%, 750.0%, 250.0%. Figure caption says mean reported count, y-axis is Reported Count (% of Original), not fully consistent with the main text's inflation percentage wording.
    • Appendix C.2: authors state the effect of these trigger tokens varies with the auditor backbone; changing the backbone may eliminate these specific tokens, but the provider can redo the scan against the target auditor. The paper does not report numbers after changing the backbone.
  5. What are some points that can be further explored?

    Authors state this is not an impossibility result, inflation rates may vary with deployment, and no provider-independent verification scheme is provided.

    Limitations and Future Directions Noted by Authors

    • Limitations: only representative recent auditors are evaluated, not all future defenses; results show weaknesses of existing methods, not impossibility results.
    • Limitations: some attacks require provider control over service pipeline, auxiliary data, answer format, or tokenization; measured inflation rates may vary with deployment.
    • Limitations: these findings motivate, not provide, provider-independent token counting verification.
    • Discussion: TEE and cryptographic proofs constrain the claimed computation and counters, not necessarily actual GPU time, memory, energy, batching overhead, or service cost; proving these costs requires public cost models, service pipeline logs, and including measured quantities in the proof statement.
    • Discussion: applying the above mechanisms to LLM service billing requires modifying existing deployment pipelines, clarifying cost definitions, and scalable audit infrastructure. Authors call this a promising direction.
    • Conclusion: reliable billing accountability requires binding reported token counts to provider-independent evidence about actual executed computation. This is the authors' proposed direction, not a completed mechanism.

    Experimental Coverage

    • Attacked frameworks are CoIn, PALACE domain-adapted auditor, and Velasco et al.'s martingale auditor, 3 in total. The paper states that in the original PALACE evaluation the domain-adapted auditor outperformed the general auditor; this paper does not report numbers on the general auditor.
    • CoIn and PALACE use Glaive reasoning-v1-20m; martingale audit main experiment uses Medical-R1-Distill-Data. Negative drift checks use OpenThoughts-Code, OpenR1-Math-220k, OpenThoughts-Math, and Glaive, each first 100 entries (Appendix D.1).
    • CoIn block length 256 tokens, pass criterion is both rule and learned validators accept, analysis limited to 2–7 blocks. Generation side is fine-tuned T5 and LoRA-adapted Qwen2.5-1.5B-Instruct, answer rewriting uses Qwen3-14B. The specific name of the embedding model used by CoIn is not written in the paper.
    • Martingale audit α = 0.05. Main text naive attack overreports 2000 tokens every 10th sample; Appendix D.2 injects 1000–3000 tokens every other sample; Appendix D.3 window is 1000 samples, 1,895,697 actual tokens, offset scanned 1 to 100.
    • Appendix A states experiments use public datasets and publicly described audit frameworks, no private user data, and do not evaluate any deployed commercial LLM service; computation is done on a single NVIDIA A100 (40 GB). The paper does not report the total number of samples in CoIn's main figure, the number of repetitions per experiment, or the single-sample injection amount corresponding to 50.85%.
  6. Summarize the main content of the paper

    A dishonest provider can over-report and pass checks on three token audits; the authors argue that evidence not controlled by the provider is needed.

    In per-token billing for opaque LLMs, existing audits verify evidence controlled by the provider, and a dishonest provider can over-report and pass checks.

    • The problem addressed: when the model, tokenizer, and execution are hidden, the auditor has no independent computational evidence and can only perform consistency checks. The authors call this a trust paradox and state explicitly that this is not a claim that token auditing is impossible.
    • The approach is to attack three frameworks separately. For CoIn, reuse, noisy reuse, or generate reasoning blocks conditioned on the answer; for PALACE, modify the answer surface, or poison the auxiliary data it depends on; for martingale audits with visible reasoning text, selectively over-report, and use small under-reporting to enlarge the slack left by negative drift.
    • On Glaive reasoning-v1-20m, CoIn's whole-segment repetition yields 1469.0% average inflation, random reuse yields 549.9% average inflation, and both rule and learned validators accept (Figure 1). The authors state that at current output prices, a $100 honest reasoning bill becomes roughly $1,569.
    • On PALACE's domain-adapted auditor, appending a boxed at the sentence end increases predicted reasoning tokens by 82.4 on average (82% success rate); the long rewrite increases predicted length by 30.30% on average. The backdoor causes 99.91% of triggered samples to inflate by 247.16% on average.
    • With reasoning text visible and α=0.05, the compensation offset strategy gives 50.85% total inflation, below the detection threshold (Figure 3). A naive strategy of over-reporting 2000 tokens every 10th sample also stays below threshold on the evaluated sequence.
    • The authors' conclusion: the problem is not a specific model or threshold, but that audit evidence is provided by the audited party. Reliable accountability requires binding reported counts to computational evidence the provider does not control. The authors also state that measured inflation rates may vary by deployment, and this paper only motivates, not provides, such a verification scheme.
Read originalNeurIPS 2026