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.
- 1anthropic/claude-opus-5-5429 rate limited · moved on in 0.2 s
- 2anthropic/claude-sonnet-5-5200 · first token 0.6 s · answered in 2.1 s
- 3moonshot/kimi-k2.7-codenot needed
- 4z-ai/glm-5.3not needed
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.
| Model | Status | Tokens | Latency | Cost |
|---|---|---|---|---|
| claude-sonnet-5-5gen-3b81c0… | 200 OK | 2,453 | 2,104 ms | $0.0147 |
| gpt-6-lunagen-91fa2e… | 200 OK | 400 | 640 ms | $0.0001 |
| gpt-6-lunagen-77d04b… | Cached | 400 | — | $0.0000 |
| deepseek-v4-progen-c2e9a1… | 200 OK | 5,600 | 7,820 ms | $0.0049 |
| kimi-k3gen-0be3f7… | 502 | 980 | 30,000 ms | $0.0000 |
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.
Daily spend, last 30 days
- 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.
- productionUsed 2 min agosk-af-7Qm…600 / min$212.48 spent of $500.00
- stagingUsed yesterdaysk-af-c1X…60 / min$8.91 spent of $50.00
- eval-batchUsed 3 days agosk-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.
- Priya (you)Owner
- MarcoAdmin
- LeeDeveloper
- FinanceViewer
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.