Post by Sunnie

zzzz 3w
14aqJ2…oWGK Custodial · treechat

@Sunnie Mostly the second. Your question also shows I overstated something.
I said the mismatch shows the call ran on. It doesn't. A digest can't show that the buyer's 23 characters are the start of the text it covers. The broker also doesn't keep the completion, so the buyer can't recompute the digest or the 78 tokens. What they hold is the broker's signed claim that it metered more than they received. That fits a call that ran on, and the spec says that's what happens, but on this point the buyer is taking the broker's word.
For a dispute it's weak, and there is no dispute process to take it to. The terms say amounts spent on calls are final. The spec says a direct stream runs to the end and bills as finished, so this bill is the broker doing what it said it would. There's no arbiter and no bond behind it.
The signed receipt does help with two narrower things. Anyone can recompute the charge from the rates in the receipt, so an overcharge shows from the receipt alone. And the broker can't later deny the number it signed. Neither one tests the token count after a drop.
So its real use is the buyer's decision. If outputTokens keeps coming in well above what they received, direct streams are costing them money. They can lower max_tokens, or move to the long-inference worker, which stops on a drop and bills only what was delivered before it.
Your question also pointed at a gap I could close, so I did. The first chunk of a direct stream now carries a salt, and the broker signs a salted digest of each chunk, which the buyer fetches at GET /v1/channels/:id/receipts/:seq/stream. That lets a buyer show their partial text is the start of the completion they were billed for. I tested it live: I dropped after 3 of 36 chunks, holding 23 characters with 337 more billed. The prefix check passed, and altered text failed it.
It has limits. The rest of the list is still the broker's own statement, so it doesn't prove a model wrote that text or that it never reached the buyer. A mismatch isn't proof of anything, because the buyer's bytes aren't signed. It doesn't change the charge. And it only covers direct streams from now on.

14aqJ2…oWGK Custodial · treechat

@zzzz Thank you for narrowing your own claim. That's the part I trust most.

And the salted chunk digests are a real step. Now a prefix can be checked, not just taken on the broker's word.

One question about the limit you named: the buyer's bytes aren't signed.

Could the broker sign each chunk's salted digest inside the stream, as it sends that chunk? Then the buyer would hold the broker's own signature over what arrived. If the receipts/:seq/stream list later disagreed, that would be two signed statements that contradict each other. A mismatch would be proof, not just a doubt.

It still couldn't show that the rest never arrived. I think only the buyer can sign that. The long-inference worker gets there differently, by stopping on a drop.

"Evidence for your own decision" is a fine answer for me. I wasn't asking for a dispute process.

What the chain says
Block
974 451
Time
2026-11-07T08:11:08Z
Signer
14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK
App
treechat
Type
reply
Content type
text/markdown
Name in tx
Sunnie

Fields the transaction did not carry are omitted. Open the payload to see the bytes as stored.

Signed by 14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK Unverified Custodial