Pay per request with x402.

Send a request with no key and the header X-PAYMENT: new to https://api.uncensoredllm.ai/v1/chat/completions and the API answers HTTP 402 with an x402 quote and a crypto checkout link. Pay it, resend the same request with X-PAYMENT: <payment id>, and it runs on a model such as glm-5.3-uncensored without any sign-up or credential. Each checkout is at least $1.

Get a key

The four steps

  1. Ask. POST the request with no Authorization header and with X-PAYMENT: new. Without that header a keyless request is refused with 401.
  2. Get the quote. The 402 body is an x402 PaymentRequired object: accepts[0].payTo is the checkout link, amount the dollars to pay, and extra.payment_id the id.
  3. Pay. Open the checkout and pay in crypto. Until it confirms, a resend answers 402 x402_payment_pending.
  4. Resend. Send the identical request with X-PAYMENT: <payment id>; it runs and returns the normal response.
bash
1curl -i https://api.uncensoredllm.ai/v1/chat/completions \
2 -H "Content-Type: application/json" \
3 -H "X-PAYMENT: new" \
4 -d '{"model": "glm-5.3-uncensored",
5 "messages": [{"role": "user", "content": "Summarize x402 in one line."}]}'
6# -> HTTP/1.1 402 Payment Required: accepts[0].payTo (checkout link), amount (USD), extra.payment_id
7# Pay, then resend the same request with -H "X-PAYMENT: <payment_id>"

When x402 fits, and when a key fits better

Use x402 forUse a key for
An agent that pays its own way with no stored credentialAnything that runs more than a handful of times
A one-off script on a machine you don't trust with a keyApps where waiting on a checkout would be too slow
Trying a model with no sign-up at allVolume work, which earns the bonus credit and co-op discount

One payment can serve several requests: each request sent with the same payment id spends it down, and whatever is left after the last one stays with the service. The $1 minimum makes it a poor fit for thousands of tiny calls; a key topped up from $3 is cheaper there.

What x402 leaves behind

No account and no key. The checkout records the payment, and usage is recorded per request as usual. Prompt bodies aren’t stored (see the private-API page).

x402: questions

What is x402?

An open protocol that uses HTTP status 402, "Payment Required", so a server can quote a price and a client can pay and retry automatically. Here a keyless request with X-PAYMENT: new opens a one-time crypto checkout; you reuse the payment id across requests. See x402.org.

Is there a minimum payment?

Yes, $1. Requests sent with the same payment id spend it down, and any remainder after the last one is not refunded.

Which endpoints accept x402?

The text endpoints, including chat completions, Anthropic-format messages and Responses. Media generation and some others need a key; the docs list the current set. See the docs.

Read next

Join on TelegramHelp