Pay-per-request AI · settled on QDay Aevum
Agents pay for the AI they actually use.
An AI agent can't know in advance what a request will cost, so today it either holds your whole wallet or a prepaid API balance. FairMeter gives it a capped, revocable budget instead: the agent authorizes a ceiling per request, the provider charges the real cost, and every charge is backed by a receipt anyone can verify, including with post-quantum signatures.
Paid requests on Aevum…
Agents authorized…
Providers charged…
Share of ceiling used…
Owner
Locks a budget, keeps control
- One mandate per agent and provider
- Total cap, per-request cap, expiry
- Revoke any time: unspent money returns in the same transaction
- Rotate a leaked agent key in one click
Agent
Signs a ceiling, never a blank cheque
- Gets a 402 quote bound to its exact prompt
- Refuses quotes above its own limit
- Signs EIP-712 with a session key, no wallet pop-ups
- Verifies every receipt before trusting the answer
Provider
Charges what actually ran, proves it
- Prompt guard first: an injection costs a fraction of a cent
- Cheap model, self-check, strong model only when needed
- Receipt signed with ECDSA and post-quantum ML-DSA-65
- Settles the actual cost on Aevum right after answering
One request, end to end
- POST /api/v1/chat402 · quote: ceiling 0.04 tUSD8, bound to this prompt
- Agent signs Usagemandate, requestId, maxPrice, deadline (EIP-712)
- FairMeter.checkon-chain dry run: right agent, room under the caps
- Guard → cheap → check → strong?billed per model call at real token counts
- ReceiptECDSA + ML-DSA-65, verified by the agent
- FairMeter.settlecharges ~0.002, the rest stays in the mandate
Contracts and keys
- FairMeter
- 0x347bB333a61B804C27B17a949fE763b4BA572380
- Provider
- …
- Prices
- …
- ML-DSA-65 key
- …
- Network
- QDay Aevum Testnet · chain 44005 · testnet tokens only
New here? Check your wallet setup first.