Where Did My Tokens Go? Verifiable Token Billing for LLM Services

arXiv:2611.31806 · cs.CR · Submitted 2026-11-24 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.

Nadia: We're looking at the paper: "Where Did My Tokens Go? Verifiable Token Billing for LLM Services".

Title and authors: Nadia: So we’re looking at this paper called "Where Did My Tokens Go? Verifiable Token Billing for LLM Services" and it addresses a real headache for anyone using these large language model services.

Elias: Yeah, it tackles that problem where you get token bills, but you don't really have good proof about which specific calls actually caused those charges.

Nadia: Exactly. It points out that in these broker-mediated agent workflows, the calls happen after some authorization, and the billing evidence gets spread across different services.

Priya: And they highlight a real risk: you could end up with a bill that counts one genuine receipt twice and misses another entirely.

Nadia: That's because valid metering evidence can be attributed to the wrong execution, which is a big concern when service domains are mixed.

Elias: So, the core idea they propose is TOKENPROV, which sets up a protocol for verifiable request-level billing in LLM services.

Priya: What makes it interesting to me is how they try to link everything together—it’s about establishing coverage and verifying those token charges using authenticated provider acceptances.

Nadia: Right, so the mechanism they build involves linking the intent, the dispatch, and that provider acceptance all back to a single call through what they call bilateral handoffs.

Elias: That bilateral handoff is key because it’s supposed to bind the harness’s intent, the broker’s dispatch, and what the provider accepts all together onto that one specific call.

Priya: That sounds like they are trying to solve that cross-domain binding issue where things get misattributed.

Nadia: They also introduce a mechanism where a holder can submit a retained broker–provider handoff directly to the auditor, which lets the auditor find an omitted receipt even if the broker's invoice looks internally consistent.

Elias: That’s smart because it gives the person who is being billed a way to challenge what they are seeing.

Priya: It makes sense, but I have to ask, how much overhead is this protocol adding when you're trying to do this verification?

Nadia: Well, the paper shows that deferring scoped proofs can really cut down the foreground protocol time from one point two seconds to about eight point six five milliseconds.

Elias: That’s a huge reduction, almost ninety-nine point two eight percent faster for that part of the process.

Priya: It sounds efficient, but I want to know what kind of evidence they need to trust this whole system—what are the assumptions underpinning this protocol?

Title and authors: Nadia: The authors prove audit soundness relative to authenticated evidence, meaning they've shown that if there's a real integrity failure, it has to happen in a very specific way based on authenticated inputs.

Elias: They also show that for a reproducible integrity failure with some non-zero probability, the reported responsibility interval has to be a subset of the set of positions remaining after exclusions justified by authenticated inputs.

Priya: That sounds like they've done some serious work on proving the soundness of their verification process, which is important before you start trusting any billing system.

Nadia: And they also satisfy audit confidentiality under an explicit leakage model, meaning even if someone learns some information beforehand, the audit still holds up against that leak.

Elias: That’s a strong claim because it means the simulator can restore the adversary’s leaked pre-audit state and replays things with exact encodings of disclosed artifacts.

Priya: So, you're saying that even if an attacker leaks some data before the audit, they can't fool the verification process?

Nadia: Yes, under that condition, it means there’s a simulator where every distinguisher can be defeated with only negligible probability.

Elias: It really puts constraints on how much information you can leak without breaking the integrity of the whole thing.

Priya: Moving onto what they actually do for billing correctness, they establish settlement exactness by requiring that if the delta r is one, then for every call, there’s only one receipt in the observed set and the billed usage equals exactly what was executed under those rules.

Nadia: They enforce that if there's a discrepancy in the recorded data, it must be because of something verifiable against their records.

Elias: And they make sure that the finalization of the ledger rejects a second initial settlement with the same nullifier, which stops you from double-counting.

Priya: That’s a nice touch for ensuring exactness in this kind of financial tracking system, preventing those kinds of errors we talked about earlier.

Nadia: They also test accountability when things get messy, looking at scenarios where things like H plus B plus P controls are in play against the submitted provider evidence.

Elias: In one case, if a retained signed handoff contradicts the submitted provider evidence, the auditor rejects all five hundred trials and reports something specific.

Priya: That sounds like they’re testing how robust this system is when there’s conflicting information between different parts of the workflow.

Title and authors: Nadia: They also have a control where H plus B plus P consistent-transcript controls each yield five hundred out of five hundred acceptances with internally consistent audit evidence.

Elias: So, they’re showing that even under some adversarial conditions, you can still get an internally consistent audit trail.

Priya: It sounds like they’ve really stress-tested the system against those kinds of inconsistencies we discussed.

