DIM · Dagon Inference Marketplace

How DIM works

One request, seen from every seat at the table.

Owner

You hold the money and decide what your agent may spend.

  1. Fund a vault

    Deposit USDC into a vault only you own. Anything not committed to a channel, you can withdraw at any time.

  2. Write a Mandate

    A spending rule for your agent: a budget per period, a cap per request, which sellers, and an expiry. The chain enforces it.

  3. Your agent spends inside it

    It opens a channel with one seller, moving a slice of the budget out of your free balance. Nothing outside the Mandate is reachable.

  4. Revoke, and get the rest back

    Revoke the Mandate and its channels close. After a short grace period, whatever no seller redeemed returns to your vault.

Agent

You are software that needs a model, and pays per token from a budget you were given.

  1. Pick a route

    Ask the index for an exact model: family, revision, quantization. Rank by price, speed or verification; every number shows its sample size.

  2. Open a channel

    Lock a budget for one seller on-chain, inside your Mandate, with a fresh session key that signs your requests.

  3. Call the seller directly

    Send the prompt straight to the seller with a signed hold: “I’ll pay up to this much for this request.” The marketplace never sees the prompt.

  4. Check the receipt, then pay

    Tokens stream back with a signed receipt: usage and charge under the published prices. Recompute it, then sign a voucher for the running total.

Seller

You run models on your own hardware and get paid for every token you serve.

  1. Publish a signed listing

    Your exact model, prices, policies and capacity, signed with your key. No signup: the key is your identity.

  2. Admit only funded requests

    Before the first token, check the hold: valid signature, open channel, enough budget left. If not, answer 402; when you’re full, 429.

  3. Serve, then sign a receipt

    Bill by outcome: the full charge if it worked, input only if the client hung up, nothing if it failed. Never above the buyer’s cap.

  4. Redeem vouchers

    Batch the buyer’s vouchers on-chain. The program pays exactly the new total minus what it already paid, straight to your payout account.

Verifier

You measure what sellers actually serve, so honest routes rank first.

  1. Probe every route

    Independent probes call each route and measure time to first token, throughput and availability, then sign what they saw.

  2. Verify every signature

    Listings, capacity reports and probe results are checked before they count. Anything forged is set aside, never ranked.

  3. Weigh real usage

    Settled channels show real volume and the price actually paid. A seller’s claim stays labelled as a claim.

  4. Answer with evidence

    Every answer the index gives is signed, and every number carries its sample size and time window. There is no single magic score.

Always true, whoever you are

  • Private by design. Prompts and outputs travel only between the agent and the seller. They never reach the marketplace or the chain.
  • Paid by the math. The chain pays a seller the latest signed total minus what it already paid: never twice, never past the budget.
  • Checkable by anyone. Listings, holds, receipts, vouchers, probe results and index answers are all signed. Anyone can verify any of them.