Skip to content
Checking statusInference infrastructure

Production inference,
one API.

One OpenAI-compatible endpoint for chat, embeddings, images, audio, and video. Prepaid per-token billing, real account limits, and content that is never logged unless you opt in.

  • OpenAI-compatible
  • Pay as you go or pick a plan
  • Prompts not logged unless opted in

Crypto top-ups from $0.50 · Failed calls are never billed.

POST /v1/chat/completions200 OK
curl https://api.relayrouter.org/v1/chat/completions \
-H "Authorization: Bearer $RELAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4.1-flash-1017",
"messages": [
{ "role": "user", "content": "Explain vector databases" }
],
"stream": true
}'
example usage: 812 tokensbilled $0.0016
Streaming and toolsUsage in every responseDrop-in OpenAI shape
Model families
Browse the catalog

Models online

Public catalog

Largest context

Tokens per request

Network fee

Per request

Service status

Live status

Built for every scale

Individuals, teams, and enterprises — one API.

Start self-serve from $0.50, add pooled team seats when you grow, and move to annual terms or a contract when procurement asks.

Consumers

Pay as you go

Pay as you go — no subscription required. Top up once, use any model, and keep the balance indefinitely.

Create an account

Businesses

Team plans

Pooled seats, shared token quotas, annual pricing, and per-member prepaid billing.

Compare plans

Enterprise

Custom terms

Invoicing, data controls, security review, and a direct route to engineering.

Talk to sales

Platform

One layer between your app and every model.

RelayRouter handles compatibility, limits, billing, retries, and usage records so your product does not have to.

Drop-in compatible

Keep your client and request shape. Chat, tools, JSON mode, vision, embeddings, images, audio, and video all speak the OpenAI API.

chat · embeddings · images · audio · video

Predictable billing

Micro-USD accounting records token cost and the flat network fee separately, so every charge can be traced to a request.

tokens + one flat network fee

Account-wide controls

Set request rate, concurrency, model access, token quotas, and spend ceilings once for the account, then scope individual keys.

RPM · RPD · concurrency · spend

Retention by opt-in

Prompts and completions are never logged or stored unless you explicitly turn on retention. There is no silent logging.

no content logging unless opted in

Reliability

Built for the failure cases.

The happy path is easy. RelayRouter is designed for what happens when a provider is slow, a limit is hit, or a request fails mid-stream.

01

Same-model retries

Timeouts, 429s, 5xx, and empty responses are retried before a failure is returned to your client.

02

Internal fallback

When failover is enabled, requests move to the model's fallback chain — still inside RelayRouter-operated infrastructure.

03

Reserved balance

Credit is held before dispatch and settled from actual usage, so a burst of requests cannot overdraw the account.

04

Atomic limits

Account and key limits are enforced atomically. Parallel requests cannot overshoot the configured cap.

How it works

From key to completion in three steps.

01

Create a key

Sign up and mint a scoped API key. Add per-key rate, concurrency, and spend limits if you need them.

02

Point your client

Change the base URL to the RelayRouter endpoint. Keep your SDK, request shape, and streaming code.

03

Send requests

The relay resolves the model, enforces account and key limits, reserves credit, and records usage. Failed calls are not billed.

POST/v1/chat/completions
POST/v1/embeddings
POST/v1/images/generations
POST/v1/audio/speech
POST/v1/videos
POST/v1/moderations

Live catalog

Priced per million tokens.

The same catalog the API serves. No hidden tiers and no seat fees: every request is tokens plus one flat network fee.

Browse all models

Access plans

Limits that match the workload.

Add account-wide request rate, concurrency, model access, token quota, and monthly spend limits. Buy a plan for a fixed term from prepaid credit, or have the operator assign one. Plans never auto-renew.

Compare access plans
Requests
RPM and RPD per account
Concurrency
In-flight request ceiling
Models
Allowlist or all public models
Quota
Tokens and monthly spend

Privacy

Your prompts are not our training data.

Inference content is not logged, recorded, or stored unless you explicitly opt in. Without opt-in, it is held in memory for the request and then discarded. We keep only the non-content metadata needed to bill and operate the service.

  • No content logging

    Prompts, messages, and completions are never logged or stored unless you opt in.

  • No training

    Content is not used to train models, build a competing model, or sold.

  • Internal serving

    Requests are served on RelayRouter-operated infrastructure, with internal fallback during downtime.

  • You control retention

    Opt in with store: true or a storage product; delete retained content through the API.

Billing

Pay for tokens. Nothing else.

Your balance is stored in micro-USD. Each request is billed at the serving model's token prices plus one flat network fee. Failed calls are never billed.

Billing

Prepaid + plans

Minimum top-up

$0.50

Balance expiry

Never

Example request

catalog model
5,000 input tokens—
200 output tokens—
Network fee—
Charged—
Prices are from the live catalog. Per-account overrides are applied at billing time.

Works with your stack

Point your existing tool at RelayRouter.

Editors, chat clients, agent frameworks, and workflow tools. If it speaks the OpenAI API, it works — and the setup is usually two fields.

Browse integrations

FAQ

Answers, before you ask.

Still curious? The docs cover every endpoint, field, and error.

Read the docs
Do I have to rewrite my client?

No. The API is OpenAI-compatible. Point your existing SDK or HTTP client at the RelayRouter base URL and swap in a RelayRouter key.

How does billing work?

RelayRouter is prepaid. Every request costs a flat network fee plus the serving model's per-token price. Failed calls are never billed, and the balance does not expire.

Do you log my prompts or completions?

No. Prompts, messages, and completions are never logged or stored unless you explicitly opt in with store: true or a storage product such as Files, Batches, or Containers. Otherwise content is served in memory and discarded; only non-content billing metadata is kept.

What happens if a model is unavailable?

Retryable failures — timeouts, 429s, 5xx, and empty responses — are retried on the same model, then failed over to the model's fallback chain when failover is enabled. Fallback stays inside RelayRouter-operated infrastructure.

Is streaming supported?

Yes. Set stream: true and consume standard server-sent events. The final chunk can include token usage.

Do you offer access plans?

Yes. An access plan adds account-wide request rate, concurrency, model access, token quota, and included usage covered by the plan fee. Plans are bought for a fixed term from prepaid credit and never auto-renew; the operator can also assign one.

How do I add credit?

Top up with crypto from the dashboard. Invoices are created through OxaPay and credit lands as soon as the payment is confirmed.

Start in minutes

Ship the product, not the plumbing.

Create an account, mint a key, and point your client at the API. Your first request is a curl away.