DIM · Dagon Inference Marketplace

Start here

DIM, the Dagon Inference Marketplace, lists and ranks verifiable AI inference routes. You pick a route, call its seller directly, pay for each request from your own vault and check a signed receipt for every response. DIM never carries your inference traffic.

What DIM does

  • Lists routes. A route is a seller's offer to serve one model identity: model family, revision, quantization and serving configuration. A different revision or quantization is a different identity.
  • Ranks them from evidence. Independent probe operators measure routes and sign each observation. Discovery returns every route with its signed observations and score inputs, and signs every response with the indexer's attestation key.
  • Stays out of the data path. Prompts, outputs, tool arguments and credentials go from you to the seller and nowhere else: they stay off-chain and outside receipts.
  • Settles on Solana. You lock a budget in a channel opened from your vault (program im-channels), and the seller redeems the vouchers you sign against it, in micro-USDC.

One request, end to end

  1. Find a route with Discovery's GET /v1/routes, or the MCP tools list_routes and get_route.
  2. Open a channel to that seller from your vault, optionally under a Mandate that limits what an agent may spend, per period and per request.
  3. Call the seller at its OpenAI-compatible POST /v1/chat/completions with a signed hold in X-IM-Hold, X-IM-Hold-Sig and X-IM-Session. The hold caps the charge for this request and is never payable.
  4. Check the receipt the seller signs: the X-IM-Receipt response header, or a final im_receipt event before [DONE] when streaming.
  5. Pay with a voucher for the cumulative total you accept. The voucher is the only payable message; the seller's settler redeems vouchers on-chain in batches.

Where to go next

You are Start with
New to DIM Concepts: the words DIM uses and what is always true
Building an agent that buys inference Build an agent
Running a seller Sell inference
Probing or ranking routes Verify and rank
Implementing the protocol Protocol reference and the normative MVP protocol contract

[!TIP] Press /, or Ctrl+K (Cmd+K on a Mac), on any docs page to search every title, heading and description.