One API,
every model.

RouterBase routes LLM and multimodal calls through one OpenAI-compatible API — with weighted multi-channel routing and automatic failover built in.

Open source · Self-hostable · OpenAI SDK drop-in

from openai import OpenAI

client = OpenAI(
    base_url="https://routerbase.seeksvc.com/v1",
    api_key="sk-rb-...",
)

resp = client.chat.completions.create(
    model="openai/gpt-5.4-mini",
    messages=[{"role": "user", "content": "hi"}],
)

Every model behind one endpoint

Point the OpenAI SDK at RouterBase and call whatever the catalog carries.

One request, several channels

Channels are picked by weight. If the first one fails mid-request, the next takes over — you get one response either way.

Your codeOpenAI SDKRouterweighted + failoverchannel-aweight 100channel-bweight 40channel-cweight 0 · cold standby

Why RouterBase

What you'd otherwise build in-house

The parts that are tedious to get right, already done.

OpenAI-compatible API

A drop-in replacement for the OpenAI SDK. Change the base URL, keep your code.

Weighted multi-channel routing

Several upstreams per model, each with its own weight. Cold-standby channels sit at weight 0 until they're needed.

Automatic failover

A failing channel is retried on the next one mid-request. Non-retryable errors stop immediately instead of amplifying cost.

Health probing

Channels that keep failing are disabled automatically, then probed with a real minimal call — never a free endpoint that lies when a provider is out of credit.

Pre-flight cost control

Cost is estimated and held against your balance before the upstream call. A runaway script can't push the account negative.

Per-attempt logging

Every attempt is logged with the channel it used and its attempt number — so you can see when a call was transferred.

Using RouterBase

Three steps to your first call

From key to response in a couple of minutes.

  1. 01

    Create an API key

    Sign up and generate an sk-rb-… key from the dashboard.

  2. 02

    Point your SDK at RouterBase

    The OpenAI SDK works as-is — just swap the base URL.

  3. 03

    Call any model in the catalog

    Same request shape you already use, streaming included.

Frequently asked questions

A unified gateway that puts several upstream providers behind one OpenAI-compatible endpoint, with weighted routing and automatic failover between them.

Start building

Every model in the catalog, behind one key.

Browse models

No credit card required to create a key.