Pricing and usage
Directory pricing
Published endpoints expose public price metadata in the directory. Use getApi / listApis to show amounts before calling.
402 amount
When payment is required, the 402 body includes accepts[] with totalAmount, asset, and splits (provider + platform). The SDK pays that amount automatically.
After payment
There is no separate consumer “usage” API on the SDK for marketplace calls. Track:
- Your own request logs
- On-chain USDC transfers from your wallet
- Provider dashboard analytics (if you are an API publisher)
Inference cost breakdowns are documented under Inference pricing.