Guide · Pay from Solana
Pay from Solana
A buyer on Solana pays for inference with the USDC it already holds on Solana. Each call is paid with x402, with no key, no gas and no account with us.
The path
| Step | Where | What happens |
|---|---|---|
| 1 | Solana | USDC (SPL) in the buyer's own Solana wallet. No move: the door settles this network. |
| 2 | coord.taifoon.dev | Call /v1/chat/completions. It answers 402 with x402 terms; your client signs one authorization and the call is answered and settled. |
1. Hold USDC on Solana
USDC (SPL) in the buyer's own Solana wallet. no move: the door settles exact on Solana (the facilitator named in the challenge is the fee payer).
2. Call, paid with x402
Without a key the call answers 402. The PAYMENT-REQUIRED header holds the terms: one exact entry per network the door settles, the amount, and the address that is paid. Pick the entry for solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp (Solana, USDC). You never type the payee: it is read from the challenge.
curl -i -X POST https://coord.taifoon.dev/v1/chat/completions \
-H "content-type: application/json" \
-d '{"model":"llama-3.3-70b","messages":[{"role":"user","content":"hello"}],"max_tokens":64}'Any x402 v2 client with the Solana exact scheme pays it: it signs one SPL transfer, and the fee payer the challenge names pays the fee, so the wallet holds USDC only.
A key is free and not needed to pay with x402. A call sent with a key is paid from that key's balance; a call sent without one is paid with x402. Each model also has its own path, /v1/chat/completions/<model>. Prices lists every priced wall.
What it takes
- USDC (SPL) in a Solana wallet the buyer signs for (no SOL for fees: the challenge's feePayer pays them)
Nothing from Taifoon: no key, no registration, no account and no spec before the first paid call. The money lands per call in vault:taifoon:solana-ops.
How this was checked
the door's 402 challenge offers exact on solana mainnet (read 2026-10-22T18:04:25Z). Proven by a quote or a challenge: yes. Quotes and challenges only: nothing was deposited, signed or paid to check this page.