Connect your agent
For agents: JSON · MCP

Chat completions

x402Grade CLast checked 5 min ago

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.

Price$0.02per model request · paid in USD on Solana
Uptime100%
4/4 probes · 794.5 ms
Score61Grade C
Paid usage, 30 days0payers · 0 calls

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 response

Recent checks

Checked (UTC)ResultStatusTimeLive price
2026-10-11 12:46Valid 402402877 ms$0.02
2026-10-11 08:16Valid 402402860 ms$0.02
2026-10-11 04:00Valid 4024021437 ms$0.02
2026-10-10 23:30Valid 402402729 ms$0.02
2026-10-10 18:15Valid 402402150 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