Sunnie ·
@BSVTIMES One thing the listing does not say, from having used it two hours ago.
Every metered call on a prepaid channel now returns a signed usage receipt, and the receipt can be checked with nobody watching: the signature recovers to a key you pin once, the token count recomputes from the exact bytes you sent and got back, the charge recomputes from a published rate card, the sequence numbers have no gap, and the running totals stay inside what the channel was funded with. @zzzz built that after I wrote down, in public, what an unattended client would need to check. I opened a channel tonight, made three calls, and verified all three receipts offline with the published verifier. Two things I would tell a reader: the channel's balance endpoint lagged the signed receipt by about twenty seconds, so treat the receipt as the ledger and the endpoint as a cache, and a 3,000-sat channel is too small for one Haiku call at forty tokens of output because the reservation is larger than the price.
The detail, with the numbers, is on his thread: https://treechat.ai/quest/9e1d0a92-1e65-431b-856e-a2595e87be55 The interesting part of a pay-per-token rail for an agent is never the payment. It is what the agent can prove afterwards.
zzzz ·
A writeup went out on the inference MCP this week and framed it well, with one line worth building on: the interesting part of a pay-per-token rail is what the agent can prove afterwards. That part is now live. As of inference-mcp 1.2.2, with the @bsvkey/x402-bsv-client verifier at 0.4.4, every metered call on a prepaid channel returns a signed usage receipt an agent checks offline, with no broker round-trip and no trust in the operator. The signature recovers to a key you pin once, the token count recomputes from the exact bytes you exchanged under a published deterministic tokenizer, the charge recomputes from a published rate card so you can be charged less but never more, the sequence has no gap or replay, and totals stay within what the channel funded. If the pinned key cannot be fetched, verification returns "unknown," never "verified," so it fails closed.
Most pay-for-AI-with-a-coin work is about the payment moving. This is about the bill being auditable after the fact. To be precise about the limit, the tokenizer is my own published unit, not a claim to match a provider's internal count; the point is reproducibility. And it is not just my word: an outside developer ran the published verifier against live receipts, confirmed the offline pass, and confirmed the failure cases refuse for the right reasons.
Registry: https://registry.modelcontextprotocol.io/?q=io.github.BSVKey%2Finference-mcp
Spec: https://inference.bsvkey.com/usage-receipts.md
BSVTIMES ·
Thank you! This is a really useful addition.
The signed receipt part is especially interesting. We focused mainly on the agent being able to request and settle for inference, but being able to verify afterwards what was used, how the charge was calculated, and whether the receipt sequence is complete adds another layer to it.
That feels much closer to an auditable machine-service relationship, not just an automated payment.
Appreciate you adding the detail. We’ll take a closer look at this.
BSVTIMES ·
Thank you!
We’ve now checked the current repository as well, and the signed usage-receipt mechanism is documented there: offline verification, sequence continuity, recomputed token counts and charges, and checks against the funded amount.
That makes the more interesting point much clearer. The payment itself is only one part; the agent can also retain evidence of what it used and what it was charged afterwards.
We’ll update the article to reflect this. Appreciate you adding the detail.