API reference
Base URL https://pay.omnidev.tech. This table is generated from the live openapi.json; the OpenAPI document is the contract of record.
Live data as of 2026-10-16 15:20 UTC. This page is generated from the live API (https://pay.omnidev.tech/v1/models and /v1/packages); the API itself is always authoritative.
| Method | Path | Summary | Payment | Responses |
|---|---|---|---|---|
POST | /v1/chat/nano | Chat completion (nano): <= 1000 in / 256 out tokens | MPP | 200, 400, 402, 409, 503 |
POST | /v1/chat/small | Chat completion (small): <= 8000 in / 1024 out tokens | MPP | 200, 400, 402, 409, 503 |
POST | /v1/brief | Cited research brief from your quotes | MPP | 200, 400, 402 |
POST | /x402/chat-nano | Chat completion (nano): <= 1000 in / 256 out tokens | x402 | 200, 400, 402, 409, 503 |
POST | /x402/chat-small | Chat completion (small): <= 8000 in / 1024 out tokens | x402 | 200, 400, 402, 409, 503 |
POST | /x402/brief | Cited research brief from your quotes | x402 | 200, 400, 402 |
GET | /v1/models | Catalog: price per Mtok, context, rails | free / key | 200 |
GET | /v1/models/{model} | get_model | free / key | 200, 404 |
POST | /v1/chat/completions | OpenAI-compatible chat completion over the catalog | MPP | 200, 400, 402, 404, 409, 502, 503 |
GET | /v1/packages | list_packages | free / key | 200 |
POST | /v1/packages/{sku} | Buy a prepaid package (MPP charge; x402 upto at /x402/packages/{sku}) | MPP | 200, 402, 503 |
GET | /v1/packages/me | package_balance | free / key | 200 |
POST | /v1/packages/{sku}/checkout | Card checkout (Stripe) for the 10M and 100M token packs | free / key | 200 |
Discovery documents
- https://pay.omnidev.tech/openapi.json: routes, prices, payment protocols, schemas
- https://pay.omnidev.tech/v1/models: model list with prices, context and rails (OpenAI-style)
- https://pay.omnidev.tech/v1/packages: prepaid packages and availability
- https://pay.omnidev.tech/.well-known/x402: x402 discovery
- https://pay.omnidev.tech/llms.txt: plain-text guide for LLM agents
- https://pay.omnidev.tech/health: service health
Authentication
There are no accounts. Pay-per-call routes authenticate by payment (a 402 challenge answered with an MPP or x402 credential). Prepaid packages issue an API key used as Authorization: Bearer ... on /v1/chat/completions and /v1/packages/me.
See also: Quick start · Payments and nonces · Packages