Nadia: Overall, this paper on "Where Did My Tokens Go? Verifiable Token Billing for LLM Services" shows a way to establish end-to-end verifiable tokens pending provenance from signed user authorization all the way to request-level settlement when model calls happen at runtime and cross mutually distrustful service domains.

Elias: That authenticated causal history linking runtime call attempts to signed user authorization is what ties the whole thing together for me.

Priya: It’s a lot of plumbing, but if it works, it gives users much more confidence in how they are being charged for their AI usage.

Nadia: And the evaluation results show that TOKENPROV with signed provider receipts achieves ninety-four point four to one hundred seven point four percent of baseline throughput across five models.

Elias: That throughput figure is quite impressive when you look at the complexity involved in setting up this kind of verification for request-level billing.

Priya: And they also show that the mean online non-LLM processing time ranges from fifty-four to sixty-six milliseconds per request, which is pretty reasonable for this level of security.

Nadia: Total non-LLM processing takes about one hundred fifty-one point six eight milliseconds per request, which is about twelve milliseconds more than SIGNEDLOGPLUS.

Elias: And the local settlement time itself stays in the range of twelve point four seven to fourteen point two five milliseconds across all those models.

Priya: So, for someone just listening to the show, this means that if you’re using these services, your charge isn't just some black box number; there’s a protocol trying to verify exactly what you are paying for.

Nadia: Exactly. This paper on "Where Did My Tokens Go? Verifiable Token Billing for LLM Services" is about making sure that token usage is traceable and verifiable even in complicated agent workflows.

Elias: It’s about proving that the billing system isn't just a simple tally but something with a verifiable, authenticated history linking intent to execution.

Priya: I think it’s a solid step toward making sure that when we talk about privacy and measurement, we have real proof behind the claims.

The paper's summary: Nadia: So we’ve talked about how token billing in LLM services can be sketchy because you don't really know which specific calls caused those charges.

Elias: Yeah, and today we're looking at a paper called "Where Did My Tokens Go? Verifiable Token Billing for LLM Services."

Nadia: It lays out this protocol, TOKENPROV, to get verifiable request-level billing in those LLM services.

Elias: Essentially, they’re trying to solve the problem of getting end-to-end verifiable tokens from the moment a user authorizes something until the final settlement.

Nadia: The core idea is linking runtime call attempts to that initial signed user authorization through what they call an authenticated causal history.

Elias: That history has to show a one-to-one match between observable provider acceptances and settled receipts, even when calls cross different service domains.

Nadia: They use these bilateral handoffs between intent, dispatch, and acceptance to bind everything together onto that single call.

Elias: It’s about making sure the metered usage is tied directly to the exact execution using the registered model and serving rules.

Nadia: The results show this protocol can actually maintain a pretty good throughput, achieving ninety-four point four to one hundred seven point four percent of baseline across five different models.

Elias: That’s not a massive jump in speed, but it shows that verification isn't totally crippling the system.

Nadia: What they found is that deferring the proof checks can really slash the protocol time from one point two seconds down to about eight point six five milliseconds.

Elias: That’s almost ninety-nine point two eight percent faster for the verification part, which makes it much more practical for real-time systems.

Nadia: They also proved that if you have a real integrity failure, it has to follow a very specific pattern based on authenticated inputs.

Elias: The audit soundness they prove is pretty strong; they showed that except for negligible probability, an accepting audit admits the full provenance relation.

Nadia: But privacy is a big thing here too. They checked audit confidentiality under an explicit leakage model, meaning even if someone learns some info beforehand, the verification still holds up against that leak.

Elias: That means there's a simulator they built to show that any distinguisher can be defeated with only negligible probability when information is leaked.

Nadia: So this paper gives us a way to prove that the token charges are exactly what you paid for, even in those messy broker workflows where things get spread out.

Elias: It’s a lot of plumbing, but it seems like it lays down some really solid groundwork for making sure that when we talk about measurement and billing, there's real proof behind the claims.

Nadia: The paper shows how this protocol can detect unauthorized or misrepresented work by enforcing policy compliance checks on the serving configuration and pricing versions.

Elias: It’s important to remember that this is about proving exactness, making sure that if you see a charge, you can trace it back perfectly to the execution.

Nadia: The next thing we want to look at is how they handle accountability when things get messy, specifically under scenarios involving H plus B plus P controls.

The paper's improvements: Tom: So we're talking about how they suggest tweaking this billing protocol to make it even better after what they've already shown about its core functionality.

Nadia: They focus on making that verification process faster and more practical for real-world use, which is a big deal when you’re dealing with live AI interactions.

