Skip to content

One API endpoint for every model.

Route requests to the models you need through one consistent API. Compare pricing, control providers, and track usage and cost from a single console.

OpenAI-compatibleOne API keyPublic model catalog
curl https://zigarouter.bond/api/v1/chat/completions \
  -H "Authorization: Bearer zr_live_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "zigalabs/zigal-chat",
  "messages": [{"role": "user", "content": "Explain what an AI gateway is in two sentences."}],
  "stream": false,
  "temperature": 0.7,
  "max_tokens": 512,
  "usage": {"include": true}
}'
POST /api/v1/chat/completionsOpenAI-compatible
—MODELS IN CATALOG
—GATEWAY PROBE
1API KEY / BASE URL
v1API VERSION

Built for production routing

The gateway handles validation, provider selection, usage accounting, and consistent errors before your application sees a response.

01

OpenAI-compatible API

Chat completions, SSE streaming, tools, and usage metadata use the familiar request shape. No rewrite of your application.

02

Provider routing

Filter candidates by health and policy, then rank by price, latency, throughput, or an explicit provider order.

03

Failover before streaming

Retry another healthy endpoint on connection failures, upstream 429, and 5xx — never after the first streamed chunk.

04

Usage and cost ledger

Each request records tokens, provider, latency, status, and cost. Balances are reconcilable from an append-only ledger.

Drop in, don't rewrite.

Point the OpenAI SDK at ZigaRouter and keep your messages, tools, and streaming handlers. The gateway speaks the same request and response format.

migration.diff
- baseURL: "https://api.openai.com/v1"
+ baseURL: "https://zigarouter.bond/api/v1"

Start in three steps

  1. 01

    Create an API Key

    Sign up, verify your email, and issue a key from the dashboard. The secret is shown once.

    Get API Key →
  2. 02

    Pick a model

    Compare catalog entries by capability, context length, provider, and per-million-token price.

    Browse models →
  3. 03

    Send the first request

    Point your OpenAI-compatible client at the ZigaRouter base URL and send a chat completion.

    Read API docs →

Models & transparent pricing

Live catalog data. Prices are stated per one million tokens.

View full directory →
Model IDContextInput / 1MOutput / 1MStatus

Ready to send your first request?

Create an API key, choose a model, and call the gateway through the same API you already use.

Get API Key