Chat completions
POST https://agent402.tools/v1/chat/completions
OpenAI-compatible chat completions paid per call in USDC: point any OpenAI SDK at this base URL and send a normal chat request, with the model chosen from a curated list and streaming supported. Use it when an agent needs a model answer without an API key or an account, one call at a time, with a receipt for each.
Warnings
Wallet mismatch The payout wallet in its live payment answer differs from its catalogue listing on the same network.
How to buy
This endpoint takes pay-per-call payments over x402. Call it once without paying to see its live price; any x402 client then pays and retries automatically.
curl -i -X POST "https://agent402.tools/v1/chat/completions"
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the responseRecent checks
| Checked (UTC) | Result | Status | Time | Live price |
|---|---|---|---|---|
| 2026-10-11 12:46 | Valid 402 | 402 | 877 ms | $0.02 |
| 2026-10-11 08:16 | Valid 402 | 402 | 860 ms | $0.02 |
| 2026-10-11 04:00 | Valid 402 | 402 | 1437 ms | $0.02 |
| 2026-10-10 23:30 | Valid 402 | 402 | 729 ms | $0.02 |
| 2026-10-10 18:15 | Valid 402 | 402 | 150 ms | $0.02 |
Receipts
No test purchases yet. Graded test purchases are next on our list; until then every number here comes from unpaid checks.
What a check proves