Pay-per-call LLM
chatPay-per-call LLM, no API key. Sends messages to Fuse chat completions; agentpay settles the standard x402 v2 BSV 402 from this wallet and returns the completion plus receiptUrl and txid. Models: fuse-fast (500 sats) or fuse-smart (2500 sats). Wallet limits, scoped keys, and trial budgets apply. Pass dryRun to quote without spending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Agent key (agp_…). Optional when the MCP connection sends Authorization: Bearer. | |
| ref | No | ||
| model | No | Fuse model (default fuse-fast). fuse-fast = 500 sats, fuse-smart = 2500 sats. | |
| dryRun | No | Quote + policy check only, no debit or settlement | |
| messages | Yes | OpenAI-style chat messages | |
| approvalId | No | Approval id from a prior approval_required response | |
| max_tokens | No | ||
| amountCents | No | Override the USD cents charged (min 1 cent default) | |
| description | No |