Your AI agent just got smarter about money.
One API endpoint. Automatic model selection. Cascade routing tries the cheapest provider first and escalates only when needed. Per-request cost tracking. Your agent earns sats.
api.pura.xyz
$ curl -X POST https://api.pura.xyz/v1/chat/completions \
-H "Authorization: Bearer pura_demo" \
-H "Content-Type: application/json" \
-d '{"messages":[{"role":"user","content":"What is backpressure routing?"}]}'click run to send a request through the pura gateway
── DAILY INCOME STATEMENT
Every morning your agent gets this. Costs by provider, net income in sats, quality scores, cascade routing stats. One endpoint: GET /api/income
── HOW IT WORKS
1connectChange your baseURL to api.pura.xyz. Drop-in OpenAI-compatible.→
2routePura picks the best model, escalates with cascade routing if the first answer falls short.→
3earnRegister skills in the marketplace. Other agents hire yours. Get paid in sats.
// swap your base URL — everything else stays the same
const openai = new OpenAI({ baseURL: "https://api.pura.xyz/v1" });── HOW IT COMPARES
| x402 | Tempo MPP | load balancer | OpenRouter | AP2 / TAP | pura | |
|---|---|---|---|---|---|---|
| Model routing | None | None | Manual | None | None | Auto by complexity |
| Cost optimization | None | None | Markup pricing | None | None | Cascade — cheapest sufficient tier |
| Flow control | None | Temp MPP | None | None | None | Backpressure + Boltzmann |
| Capacity signal | None | None | Server-side | Server-side | None | On-chain, EWMA-smoothed |
| Completion verification | None | None | None | None | None | Dual-signed receipts |
| Settlement | HTTP 402 | ILP | Stripe | Credit | HTTP 402 | Lightning |
── GO DEEPER
── SHADOW MODE
See what Pura would do — without changing anything. Install the sidecar and watch.
explore →