Work · Inference router
xgate
xgate is an inference router for programs that hold a wallet: get a 402 quote, pay it, get the result. No account, no API key, and failed inference is not charged.
Open xgateIn short
xgate is Daydreams’ inference router for programs that hold a wallet. A request comes back as an HTTP 402 quote with a maximum charge; the program pays it and gets the result. There is no account and no API key, failed inference is not charged, and the charge never exceeds the quote. It speaks the Anthropic and OpenAI request formats.
Who it is for
Agents and backend programs that need model inference and would rather pay per request from a wallet than manage accounts, API keys, and monthly bills with each provider.
How it works
- 01
Ask without paying
Send the inference request with no payment. xgate answers 402 with a quote: the maximum charge, when it expires, and the payment options it accepts. Nothing runs and nothing is charged.
- 02
Pay one option
A wallet client signs exactly one offered option, on Base, Solana, or Tempo, and resends the identical request with the credential and the quote binding.
- 03
Keep the result
The result comes back once. xgate does not store it, so save it. Failed inference is not charged, and any hold above the actual charge is released.
Published evidence
- xgate publishes an OpenAPI contract and a plain-text brief for agents.
- Paid routes accept Anthropic Messages, OpenAI Responses, and OpenAI Chat Completions request formats.
- The quote states the maximum charge before any payment is made.
Limitations
- A published model catalog does not mean public admission is open; check paid readiness first.
- Payments are in real assets on mainnet. Test with small amounts.
- The router does not retain results and cannot improve the upstream model's output.