Elias: Exactly, they look at how they can reduce the overhead of those proofs so it doesn't slow down the overall system too much.

Nadia: They found that deferring scoped proofs really cuts down the foreground protocol time from one point two seconds to about eight point six five milliseconds.

Elias: That’s a huge reduction, almost ninety-nine point two eight percent faster for that part of the process, which is what we need when you're tracking usage in real time.

Nadia: They’re also pushing the verification into a more robust area by enforcing policy compliance checks.

Elias: That means they make sure that if you try to use a specific serving configuration or pricing version that doesn't match the authorization rules, the system rejects it immediately.

Nadia: Specifically, they set up checks where if the serving configuration or pricing version doesn't align with what was authorized, then that call is rejected.

Elias: That’s about making sure you don't get billed for something that shouldn't have been allowed to run under those specific rules.

Nadia: On the accountability side, they suggest stronger controls for when things get complicated, like H plus B plus P controls.

Elias: They showed that when you have those H plus B plus P consistent-transcript controls, each one can yield five hundred out of five hundred acceptances with internally consistent audit evidence.

Nadia: That’s a good result because it shows that even when there are conflicting pieces of evidence, you can still get a clean audit trail.

Elias: It validates the structure they built for handling those cross-domain issues we talked about earlier in the paper.

Nadia: But what they didn't cover, or at least didn't focus on, is where this protocol stops working.

Elias: They don't necessarily detail how it handles completely adversarial setups where you’re trying to break the whole thing through complex manipulation.

Nadia: It seems like their main limitation is that the soundness proof relies on assumptions about authenticated evidence being present.

Elias: Right, so if those initial authorizations or signed records are faulty, their proofs don't necessarily hold up under that kind of specific failure model.

Nadia: What this means for users is that while it’s strong against many attacks, it still depends heavily on the integrity of the initial signing process itself.

Elias: It’s a very practical system because it addresses the exact problem of token attribution in these complex AI workflows.

Nadia: So, we see this protocol as a strong tool for building confidence in billing, but we need to keep an eye on those underlying assumptions about the evidence.

Conclusion: Nadia: So, to wrap up "Where Did My Tokens Go? Verifiable Token Billing for LLM Services," this protocol TOKENPROV gives us a way to prove that token usage is traceable from user authorization all the way to the final request-level settlement.

Elias: It really formalizes how we link those runtime call attempts back to the signed policy using an authenticated causal history.

Nadia: The biggest implication is that it starts moving billing from a black box problem toward something verifiable and auditable in these complex broker workflows.

Elias: And the numbers support that; we see throughput staying pretty high, around ninety-four point four to one hundred seven point four percent of baseline across five models.

Priya: From a measurement standpoint, what’s really important is that they proved audit soundness relative to authenticated evidence, which means if there’s a failure, it has to be traceable back to the inputs.

Nadia: Right, so it's not just claiming things are right; they've actually provided a mathematical proof sketch showing that the joint validity relation holds under certain conditions.

Elias: And they showed that for request-level billing correctness, the final settlement must meet this condition where the billed usage is exactly what was executed under those rules.

Priya: That exactness part is key for privacy and measurement because it stops you from having those kinds of double counts or omissions in the ledger.

Nadia: It’s a solid step toward making sure that when we talk about privacy and measurement, we have real proof behind the claims for these AI services.

Elias: Yeah, it's about proving that the billing system isn't just some simple tally but something with a verifiable history linking intent to execution.

Priya: It gives users much more confidence in how they are being charged for their AI usage because there’s a protocol trying to verify exactly what they are paying for.

Nadia: So, the paper on "Where Did My Tokens Go? Verifiable Token Billing for LLM Services" shows how we can tackle attribution problems in distributed AI systems.

Elias: It's a lot of plumbing, but if it works, it gives users much more confidence in how they are being charged for their usage.

Priya: I think it’s a solid step toward making sure that when we talk about privacy and measurement, we have real proof behind the claims.

Beijing University of Posts and Telecommunications · Nanyang Technological University

cs.CR

Submitted: 2026-11-24

Updated: 2026-11-24

Code: https://github.com/Dujiayuan-create/TokenProv

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Importance score: 100/100

The gist: Users of large language model (LLM) services receive token bills with limited evidence of which calls incurred their charges.<ref:2611.31806#pg1,limited evidence of which calls incurred their…

Key concepts

