One API. Every Model.

One API for the AI ecosystem.

Stop managing dozens of AI APIs. ProRouter gives you a single endpoint across models and providers, with smart routing, automatic fallback, one wallet, and full usage analytics.

terminal — first request
curl https://api.prorouter.com/v1/chat/completions \
  -H "Authorization: Bearer $PROROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "beam",
    "messages": [
      { "role": "user", "content": "Hello, ProRouter" }
    ],
    "stream": true
  }'
OpenAI-compatibleStreaming SSEAutomatic fallbackUnified model accessINR walletUsage analytics
Unified API

Drop-in compatible with the OpenAI SDK.

One integration reaches every model in the ecosystem. Change two lines — your API key and base URL — and keep streaming, tool calls, JSON mode and structured outputs exactly as you know them.

  • POST /v1/chat/completions with streaming
  • GET /v1/models to list everything available
  • Normalized error format with request IDs
  • Usage metadata on every response
quickstart.ts
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.PROROUTER_API_KEY,
  baseURL: "https://api.prorouter.com/v1",
});

const stream = await client.chat.completions.create({
  model: "deepseek-v4.1-flash",
  messages: [{ role: "user", content: "Hello!" }],
  stream: true,
});

for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content ?? "");
}
Smart routing & fallback

Requests find the healthiest path, automatically.

The routing engine scores providers on health, latency, cost and priority — then fails over silently when one degrades.

01

Your request

Authenticated by API key, validated, quota and balance checked before any provider call.

02

Routing engine

Scores candidates by health, latency, cost, plan priority and configured routing rules.

03

Provider + fallback

Primary provider serves the request; on failure the chain moves to the next healthy provider.

Models

Every model, one endpoint.

A curated catalogue behind a single OpenAI-compatible API, with transparent per-plan rate limits and a real queue you can see.

Browse all models
The model catalog will appear here once the API is running.

Ship with every model today.

Create an account, grab an API key and make your first call in under two minutes.

Frequently asked questions

What is ProRouter?

ProRouter is an AI infrastructure platform that gives you one unified, OpenAI-compatible API to access many AI models and providers — with smart routing, automatic fallback, unified billing and usage analytics.

Do I need separate accounts with each provider?

No. You integrate once with ProRouter. We handle provider selection, credentials, retries, fallback and normalized errors behind a single endpoint.

How does model access work?

Every model in the catalogue is reached through the same OpenAI-compatible endpoint, subject to platform rate limits and a real request queue. Limits and queue priority are configurable per plan.

How am I charged for paid models?

Paid models are billed per million input and output tokens from your ProRouter wallet. Pricing is shown before you send a request, and every deduction appears as an immutable wallet transaction.

Is the API OpenAI-compatible?

Yes. Point the official OpenAI SDK at https://api.prorouter.com/v1 and your existing code keeps working — including streaming, tool calls and JSON mode.

What happens if a provider goes down?

The routing engine monitors provider health and automatically falls back to the next healthy provider for your model, so you keep getting successful responses.