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
- Find a route with Discovery's
GET /v1/routes, or the MCP toolslist_routesandget_route. - 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.
- Call the seller at its OpenAI-compatible
POST /v1/chat/completionswith a signed hold inX-IM-Hold,X-IM-Hold-SigandX-IM-Session. The hold caps the charge for this request and is never payable. - Check the receipt the seller signs: the
X-IM-Receiptresponse header, or a finalim_receiptevent before[DONE]when streaming. - 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.
Related
- MVP protocol contract: the normative definition of every message, account and API above
- SDK quickstart: the TypeScript client for buyers
- Docs house style: how these pages are written