Where Did My Tokens Go? Verifiable Token Billing for LLM Services
summary
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…
In short
TOKENPROV is a protocol designed to provide verifiable, request-level billing for Large Language Model (LLM) services where token charges are otherwise opaque. It solves the problem of limited evidence for token usage by linking runtime model calls to signed user authorizations and service domain boundaries. The resulting system ensures that every charge is traceable back to an authorized request, improving auditability and accountability in complex broker-mediated workflows.
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.
Terminology used across episodes
This episode discusses
- Where Did My Tokens Go? Verifiable Token Billing for LLM Services · Paper Radio
- Token Inflation: How Dishonest Providers Can Overcharge for Large Language Model Usage · Paper Radio
- Evidence-Bound Gateway-Path Provenance for Third-Party LLM Inference · Paper Radio
- Qwen3 Technical Report
- Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phone
- Authenticated Workflows: A Systems Approach to Protecting Agentic AI
- Are You Getting What You Pay For? Auditing Model Substitution in LLM APIs
- IMMACULATE: A Practical LLM Auditing Framework via Verifiable Computation
- AEX: Non-Intrusive Multi-Hop Attestation and Provenance for LLM APIs
- InterSAGE: The Secure and Verifiable Interoperability Protocol for An Internet of Agents · Paper Radio
The paper
Where Did My Tokens Go? Verifiable Token Billing for LLM Services · Read on arXiv
Beijing University of Posts and Telecommunications · Nanyang Technological University
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.
More episodes
- The day in conversation for 2026-12-05
- Daily Summary for 2026-12-05
- 2607.15118-Automated Template-free Synthesis of Instruction-Centric Leakage Contracts for Black-Box CPUs
- 2610.37722-FVH-Bench: Evaluating Image Generator Safety Beyond Overtly Harmful Imagery
- 2512.23849-Security Without Detection: Economic Denial as a Primitive for Edge and IoT Defense
- 2605.05807-LCC-LLM: Leveraging Code-Centric Large Language Models for Malware Attribution
- 2607.02932-PromptPET: Prompt Obfuscation Against Profiling by AI Agents
- 2309.05646-A Novel Supervised Deep Learning Solution to Detect Distributed Denial of Service (DDoS) attacks on Edge Systems using Convolutional Neural Networks (CNN)
- The day in conversation for 2026-12-04
- Daily Summary for 2026-12-04