One API for the best AI models

Every top AI model. One API key.

Connect Claude, GPT, Gemini, DeepSeek and Qwen to your apps and coding agents through an OpenAI-compatible endpoint. Just change the base_url. No subscription.

49Active models in the catalog
$0.0011From / 1M units
2 poolsRegular & Premium
Click to switch model:1 API key
——

Every response carries x-cost-rupiah and x-units-used headers.

Works out of the box with popular coding agents & SDKs:

  • Claude Code
  • OpenCode
  • Codex CLI
  • Cursor
  • Cline
  • Roo Code
  • Continue
  • OpenAI SDK
  • Vercel AI SDK
Why Zephrouter

Affordable, transparent, and fully under control.

Two token pools

Separate balances, control your spend.

Regular pool for volume, Premium for the best models. No cross-pool fallback, so your bill never surprises you.

Regular$0.0011 / 1M units
Premium$0.0016 / 1M units
Telemetry

Cost & latency on every response.

x-latency-ms, x-ttft-ms, x-units-used and x-cost-rupiah headers come back without parsing the body.

x-modelzr/claude-sonnet-5.5
x-ttft-ms148
x-cost-rupiah114
Balance safety

Scoped API keys, safe balance on failure.

Create per-project keys limited to a pool. Failed upstream requests are refunded automatically.

Reserve(prompt + max_tokens) × multiplier
Upstream error 502refund ↻
Settleactual units · 200 OK
Model catalog

Pick the best model for every task.

49 models from 12+ vendors through one API key. Filter by vendor, capability and pool.

See all 49 models →

Showing 8 of 49 models. See the full catalog with search and filters →

How to start

Three steps, under two minutes.

01

Sign up & top up

Create an account and add balance to the Regular or Premium pool.

02

Create an API key

Generate a key per project with the right pool scope.

03

Change base_url

Point your SDK or coding agent at Zephrouter and send your first request.

FAQ

Frequently asked questions.

Need more technical detail? Open the documentation.

All FAQs →Open documentation →

Is this a monthly subscription, and can my balance expire?

It is not a subscription. You top up a balance and are only charged when requests run. There are no per-seat fees for team members.

What is the difference between the Premium and Regular pools?

Two token pools with separate balances. Regular is $0.0011 and Premium is $0.0016 per 1M units. Model price = pool price × model multiplier, and the balance is charged from the pool of the model you call. There is no cross-pool fallback.

Do I have to rewrite my code?

No. The endpoint is OpenAI-compatible. Just change base_url and the API key; your existing SDKs and coding agents keep working, including SSE streaming.

How is the cost per request calculated?

units = (prompt + completion) × model multiplier, then cost = units × pool price / 1,000,000. Every response carries x-units-used and x-cost-rupiah headers so you can track it without parsing the body.

What happens when my balance runs out?

The gateway replies 402 insufficient_quota. Top up the right pool and carry on. Requests that fail upstream are automatically refunded.

How do I limit usage per project?

Create a separate API key per project with a specific pool scope (premium, regular or both), and revoke it any time from the dashboard.

Start integrating in seconds.

One account for dozens of top AI models. No monthly contract, pay purely for usage.