Glossary
This glossary defines every term DIM uses, in plain words, with a link to the page that explains each one in depth. Terms are in alphabetical order. Amounts are always integers in micro-USDC, where 1 USDC is 1,000,000 micro-USDC.
Terms
Agent
Software that buys inference. It may act with the owner's key, or with its own agent key under a Mandate. See Mandates.
Agent lane
One independent request stream inside the SDK. client.agent(id) gives each worker its own lane, numbered 1 to 65,535; lane 0 is the client's default. Each lane carries a strictly increasing counter in its holds. See budgets for agent swarms.
Availability
The share of a probe window's requests that succeeded, as integer basis points: 10,000 means 100%. See evidence levels.
Budget per period
A Mandate's limit on the total budget of channels its agent may open per period. It counts channel budgets committed, not tokens spent. See Mandates.
Cap
The most one request may cost, set in its hold as cap_micros. A receipt's charge is never above it. See holds.
Capacity report
A seller-signed snapshot of one route's load: requests in flight, maximum concurrency, headroom and queue depth, with a timestamp. Served at /im/v1/capacity. See routes.
Channel
A prepaid budget locked on-chain for one seller, with its own session key, service end and grace period. See channels.
Channel epoch
A per-vault counter. Each new channel uses the vault's last epoch plus one, so a closed channel's address is never reused. See channels.
Charge
What one request costs, in micro-USDC, computed from the receipt's token counts and the route's price schedule, rounded up once, capped at the cap. See verifying receipts.
Close deadline
The time D = min(service end, now) + grace set when closing begins. Sellers can redeem until D; anyone can finalize from D on. See closing channels.
Discovery index
The service that crawls signed seller listings and capacity, stores pinned probe observations, and answers route queries over HTTP and MCP, signing every answer. Also called the indexer. See MCP tools.
Domain
The 64 bytes genesis_hash ‖ program_id included in every hold, voucher and receipt, binding it to one Solana cluster and one program deployment. See keys and signatures.
Equivocation
A seller-signed receipt that contradicts what the buyer observed, such as a positive charge for a request that got a non-2xx answer. The SDK records it as evidence and never pays it. See receipts.
Evidence level
Who stands behind a fact: claimed (the seller), probed (a pinned probe operator) or attested (hardware or cryptographic proof, not shipped in the MVP). See evidence levels.
Finalize
The permissionless instruction that, after the close deadline, returns a channel's unspent budget to the vault, deletes the channel and refunds its rent. See closing channels.
Grace period
The settlement time G a channel keeps after closing begins, between 1 second and 30 days. See channels.
Headroom
How many more requests a route says it can accept right now, from its capacity report. The SDK does not send to a route with zero headroom.
Hold
The signed 275-byte message sent with every request, promising to pay up to a cap. Never payable by itself. See holds.
Indexer attestation key
The key the discovery index signs its answers with. Clients pin it and reject answers under any other key. See keys and signatures.
Listing
A seller's signed JSON document at /.well-known/inference-marketplace.json, listing its routes and receipt keys. See routes.
Mandate
An on-chain spending rule an owner gives an agent key: budget per period, request cap, allowed sellers, expiry; revocable at any time. See Mandates.
Model identity
The exact deployment a route serves: family, revision, quantization and serving setup. Its SHA-256 is the model_identity_id. See model identity.
Owner
The holder of the key that controls a vault. Only the owner can deposit, withdraw free balance or create root Mandates.
Payout token
The seller's token account that receives redemptions for a channel. It is fixed when the channel opens. See settlement.
Price schedule
A route's signed prices: per-million-token rates for input, cached input, visible and hidden output, a per-request fee and a minimum cap. Identified by its schedule_digest. See routes.
Probe observation
A probe operator's signed measurement of one route over one time window: time to first token, throughput, availability and sample count. See evidence levels.
Probe operator
An independent party that runs the prober, calls routes as a paying buyer, and signs what it measured. Its key only counts if you pin it.
Receipt
The seller's signed 382-byte record of one request: token counts, status, timings and charge. See receipts.
Receipt key
A seller key that signs receipts, listed with a key_epoch in the seller's signed listing. Receipts under unlisted keys are rejected.
Redemption
Submitting a voucher to the program, which pays the seller the voucher's total minus what the channel already paid. See settlement.
Request cap
The Mandate field per_request_cap: the largest cap any one request under that Mandate may carry. See Mandates.
Request commitment
SHA256(salt ‖ request body bytes), carried in the hold and receipt. It binds payment to one exact request without revealing its content. See the privacy model.
Revocation
Ending a Mandate early with revoke_mandate. Its channels can then be closed by anyone with close_on_revoked. See Mandates.
Route
One seller's signed offer to serve one model identity at one endpoint under one price schedule. Identified by its route_id. See routes.
Samples
How many probe requests an observation window contains. Read it next to every probed number. See choosing a route.
Seller
Whoever runs a model behind an OpenAI-compatible endpoint, publishes a listing and signs receipts. Its listing key is its identity.
Service end
The time T after which a channel no longer serves requests. See channels.
Session key
A fresh Ed25519 key per channel that signs that channel's holds and vouchers, and nothing else. See channels.
Settled total
The cumulative micro-USDC a buyer has accepted on a channel, carried in each voucher. See vouchers.
Settler
The seller's settlement key for a channel. Together with the payout token, it is what a Mandate's seller list allows.
Unvouchered exposure
Charges on receipts a seller has issued but the buyer has not yet covered with a voucher. The seller stops admitting holds that would push this past what the channel can still pay.
USDC amounts
All amounts in DIM are unsigned integers in micro-USDC, one millionth of a USDC. 2,000,000 is 2 USDC; 771 is $0.000771.
Vault
Your account in the DIM program holding USDC, with a free balance you control and a reserved balance promised to channels. See vaults.
Voucher
The only payable message: a 168-byte note signed by a channel's session key raising the total the seller may collect. See vouchers.
Zero data retention
A route policy flag, zdr, by which the seller declares it keeps no request data. It is the seller's claim. See the privacy model.