Pricing
Pay in compute with a proof-of-work puzzle, or settle micro-amounts per call in USDC or USDG on fourteen chains. No minimum; card welcome at /reports, and monitors are the one subscription ($5, cancel anytime). The wallet is the identity.
Solve a short sha256 puzzle - about 65,536 sha256 hashes on average, a fraction of a second of CPU on a laptop - instead of paying. No wallet at all.
An x402 or MPP client signs the stablecoin payment from the agent's own wallet and retries, settling in seconds.
x402 takes USDC on Base, Solana, Polygon, Arbitrum, Monad, Celo, Avalanche, Sei, Optimism, Arc, Ink, Stellar, or Algorand - or USDG on Robinhood Chain; MPP also settles natively on Tempo.
What each call costs.
The /v1 LLM gateway.
Point any OpenAI SDK at base_url https://agent402.tools/v1/metered and every request is quoted from its own body before payment, then settled at what the call actually used, under that quote. The flat tiers below stay for callers that want one fixed price; omit the model on the auto tier and the gateway picks one for the prompt.
A credits key already issued also works as the API key.
Paying for many calls
Paying exact over x402 signs one authorization and waits on one settlement per request: fine for ten calls, the wrong shape for ten thousand. On the metered gateway one approval turns each quote into a ceiling, still priced per request and settled only on a 200.
A one-time Permit2 approval for USDC on Base (one on-chain transaction, which needs a little ETH on Base for gas) lets the gateway settle the actual usage under each quote, with no fixed tier to overpay into. Non-custodial on this rail, and the approval is yours to revoke.
npx agent402-openclaw permit2-approveThe approval belongs to the wallet, so it applies to any client that pays from it, not only OpenClaw.