Enterprise LLM Gateway

Every model. One API key.

Sub-millisecond routing compute with intelligent fallback, AI guardrails, and real-time cost controls — for your teams and your agents.

import { nRouter } from "@nrouter_ai/sdk"

const client = new nRouter({
  model: "deepseek-v4-pro",
})

console.log("Running nRouter agent...")

const stream = await client.chat.completions.create({
  model: "deepseek-v4-pro",
  messages: [
    { role: "user", content: "Explain Tokio SIMD" }
  ],
  stream: true,
})

for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content || "")
}

console.log("Done")

Your AI stack, unified.

Scrolling pauses while you hover over or focus this strip.

Architecture

Every request runs through one gateway.

Every call clears the AI Security layer first: WAF, DDoS shielding, rate limits, and per-org budgets. Then your routing policies apply.

Your apps
  • Chat apps
  • Agents
  • RAG
  • SDKs
sk-nrouter-••••one key
AI Security
  • WAF
  • DDoS
  • Rate limits
  • Budgets
nRouter.ai
in path
  • GuardrailsPII + injection, in & out
  • Smart routingYour routing strategy
  • Budgets & creditsEnforced spending limits
  • Semantic cacheDedupe repeat prompts
  • FallbacksRetry across providers
  • ObservabilityLogs, traces, spend
Every provider
  • Azure FoundryAzure Foundry
  • Alibaba USAlibaba US
  • Google Vertex AIGoogle Vertex AI
  • AnthropicAnthropic
  • OpenAIOpenAI
  • AWS BedrockAWS Bedrock
Multi-providermodels · one bill

Your apps use one nRouter key. We manage the provider credentials.

Platform

Everything you need. Nothing you don't

Gateway, guardrails, routing, and budgets. One platform for production AI.

Route by cost, latency, or weight. Fall back when a model fails.

  • Fallback chains
  • Model aliases

SDKs & Frameworks

Use the stack you already know.

Install a published nRouter SDK or keep your existing OpenAI-compatible client and change the base URL.

Python

Published on PyPI

pip install nrouter-sdk

TypeScript

Published on npm

npm install @nrouter_ai/sdk

Swift / iOS

Swift Package Manager

.package(url: "https://github.com/nRouterGateway/nrouter-sdk.git", from: "3.1.2")

Go

Published on pkg.go.dev

go get github.com/nRouterGateway/nrouter-sdk/sdks/go/v3@v3.1.2

Java

Published on Maven Central

implementation("ai.nrouter:nrouter-sdk:3.1.2")
K

Kotlin

Published on Maven Central

implementation("ai.nrouter:nrouter-sdk-kotlin:3.1.2")

Android

Published on Maven Central

implementation("ai.nrouter:nrouter-sdk-android:3.1.2")

REST API

OpenAI-compatible HTTP

https://api.nrouter.ai/v1/chat/completions

R

Published on R-universe

install.packages("nrouter", repos = "https://nrouterai.r-universe.dev")

Model Marketplace

Choose your model, one API.

Browse live models and pricing. Use them with one nRouter key.

Loading live models

Proven at Scale

Architecture Case Studies & Reference Workloads

Representative architectures and design partner benchmarks demonstrating nRouter routing at scale. Explore our customer case studies below.

< 2msROUTING COMPUTELive Sports · Benchmark

nRouter handles our peak playoff traffic with automated cross-cloud failover and sub-2ms internal routing compute. Zero dropped fan requests during game-ending buzzer beaters.

Live basketball arena used by NBA Sports Tech
Marcus Vance
VP of Platform Architecture · NBA Sports Tech
500M+SECURE INTERACTIONSBanking · Reference Arch

With real-time inline PII redaction and sovereign data boundaries, nRouter lets our engineering teams deploy LLMs at national scale while exceeding regulatory audits.

Sovereign banking infrastructure at State Bank of India
Sunil Mehta
Head of Enterprise AI Governance · SBI
4.2xTHROUGHPUT BOOSTEdTech · Benchmark Study

Swapping models and setting per-student rate limits took two lines of code. Our unit costs dropped 38% while throughput quadrupled across global learners.

Collaborative engineering workspace at Brainly
Elena Rostova
Principal AI Engineer · Brainly
100%BUDGET CAP ENFORCEDAgent Infrastructure

The virtual key architecture and pre-call budget reservation completely eliminated runaway LLM spend and unexpected bill shock for our agent fleet.

Personal AI team member working in a warm studio
Suman Kanuganti
CEO & Founder · Personal AI
12M+TICKETS RESOLVEDCustomer AI · Reference Arch

nRouter handles our automated customer service agents with zero-downtime failover between Claude and GPT. Our enterprise SLAs are consistently met at 99.99%.

Autonomous AI customer support agents powered by nRouter
Jesse Zhang
CEO & Co-Founder · Decagon AI
< 5msROUTING COMPUTEEnterprise Search · Benchmark

Smart routing across multi-modal embedding models cut our inference costs by 45% while keeping routing compute under 5ms worldwide without vendor lock-in.

Enterprise search infrastructure powered by nRouter
Arjun Sethi
VP of Engineering · Percept Labs