Inferit documentation
Inferit is a marketplace for LLM inference. Buyers call one OpenAI-compatible endpoint; each request goes to the cheapest healthy seller offer for that model, and usage settles from an escrow the buyer controls.
Start hereThe guided 5-minute path: network, gas, ITC, deposit, key, request, settlement.QuickstartFund, sign in, create a key, make your first call.API referenceEvery endpoint, auth mode, error and header.Agents: x402Pay per request with standard x402 on Whitechain: no account, no key, no gas.Coding toolsOpenCode, Cursor and the state of Claude Code.Whitechain escrowCaps, the circuit breaker, roles, finality and the live contract parameters.SellingList a self-hosted endpoint and get paid per token.Security & trustWhat the escrow enforces, what is public on-chain, and what we do not verify yet.
Core concepts
- All-in prices. Every price on the site and in the API is what the buyer pays: the seller's price plus the platform fee (default 5%, charged as a buyer markup). Sellers earn exactly their own price.
- Integer micro-units. Money is counted in millionths of a unit as integers end to end. Prices are quoted in $ per 1M tokens so they compare with list prices; on the testnet they are paid in ITC, which counts as one test dollar and has no monetary value, so balances, costs and earnings read in ITC. JSON carries amounts as decimal strings, e.g.
"1500000"= 1.50 ITC on the testnet. A request costsceil(tokens × pricePerM / 1,000,000). - Settlement. Usage settles on Whitechain, in the MarketEscrow contract, in ITC (Inferit Test Credit) on testnet. An off-chain credit ledger exists only for local development and tests.
- Or no key at all. Agents can pay each request with x402 instead: the payment settles into the same escrow, credited to the agent's wallet. See Pay per request with x402.
- Keys. Buyer keys start with
ik_. They are stored as peppered SHA-256 hashes and shown once. Each key can carry a spend limit and a minimum discount. - Routing. Offers are filtered (model, healthy, daily cap, your minimum discount, your max price) and sorted by estimated cost. If an offer fails before the first byte, the next one is tried; nothing is retried after content has started streaming.
Status
This is testnet software built on Whitechain. Settlement uses a test token with no value, the contracts are unaudited, and the Anthropic-compatible endpoint is not shipped yet. Security & trust lists what is and is not verified.