Before a paid call
- Balance. A token session spends prepaid credits, and a call the balance cannot cover fails with
insufficient_credits. A wallet session signs a USDC payment for the price instead. - Budget. If you set a daily or per-call spend budget, a call that would exceed it is rejected with
403 budget_exceededbefore any payment is signed or settled. - Quote. Tools with a variable price quote first. A quote can be used once and expires at the
expires_attime shown on it. After that, request a new quote.
After a paid call
Every paid call writes a signed receipt. It carries the category, the amount, and the status, plus thememo and decisionContext if you sent them. You can verify a receipt yourself with the SDK’s verifyReceipt() or the oneshot-verify-receipt CLI.
See also
- Pricing: what each tool costs and how quotes work.
- Spend budgets: daily and per-call caps.
- Receipts: list and read signed receipts.
- Credits: add prepaid credits.