The AI gatewayone endpoint, every model

All your AI traffic.One central router.

SentralRouter gives your product a single OpenAI-compatible endpoint for every major model, with smart routing, automatic failover and spend controls built in.

Change one line. Keep your SDK.

Requests inModels out
Chat app
Agents
Batch jobs
OpenAI
Anthropic
Google429
Mistral
Meta

routing · all providers healthyrerouting around Google

429 Google → rerouted to Anthropic

Your app
Agents
OpenAI
Google429
Anthropic

429 Google → rerouted to Anthropic

One key for

  • OpenAI
  • Anthropic
  • Google
  • Mistral
  • Meta
  • DeepSeek
  • xAI
  • Cohere
  • Qwen

How it works

Swap the base URL. That’s the integration.

SentralRouter speaks the OpenAI API, so the SDK you already use keeps working. Every provider becomes a model string away.

  1. Create a key

    One SentralRouter key replaces a drawer full of provider keys.

  2. Point your SDK at it

    Swap the base URL. Requests, streaming and tool calls keep their shape.

  3. Route by rule

    Pick models per request, add fallbacks and budgets, and watch every call in one place.

import OpenAI from "openai";const client = new OpenAI({baseURL: "https://[YOUR-API-HOST]/v1",apiKey: process.env.SENTRALROUTER_API_KEY,});const reply = await client.chat.completions.create({model: "anthropic/claude-sonnet-5-5",messages: [{ role: "user", content: "Hello!" }],});

200 OKrouted to anthropic412 msexample response

What it handles

Everything between your app and the model.

Routing, resilience and visibility live at the center, so your code stays a single API call.

Smart routing

Each request goes to the fastest healthy model, or to the one you pin. A slow provider never becomes your latency.

Automatic failover

Rate limits and upstream errors are retried on your fallback models before your app ever sees them.

Spend controls

Give every key a budget. Cost is tracked per request, and a key pauses the moment it reaches its cap.

One log for everything

Every call, across every provider, lands in one stream with tokens, latency and cost attached.

The screens are illustrations. Their figures are examples.

Put every model behind one line.

Create a key, swap your base URL and ship. The routing is on us.