TOKENPROV
A protocol developed for verifiable request-level billing in LLM services. It creates a secure chain of evidence linking user authorization, the specific model call made at runtime, and the final settlement receipt. This ensures that token charges are not ambiguous or missing when calls span different service domains.
Authenticated Causal History
A mechanism that links runtime call attempts to the signed policy through an authenticated history. This history proves that a specific request was authorized by the user's signature and details exactly how it led to the resulting billing event, providing a traceable path for auditing.
Bilateral Handoffs
A process used to bind intent, dispatch, and acceptance to the same call. This ensures that when a request moves between different services (like in broker-mediated workflows), all parties agree on which specific model execution and associated usage are being billed together.
Settlement Exactness
A requirement ensuring that if a settlement is finalized, it must perfectly match the expected charge derived from verified execution. This means the final bill must equal the recomputed charge based on actual usage and pricing rules, guaranteeing accuracy.

Summary

Users of large language model (LLM) services receive token bills with limited evidence of which calls incurred their charges. p. 0<ref:2611.31806#pg1,limited evidence of which calls incurred their charges>. p. 0 In broker-mediated agent workflows, calls arise after authorization and billing evidence spans service domains. p. 0<ref:2611.31806#pg2> A bill can count one genuine receipt twice and omit another. p. 0<ref:2611.31806#pg2>. The paper presents TOKENPROV, a protocol for verifiable request-level billing in LLM services. p. 1<ref:2611.31806#pg2,We present TOKENPROV, a protocol for verifiable request-level billing in LLM services>

Pruning redundant reasoning tokens

The core problem addressed is establishing end-to-end verifiable tokens pending provenance from signed user authorization to request-level settlement when model calls arise at runtime and cross mutually distrustful service domains.<ref:2611.31806#pg2>. The audit must check observable attempts against the signed policy and match observable provider acceptances to settled receipts one-to-one. p. 0<ref:2611.31806#pg2,The audit must check observable attempts against the signed policy and match observable provider acceptances to settled receipts one-to-one>. p. 0 The protocol links runtime call attempts to the signed policy through an authenticated causal history. p. 0<ref:2611.31806#pg2,An authenticated causal history links runtime call attempts to the signed policy>

How the training signal is built

TOKENPROV uses authenticated provider acceptances to establish settlement coverage and verify token charges.<ref:2611.31806#pg2>. This involves linking intent, dispatch, and acceptance to the same call through bilateral handoffs. p. 1<ref:2611.31806#pg2,Bilateral handoffs bind intent, dispatch, and acceptance to the same call>. p. 1 The common provider relation binds metered usage to the cachedependent execution of the accepted input using the registered model and serving rules. p. 0<ref:2611.31806#pg2>

Where the gains come from

The evaluation highlights that TOKENPROV with signed provider receipts achieves 94.4–107.4% of baseline throughput across five models. p. 0<ref:2611.31806#pg2,Across five models, TOKENPROV with signed provider receipts achieves 94. p. 0 p. 04–107.4% of baseline throughput>. p. 0 p. 0 Furthermore, deferring scoped proofs reduces foreground protocol time from 1. p. 020 s to 8.65 ms (99.28%).<ref:2611.31806#pg2,deferring scoped proofs reduces foreground protocol time from 1. p. 020 s to 8.65 ms(99.28)>

Audit soundness and localization

The authors prove audit soundness relative to authenticated evidence.<ref:2611.31806#pg2>. For a reproducible integrity failure with Cr! p. 4= ∅, the reported responsibility interval Respr must satisfy Cr subset of Sr where Sr is the set of positions remaining after exclusions justified by authenticated inputs to the first failed check. p. 4<ref:2611.31806#pg9,For a reproducible integrity failure with Cr! p. 4= ∅, the reported responsibility interval Respr must satisfy Cr subset of Sr where Sr is the set of positions remaining after exclusions justified by authenticated inputs to the first failed check>

Audit confidentiality

The audit satisfies audit confidentiality under an explicit leakage model.<ref:2611.31806#pg5>. The simulator restores the adversary’s leaked pre-audit state and random tape and replays the ordered observations with the exact encodings of disclosed artifacts. p. 8<ref:2611.31806#pg5,The simulator restores the adversary’s leaked pre-audit state and random tape and replays the ordered observations with the exact encodings of disclosed artifacts>. p. 8 The audit satisfies (20) under this condition, which means there exists a PPT simulator such that every PPT distinguisher D satisfies Pr[D(Viewreal A) = 1] - Pr[D(Sim(1λ, Leakr)) = 1] ≤ negl(λ). p. 4<ref:2611.31806#pg5,The audit satisfies (20) under this condition, which means there exists a PPT simulator such that every PPT distinguisher D satisfies Pr[D(Viewreal A) = 1] - Pr[D(Sim(1λ, Leakr)) = 1] ≤ negl(λ)>

End-to-end audit soundness

