Nicrron gateway
One API for every model.
Route, cache and observe your AI traffic through one OpenAI-compatible endpoint. Pay per token, no subscription.
Pay as you go · no subscription · chat prompts never stored
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.NICRRON_API_KEY,
baseURL: 'https://api.nicrron.ai/v1',
});
const response = await client.chat.completions.create({
model: 'anthropic/claude-sonnet-5',
messages: [{ role: 'user', content: 'Hello!' }],
});Live catalog
Every price, before you send a token.
Every model's price per million tokens, published before you send a request. No plans, no seats.
- models
- 129
- model makers
- 23
- modalities
- 5
- cache hit, not billed
- 12 ms
| Model | Context | Input / 1M | Output / 1M |
|---|---|---|---|
| Claude Opus 5.5Anthropic | 1M | $4.00 | $20.00 |
| GPT-6 SolOpenAI | 272k | $2.00 | $10.00 |
| Claude Sonnet 5.5Anthropic | 1M | $2.00 | $10.00 |
| DeepSeek V4 ProDeepSeek | 1M | $1.32 | $3.96 |
| Kimi K3.1 ProMoonshot AI | 1M | $2.00 | $10.00 |
| GPT-6 LunaOpenAI | 272k | $0.10 | $0.50 |
01 — Routing modes
Name the job, not the model.
Five routing slugs pick the model per request. Pin a specific model whenever you need to, or hand the gateway an ordered fallback list.
- nicrron/auto sends long prompts to a heavy model and short ones to a fast one.
- Fallback arrays cascade on 429 or 5xx before the first streamed byte.
- Every request is one OpenAI-compatible call; nothing new to learn.
nicrron/autoPicks by prompt length: over 2,000 characters goes to Claude Opus 5.5, Claude Sonnet 5.5, GPT-6 Sol or DeepSeek V4 Pro; shorter prompts to Claude Haiku 5.5, GPT-6 Luna or DeepSeek Flash.
nicrron/reasoningDeepSeek V4 Pro, GPT-6 Sol and Claude Opus 5.5, then Kimi K3 and GLM 5.3, for multi-step logic.
nicrron/codingClaude Opus 5.5, Claude Sonnet 5.5 and Kimi K2.7 Code, then GLM 5.3, Codestral and GPT-6 Sol.
nicrron/fastestClaude Haiku 5.5, GPT-6 Luna and DeepSeek Flash for the lowest latency.
nicrron/cheapestEvery chat model, cheapest list price first, so the first one that answers is the cheapest available.
02 — Failover and caching
Uptime you don't have to engineer.
Provider health is scored continuously with an EWMA latency model and circuit breakers. Deterministic requests are served straight from Redis, in milliseconds, for free.
- If a provider rate-limits or fails, the request moves to the next one instantly.
- Exact-match cache: 12 ms and $0.00 on a hit, scoped to your account, keyed by the full request.
- Send temperature 0 or x-nicrron-cache: true to opt in per request.
Latency, same request
cached requests are not billed
03 — Retention
We keep the bill, not your prompts.
We never store chat prompts. Completions are cached for up to 24 hours, only for your account, when temperature is 0 or you opt in.
- Stored: latency, status, token counts and a hash of the request.
- Never stored: chat prompts, embedding inputs or vectors, audio.
- Send x-nicrron-cache: false and a completion is never cached.
- Generated video and images stay 30 days for download, then are deleted.
Kept
- latency_ms
- status_code
- prompt_tokens · completion_tokens
- request_hash
- completion · 24 h cache
Never kept
- messages[]
- embedding input and vectors
- audio input
04 — Per-token billing
One balance, every cent visible.
Every request lands in your logs with its exact cost. Upstream prompt-cache discounts pass through automatically, and teams share one wallet with roles and alerts.
- Anthropic cache reads are 90% off, OpenAI cache reads 50% off, recorded in usage.
- Filter logs by date, model, provider and status; export to CSV or JSON.
- Owner, Admin, Developer and Viewer roles over a shared credit pool.
POST /hooks/nicrron HTTP/1.1
X-Nicrron-Signature: sha256=9b4a1f…
X-Nicrron-Event: alert.low_balance
{
"event": "alert.low_balance",
"data": {
"currentBalance": 4.5,
"threshold": 10,
"currency": "USD"
}
}05 — Also in the gateway
More than chat completions.
- Model Arena
- Benchmark two or three models on one prompt: TTFT, tokens per second and cost, with a blind mode.
- Teams and shared wallets
- One credit pool per organization: team keys spend it after owner approval, with roles and per-member budgets.
- Balance and spend alerts
- An email, plus an HMAC-SHA256 signed webhook if you add one, when the balance runs low or a day's spend passes your cap.
- Video and images
- Gemini Omni, Seedance, Kling, Wan, Grok Imagine, PixVerse, MiniMax, FLUX and Hailuo video, and Nano Banana, GPT Image, FLUX, Seedream, Qwen Image, Ideogram and Recraft images, as async jobs, cost charged upfront and refunded on failure.
- Audio
- OpenAI TTS and Whisper transcription through the standard SDK, billed on true audio duration.
- Embeddings
- OpenAI, Mistral and Voyage embeddings behind /v1/embeddings with automatic failover.
Providers
Every major lab, one key.
Frontier chat, reasoning, coding, embeddings, audio, image and video models behind a single endpoint.
- OpenAI30 models
- Anthropic14 models
- Z.ai11 models
- Mistral AI10 models
- xAI8 models
- ByteDance7 models
- Google7 models
- Kling AI7 models
- Moonshot AI6 models
- Voyage AI6 models
- ElevenLabs4 models
- MiniMax4 models
- Black Forest Labs2 models
- DeepSeek2 models
- Ideogram2 models
- PixVerse2 models
- Alibaba1 model
- MMAudio1 model
- Qwen1 model
- Recraft1 model
- Stability AI1 model
- Sync1 model
- Vidu1 model
Compared
Why teams pick Nicrron.
Curated models from the leading labs, every price before you send, and every feature on every account.
| Detail | Nicrron | OpenRouter | Vercel AI Gateway | LiteLLM |
|---|---|---|---|---|
| Planning spend | Every price on the model's page before you send. Video and image jobs quoted exactly, and refunded if they fail. Spend limits per key that stop at the limit. | Per-token prices on each model page. Per-key credit caps and workspace budgets. | Budgets per team, project, key or member, as a soft cap. Email alerts at 50, 75 and 100%. | Budgets and rate limits per key, user and team. Slack and webhook alerts. |
| Plans and tiers | None. Every feature is on every account from the first dollar, with no subscription. | Free, Standard, Business and Enterprise. Budget and key-spend alerts, and webhook delivery, are on Business and Enterprise. | Runs on Vercel accounts. Some extras, such as team-wide zero data retention and regional endpoints, cost extra. | Free open source. Email budget alerts and other features need an Enterprise license. |
| Response cache | On by itself for temperature-0 requests, kept 24 hours. A cache hit costs nothing. | Turned on per request with a header, kept 5 minutes by default. Hits are free. | No full-response cache. | Yes, once you set up Redis, S3 or similar. |
| Apps on the same account | Ninoo Builder, Ninoo Studio, Ninoo Code, Ninoo Git and Ninoo Marketplace, on one sign-in. | Ori, a coding agent for the terminal. | The v0 app builder and Vercel hosting. | No app builder or video studio. |
Planning spend
- Nicrron
- Every price on the model's page before you send. Video and image jobs quoted exactly, and refunded if they fail. Spend limits per key that stop at the limit.
- OpenRouter
- Per-token prices on each model page. Per-key credit caps and workspace budgets.
- Vercel AI Gateway
- Budgets per team, project, key or member, as a soft cap. Email alerts at 50, 75 and 100%.
- LiteLLM
- Budgets and rate limits per key, user and team. Slack and webhook alerts.
Plans and tiers
- Nicrron
- None. Every feature is on every account from the first dollar, with no subscription.
- OpenRouter
- Free, Standard, Business and Enterprise. Budget and key-spend alerts, and webhook delivery, are on Business and Enterprise.
- Vercel AI Gateway
- Runs on Vercel accounts. Some extras, such as team-wide zero data retention and regional endpoints, cost extra.
- LiteLLM
- Free open source. Email budget alerts and other features need an Enterprise license.
Response cache
- Nicrron
- On by itself for temperature-0 requests, kept 24 hours. A cache hit costs nothing.
- OpenRouter
- Turned on per request with a header, kept 5 minutes by default. Hits are free.
- Vercel AI Gateway
- No full-response cache.
- LiteLLM
- Yes, once you set up Redis, S3 or similar.
Apps on the same account
- Nicrron
- Ninoo Builder, Ninoo Studio, Ninoo Code, Ninoo Git and Ninoo Marketplace, on one sign-in.
- OpenRouter
- Ori, a coding agent for the terminal.
- Vercel AI Gateway
- The v0 app builder and Vercel hosting.
- LiteLLM
- No app builder or video studio.
Questions
Frequently asked.
What does a request cost?
Each model's list price, as shown in the catalog. Requests paid from credits add a 5% platform fee. With your own provider key, the provider bills you and we charge 5% of the list price. There is no subscription.
Is there free credit?
API keys run on paid credit only: add any amount by card and pay each model's list price plus the platform fee. A new account gets Ninoo credits to try the Ninoo Builder, Studio and Ninoo Code; those don't pay for API keys.
Do you store my prompts?
We never store chat prompts. Completions are cached for up to 24 hours, only for your account, when temperature is 0 or you opt in. Send x-nicrron-cache: false to turn the cache off for a request. We keep latency, status, token counts and a hash of each request for billing. Embedding inputs and audio are never stored. Video and image jobs keep their prompt and output for 30 days so you can download the result, then both are deleted.
How do the routing slugs work?
Send one of five slugs as the model: nicrron/auto picks by prompt length, nicrron/reasoning and nicrron/coding try a fixed list of strong models in order, nicrron/fastest prefers low-latency models, and nicrron/cheapest tries the cheapest chat models first. If a provider fails or rate-limits before answering, the next one is tried.
Can I generate video, images and audio?
Yes. POST /v1/videos/generations runs Gemini Omni 1.1 Flash, Seedance 2.5, 2.0 and 1.0 Pro, Kling O3, 3.0 and 2.5, Wan 3.0, Grok Imagine 1.5, PixVerse V6, MiniMax H3 Max, FLUX 3 Max and Hailuo 02 as async jobs, charged upfront and refunded if they fail. /v1/images/generations serves Nano Banana, GPT Image 2.5, FLUX 3, Seedream 5, Qwen Image 3, Ideogram 4.5 and Recraft V4.1. /v1/audio/speech and /v1/audio/transcriptions give OpenAI TTS and Whisper through the standard OpenAI SDK.
Do provider prompt-cache discounts reach me?
Yes. When a provider reports a prompt-cache read, you pay its cached rate: Anthropic cache reads are 90% off and OpenAI cache reads 50% off. The cached token counts appear in the response's usage.
Developers
Point your SDK at api.nicrron.ai.
Two lines change: the base URL and the key. Every model, one balance.
Builders
Describe an app and watch it get built.
Ninoo uses the same account: the Builder in your browser, Ninoo Code in your terminal, and Ninoo Studio for ads, films and posts. It spends Ninoo credits first, then paid credit.