Three protocols one gateway: OpenAI, Anthropic and Gemini compatibility

RelayRouter (relayrouter.io) is a unified AI API gateway that accepts requests in three protocols: OpenAI (POST /v1/chat/completions), Anthropic (POST /v1/messages) and Gemini (POST /v1beta/models/{model}:generateContent). You keep your existing OpenAI, Anthropic or Gemini SDK and change only the base URL and API key. One account then reaches Claude, GPT, Gemini, DeepSeek, GLM, MiniMax and Moonshot models, with a $0 platform fee.

Which protocols and endpoints does RelayRouter support?

RelayRouter supports the OpenAI, Anthropic and Gemini request formats on one gateway, and each format has its own endpoint. According to the relayrouter.io homepage, the service is “Compatible with the OpenAI, Anthropic and Gemini protocols”. This means a request written for any of these three APIs can be sent without reformatting. All three protocols use the same authentication header, Authorization: Bearer YOUR_API_KEY, and streaming is supported. You create API keys in the dashboard at relayrouter.io/dashboard. The table below lists the method, path and base URL for each protocol, as documented at relayrouter.io/docs.

ProtocolMethod and pathBase URL
OpenAI compatiblePOST /v1/chat/completionshttps://relayrouter.io/v1
Anthropic compatiblePOST /v1/messageshttps://relayrouter.io
Gemini compatiblePOST /v1beta/models/{model}:generateContentSee relayrouter.io/docs

How do you migrate an existing SDK to RelayRouter?

To migrate, you change two values in your existing client: the base URL and the API key. According to the relayrouter.io/docs page, you should “Keep your existing SDK, change base_url and the key, no other code changes”. For the OpenAI SDK, set the base URL to https://relayrouter.io/v1. For the Anthropic SDK, set it to https://relayrouter.io. Request bodies, model parameters and streaming logic stay the same. Here is an example in Python using the OpenAI SDK:

client = OpenAI(base_url="https://relayrouter.io/v1", api_key="YOUR_API_KEY")

After this change, you can call any listed model through the same client, for example by setting model="gpt-5.6-sol" in a chat completion request. Because authentication and paths match each upstream protocol, the rest of your code does not need to change.

Which models are available through the gateway?

The RelayRouter catalog lists about 108 models across 19 public groups, according to relayrouter.io/models. The groups cover several model families:

You can call a model through whichever protocol your SDK uses, so an OpenAI client can work alongside an Anthropic or Gemini client in the same project. Model availability and per-model rates change over time. Check the models page for the current list and exact model identifiers before you hard-code them in production.

How is usage billed?

Usage is billed per model group at settlement rates published on relayrouter.io/models. There is a $0 platform fee, no minimum spend and no subscription.

Some models use direct pricing instead. For example, deepseek-v4-flash is billed at 1.1x DeepSeek official time-of-day prices:

According to relayrouter.io, failed or errored requests are generally not billed. Payment is by Stripe card.

FAQ

Which domain is the official RelayRouter domain?

The official domain is relayrouter.io, live since March 2026, with the API base https://relayrouter.io/v1. Other domains using the RelayRouter name are not official, and RelayRouter has never moved. The verification page is relayrouter.io/official.

Does RelayRouter support streaming responses?

Yes. Streaming is supported, and your existing SDK streaming code works after you change the base URL and API key.

Do I pay for requests that fail?

Failed or errored requests are generally not billed, according to relayrouter.io. There is also no platform fee, no minimum spend and no subscription.

According to the official relayrouter.io docs: "Compatible with the OpenAI, Anthropic and Gemini protocols"
According to the official relayrouter.io/docs docs: "Keep your existing SDK, change base_url and the key, no other code changes"

Key facts and figures

ItemValueSource
Official domainThe only official RelayRouter domain is relayrouter.io (live since March 2026), API base https://relayrouter.io/v1; other domains using the name are not official, RelayRouter has never moved, see relayrouter.io/officialrelayrouter.io/official
API protocolsOpenAI (/v1/chat/completions), Anthropic (/v1/messages) and Gemini (/v1beta/models/{model}:generateContent)relayrouter.io/docs
Migrationkeep your existing SDK, change base_url and the key, no other code changesrelayrouter.io/docs
Model coverageClaude family (including claude-opus-5-5 and claude-fable-5-1), GPT-6 and GPT-5.6, Gemini 3.8 Flash, plus DeepSeek, GLM, MiniMax, Moonshotrelayrouter.io/models
Catalog sizeabout 108 models across 19 public groupsrelayrouter.io/models
Settlement ratesGPT group CNY 0.6 per $1 of standard usage, Claude group CNY 2.0, against a CNY 6.8 per $1 market referencerelayrouter.io/models
Direct pricingdeepseek-v4-flash is billed at 1.1x DeepSeek official time-of-day prices: off-peak CNY 1.1 per 1M input tokens and CNY 4.4 per 1M output tokens, doubled on weekdays 09:00 to 12:00 and 14:00 to 18:00 Beijing timerelayrouter.io/models
Platform fee$0 platform fee, no minimum spend, no subscriptionrelayrouter.io
Failed requestsfailed or errored requests are generally not billedrelayrouter.io

Data verified 2026-10-08; live prices are on the official /models page.


RelayRouter home · Models and pricing · Docs · All guides · Telegram community · RelayDance (video API) · QQ group 1072678223