the402 endpoint detail

← All endpoints

agent402.tools chat completions

https://agent402.tools/v1/auto/chat/completions

answers 402

OpenAI-compatible chat completions with the model chosen server-side: omit model and the gateway routes the prompt to the top-ranked model for its task (code, reasoning, long-context, general) from a fixed eval-derived ranking, failing over automatically on provider errors. Flat price per call, 16k chars in, 1024 tokens out, streaming supported. Use it as a drop-in OpenAI base_url when you want go

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.01
Network
base
Pay to
0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
529 ms
Payment options
13 usable of 13
Last checked
2026-09-06T01:11:38.147Z (19d ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fagent402.tools%2Fv1%2Fauto%2Fchat%2Fcompletions"