Theorem 5.4 proves end-to-end audit soundness under the assumptions of Section 3. p. 8 p. 83.<ref:2611.31806#pg5,Theorem 5. p. 84 proves end-to-end audit soundness under the assumptions of Section 3.3>. The proof sketch shows that Lemmas 5. p. 81 and 5.2 fix the authenticated records and supply a witness for each observable provider acceptance. p. 8<ref:2611.31806#pg9,Lemmas 5.1 and 5.2 fix the authenticated records and supply a witness for each observable provider acceptance>. p. 8 The joint validity relation on (Authr, Tr; W) is RTP = Rauth AND Rlife AND Rhand AND Rprov AND Rset. p. 3<ref:2611.31806#pg9>

Settlement exactness

Lemma 5.3 establishes settlement exactness by requiring that δr = 1 implies ∀ c: Nr(c) = 1[c ∈ QP,obs r] and [B U r = Br = B⋆ r]. p. 8<ref:2611.31806#pg9,Lemma 5. p. 83 establishes settlement exactness by requiring that δr = 1 implies ∀ c: Nr(c) = 1[c ∈ QP,obs r] and [B U r = Br = B⋆ r]>. p. 8 The finalization of the ledger L atomically rejects a second initial settlement with the same nullifier. p. 7<ref:2611.31806#pg9>

Accountability under collusion

The paper tests accountability under collusion where H + B + P or H + B + P controls are considered.<ref:2611.31806#pg12>. In the case of a retained signed H → B handoff contradicting submitted provider evidence, the auditor rejects all 500 trials and reports [B, P]. p. 1<ref:2611.31806#pg12,In the B+P control, a retained signed H → B handoff contradicts the submitted provider evidence, the auditor rejects all 500 trials and reports [B, P]>. p. 1 The H + B + P consistent-transcript control yields 500/500 acceptances with internally consistent audit evidence. p. 1<ref:2611.31806#pg12,The H+B+P consistent-transcript controls each yield 500/500 acceptances with internally consistent audit evidence>

Evaluation and overhead

TOKENPROV achieves 94.4–107.4% of VANILLA’s mean throughput across five models. p. 1<ref:2611.31806#pg2,Across five models, TOKENPROV with signed provider receipts achieves 94.4–107.4% of baseline throughput>. The mean online non-LLM processing time ranges from 54 to 66 ms/request. p. 9<ref:2611.31806#pg2>. Total non-LLM processing takes about 151. p. 968 ms/request, about 12 ms/request more than SIGNEDLOGPLUS. p. 9<ref:2611.31806#pg2>. The local settlement time ranges from 12. p. 947–14.25 ms/request across models. p. 0<ref:2611.31806#pg9>. The auditor rejects all 1,600 tested adaptive attack queries with valid signatures. p. 1<ref:2611.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Verification of token charges is achieved by matching observable provider acceptances to settled receipts one-to-one, ensuring that A bill can count one genuine receipt twice and omit another. This prevents billing discrepancies arising from broker-mediated workflows where calls arise after authorization and evidence spans service domains.

  2. The system establishes end-to-end verifiable tokens by creating an Authenticated causal history links runtime call attempts to signed user authorization, linking the observable call history rooted in the user’s signed authorization to the final bill.

  3. Cross-domain binding is enforced through Bilateral handoffs bind intent, dispatch, and acceptance to the same call, allowing auditors to detect an omitted receipt even when the broker’s invoice is internally consistent.

  4. Provider assurance binds metered usage and results together by verifying a relation where Ri acct checks ui and bi under the registered metering and pricing rules in Section 3.1, ensuring that the call charge is Bi = Pricepvi(θi, ui).

  5. The system supports deployment switching by requiring verification that Ri dep checks that θi matches the registration and that Ψr authorizes h modelj and γj, binding the accepted input, deployment, cache-dependent execution, metered usage, and charge to the same invocation.

  6. Audit soundness is proven by ensuring a one-to-one match between observable acceptances and settled receipts is required for every acceptance, leading to the conclusion that Except with negligible probability, an accepting audit admits a joint witness for the full provenance relation.

  7. The system can detect unauthorized or misrepresented work by enforcing policy compliance checks where LocalPolicyi = (ϑi ⪯ Ψr) ∧ θi != ⊥ ⇒ (ρi, θi) = ϑi, ensuring that the serving configuration and pricing version satisfy the authorization rules.

  8. For request-level billing correctness, the system ensures BU r = Br = B⋆ r, where B⋆ r is the recomputed charge derived from verified execution-bound usage and applicable pricing rules, guaranteeing audit acceptance requires BU r = Br = B⋆ r.

Sources

Related papers