Enterprise LLM Gateway

Every model. One API key.

Sub-millisecond LLM gateway with smart routing, 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.create({
  model: "deepseek-v4-pro",
  messages: [
    { role: "user", content: "Explain Tokio SIMD" }
  ],
  stream: true,
})

for await (const chunk of stream) {
  process.stdout.write(chunk.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/nRouterAI/nrouter-sdk.git", from: "2.2.1")

Go

Published on pkg.go.dev

go get github.com/nRouterAI/nrouter-sdk/sdks/go/v2@v2.2.1

Java

Published on Maven Central

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

Kotlin

Published on Maven Central

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

Android

Published on Maven Central

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

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.

0 models displayed

Proven at Scale

Trusted by engineering leaders worldwide

From high-concurrency live sports to sovereign banking AI, see why leading teams deploy production LLMs on nRouter.