39 models. One key.

An OpenAI-compatible gateway to GPT, Claude, Gemini, and other models. Pay-as-you-go pricing, no subscriptions, no minimums.

Infrastructure that doesn't lock you into a vendor

Today's best model won't be the best next month. RelayModels gives you a single key to every provider: switch models with a string in your request, while we handle failover, limits, and billing.

Models deployed for every scenario

AI inside your product

Assistants, auto-replies, summarization

Add a chat assistant, text generation, and document parsing with one key — no separate contracts with every vendor.

request.py
from openai import OpenAI

client = OpenAI(
    base_url="https://api.relaymodels.com/v1",
    api_key=RELAY_KEY,
)

resp = client.chat.completions.create(
    model="gpt-5-mini",
    messages=[{"role": "user", "content": prompt}],
)
One balance for the entire model catalog

39 models

from $0.005 per 1K tokens, one key, automatic provider failover

OpenAI
Anthropic
Google
DeepSeek
Qwen
xAI
Kimi
MiniMax

Your request goes to the chosen model — we handle the key, limits, and provider failover

How to connect
Your codeOpenAI SDK, base_url
RelayModelsRoutes the request to the model
ModelGPT, Claude, Gemini
LimitWon't let you overspend
KeyOne for every project
BackupIf a provider goes down
LogsCost of every request

Text and code. How to connect

Streaming responses in OpenAI format: reasoning and function calling — all in one request from your code.

Images and files. How to send

Photos, audio, video, and PDFs go through the same request — no separate service or second key required.

Logs. See usage per request

Tokens used, cost, and which model responded — for every single call.

Honest pricing: you pay for tokens, not for access

Model pricing

No subscriptions, no minimum payments. Top up your balance from 100 ₽, spend is deducted as you use it, and the exchange rate is fixed by the Central Bank of Russia at the moment of the charge.

Deploy anywhere.
You stay in control.

The same key works from your backend, workers, and local tools. Limits, keys, and logs live in your dashboard.

A single endpoint compatible with the OpenAI SDK. Change base_url and the key — the rest of your code stays the same.

Get started today

Talk to us. Let's discuss volumes, limits, and a startup grant — up to $100 for API usage.

For business

Start building. Get a key in a minute and send your first request from a familiar SDK.

Get a key
We're growing!Referral program: 7% of friends' top-upsLearn more