One key for every model,
one bill.
OpenAI, Anthropic and Gemini shaped traffic through a single endpoint. Swap the provider by changing one string; the client keeps working.
Every model, one price list.
| model | family | context | p50 | mult | status |
|---|---|---|---|---|---|
| reading the gateway… | |||||
Provider accounts are the tax you pay for using models. One endpoint deletes that tax, and keeps the door open when a provider goes dark at three in the morning.
See pricingKeys are issued per account and hashed at rest. Rotate one and every client rotates with it.
Tokens metered once, in one place. No reconciling four dashboards to learn what last week cost.
When an upstream dies, that model family moves to the next healthy provider without a code change.
Bring one account in, take 5M tokens. Up to 5M a day.
The bonus lands when your friend signs up with your code. Claim it from the Telegram bot with /klaim, one slice a day, and only from an account that has finished verification.
Point the SDK at one URL. That is the migration.
curl https://ai.xrouters.xyz/v1/chat/completions \
-H "Authorization: Bearer $XR_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek/deepseek-v4.1-flash",
"messages":[{"role":"user","content":"hello"}]}'The things people ask before signing up.
Do I need accounts with every provider?
No. You buy tokens from this account and the gateway holds the provider relationships. One key, one balance.
What happens when a provider goes down?
The router moves that model family to the next healthy upstream. Your client sees one endpoint, so nothing changes.
Can I cap spend per key?
Yes. Each key has its own token budget, RPM limit, model whitelist and expiry, and can be revoked alone.
Does it work with the OpenAI and Anthropic SDKs?
Both shapes are served: /v1/chat/completions for OpenAI clients, /v1/messages for Anthropic ones.