Features

Everything the gateway does, as you'll see it.

One OpenAI-compatible endpoint in front of every major model, with the routing, logs, spend and controls a team needs to run it in production.

01 — Routing and failover

If a provider fails, the request moves on.

Name a job instead of a model, or pin one. Each request walks an ordered chain until something answers, and you are billed once, for the model that did.

  • nicrron/auto, reasoning, coding and fastest each expand to a chain of models.
  • A 429 or 5xx before the first byte moves the request to the next endpoint.
  • Steer it per request: only, ignore, order, or sort by price, latency or throughput.
Request trace · gen-3b81…Sample data
model "nicrron/coding" → expanded to the coding chain
  1. 1
    anthropic/claude-opus-5-5429 rate limited · moved on in 0.2 s
  2. 2
    anthropic/claude-sonnet-5-5200 · first token 0.6 s · answered in 2.1 s
  3. 3
    moonshot/kimi-k2.7-codenot needed
  4. 4
    z-ai/glm-5.3not needed
x-nicrron-cache: MISS · billed once, to the model that answered

02 — Logs

Every request, with its cost.

Each request lands in your logs with the model and provider that served it, tokens in and out, latency, time to first token and the exact cost.

  • Cache hits show as cached and cost nothing.
  • Failures show the provider and the status it returned.
  • Export any range as CSV or JSON.
LogsSample data
ModelStatusCost
claude-sonnet-5-5gen-3b81c0…200 OK$0.0147
gpt-6-lunagen-91fa2e…200 OK$0.0001
gpt-6-lunagen-77d04b…Cached$0.0000
deepseek-v4-progen-c2e9a1…200 OK$0.0049
kimi-k3gen-0be3f7…502$0.0000
Filter by date, model, provider and status · Export CSV or JSON

03 — Spend

See where the money goes.

Daily spend and spend per model, from the same records you are billed from.

  • Prices are each provider's list price. Requests paid from credits add a 5% platform fee.
  • Upstream prompt-cache discounts are passed through and recorded.
  • Look up any single request's cost with /v1/generation.
UsageSample data

Daily spend, last 30 days

$3.40$6.80Sep 19: $1.10Sep 19Sep 20: $1.13Sep 21: $3.18Sep 22: $2.67Sep 23: $3.06Sep 24: $2.55Sep 24Sep 25: $2.94Sep 26: $1.31Sep 27: $1.34Sep 28: $3.21Sep 29: $2.70Sep 29Sep 30: $3.09Oct 1: $3.48Oct 2: $2.97Oct 3: $1.52Oct 4: $1.55Oct 4Oct 5: $3.24Oct 6: $3.63Oct 7: $3.12Oct 8: $3.51Oct 9: $3.00Oct 9Oct 10: $1.73Oct 11: $6.80Oct 12: $3.27Oct 13: $3.66Oct 14: $3.15Oct 14Oct 15: $3.54Oct 16: $3.93Oct 17: $1.94Oct 18: $1.97
Spend by model, 30 daysSample data
  • claude-sonnet-5-5$31.20
  • deepseek-v4-pro$14.60
  • gpt-6-luna$7.90
  • text-embedding-3-small$2.30

04 — Keys

A key per job, each with its own limits.

Give every service its own key with a per-minute rate limit and a lifetime spend limit, and see what each one has spent.

  • A key that reaches its spend limit stops with a clear 403.
  • Rate-limit headers on every response, retry-after on a 429.
  • Bring your own provider keys if you have them.
API keysSample data
  • productionUsed 2 min ago
    sk-af-7Qm…600 / min$212.48 spent of $500.00
  • stagingUsed yesterday
    sk-af-c1X…60 / min$8.91 spent of $50.00
  • eval-batchUsed 3 days ago
    sk-af-Lp4…120 / min$41.07 spent of no limit

05 — Teams and alerts

Run it as a team.

One credit pool per organization with roles, and alerts when the balance runs low or a day's spend passes your cap.

  • Owner, Admin, Developer and Viewer roles.
  • Team keys spend the shared balance after owner approval, with per-member monthly budgets.
  • Alerts arrive by email, and as HMAC-SHA256 signed JSON at any HTTPS endpoint you add.
  • Slack and Discord incoming webhooks show them as a message.
Team · shared walletSample data
Balance
$1,284.60
  • Priya (you)Owner
  • MarcoAdmin
  • LeeDeveloper
  • FinanceViewer
Alert sentSample data
POST /hooks/nicrron
X-Nicrron-Event: alert.low_balance
X-Nicrron-Signature: sha256=9b4a…

{
  "event": "alert.low_balance",
  "data": {
    "currentBalance": 48.2,
    "threshold": 50,
    "currency": "USD"
  }
}

06 — Also in the gateway

More than chat completions.

  • Embeddings

    OpenAI, Mistral and Voyage behind /v1/embeddings, with the same fallback lists as chat.

  • Video and images

    Seedance, Veo, Kling, Hailuo and Nano Banana as async jobs, charged upfront and refunded on failure.

  • Speech and transcription

    OpenAI text to speech and Whisper, billed on true audio duration.

  • Model Arena

    Two or three models on one prompt: time to first token, tokens per second and cost, with a blind mode.

  • Zero chat retention

    Chat, embedding and audio payloads stream through memory; only token counts and hashes are kept.

  • Prompt-cache discounts

    Upstream cache reads pass through: 90% off with Anthropic, 50% off with OpenAI.

Two lines to switch.

Base URL and key. The rest of your OpenAI SDK code stays as it is.