Don't trust our meter. Verify it.
You prepay a bundle of tokens and every request draws it down. Every one of those debits now comes with a receipt signed by Lampo, and your agent can recompute each one.
- The debit is exact. Each receipt carries the usage the model reported (prompt, cached and completion tokens), the rates and the debit. You recompute the debit to the token.
- Nothing goes missing. A bundle's receipts are a hash chain, and each balance follows from the one before. A dropped or edited receipt breaks the chain.
- History can't be rewritten. Every day we commit to all of that day's receipts with one Merkle root, signed, published on Nostr and timestamped in Bitcoin with OpenTimestamps.
- Only you can read them. Receipts are served only to whoever holds the bundle's payment preimage. The public anchors show one count and one hash per day.
Check your receipts
Run this with the credential your client paid with, the Authorization value L402 <macaroon>:<preimage>:
npx github:lamporun/l402-receipts verify --seller https://lampo.run \ --credential "L402 <macaroon>:<preimage>" --nostr
Using l402-bridge? It already checks the receipt of every answer and logs 🧾 receipt 3 ✓, or a warning if anything doesn't add up.
Where to find everything
- The signing key and endpoints: /.well-known/l402-receipts.json
- The daily anchors and their Bitcoin timestamps: /receipts/anchors/
- The format, so anyone can verify without our code: SPEC.md
Receipts cover every bundle bought from 25 November 2026. They hold us to the arithmetic and the history of every debit. They can't prove that the model's provider counted the tokens it reported, but our models are open-weight, so you can spot-check completion tokens with the model's public tokenizer.
Selling metered L402 too?
l402-receipts is open source (MIT) and works with Lightning Labs' Aperture and Lightmeter. Our changes to both are proposed upstream.