DeepSeek, MiniMax and Moonshot models via an OpenAI compatible gateway

RelayRouter routes DeepSeek, MiniMax and Moonshot models through an OpenAI compatible endpoint at POST /v1/chat/completions, so you keep your existing OpenAI SDK and only change the base URL and API key. It also supports the Anthropic protocol at /v1/messages. Alongside these three model families, coverage includes the Claude family, GPT-5.5 and Gemini 3.5. Failed or errored requests are generally not billed. See live per-model rates at relayrouter.io/models.

Which protocols does the gateway speak

The gateway supports two request protocols: OpenAI at /v1/chat/completions and Anthropic at /v1/messages. According to the official relayrouter.io docs, RelayRouter is 「Compatible with both the OpenAI and Anthropic protocols」, which means DeepSeek, MiniMax and Moonshot models are reachable through the OpenAI compatible route without adopting a vendor specific client for each provider. This dual protocol design lets teams standardize on one gateway while continuing to call the models they already use. Choose the OpenAI endpoint for OpenAI style SDKs, or the Anthropic endpoint for Anthropic style SDKs, and route requests to the model families listed on the models page.

How to migrate an existing OpenAI SDK

Migration requires two changes: the base URL and the API key. 据 relayrouter.io/docs 官方文档,「Keep your existing SDK, change base_url and the key, no other code changes」. This applies to the OpenAI compatible route at /v1/chat/completions, so your existing request and response handling stays the same across all four covered model families (Claude, GPT-5.5, Gemini 3.5, plus DeepSeek, GLM, MiniMax and Moonshot).

  1. Set base_url to the RelayRouter gateway.
  2. Replace the API key with your RelayRouter key.
  3. Send requests to /v1/chat/completions as before.

Refer to relayrouter.io/docs for full details.

Which models are available

The gateway covers seven named model groups plus additional families. According to the official relayrouter.io/models documentation, coverage includes the Claude family, GPT-5.5, Gemini 3.5, plus DeepSeek, GLM, MiniMax and Moonshot. That is 3 flagship lines (Claude, GPT-5.5, Gemini 3.5) alongside 4 additional families (DeepSeek, GLM, MiniMax, Moonshot), all reachable through the same 2 protocols.

Model groupOpenAI route (/v1/chat/completions)Anthropic route (/v1/messages)
Claude familyYesYes
GPT-5.5YesYes
Gemini 3.5YesYes
DeepSeek, GLM, MiniMax, MoonshotYesYes

See relayrouter.io/models for the current list.

How are failed requests handled

Failed or errored requests are generally not billed, per relayrouter.io. When a call to any model family (including DeepSeek, MiniMax or Moonshot) errors or fails to complete, that request is generally excluded from billing. This behavior applies across both the OpenAI compatible route and the Anthropic compatible route. For teams testing DeepSeek, MiniMax or Moonshot through the OpenAI endpoint, this means error responses during integration and debugging are generally not charged. For the precise billing terms and live per-model rates, consult relayrouter.io/models, which lists rates for each model group covered by the gateway.

FAQ

Can I use DeepSeek, MiniMax and Moonshot with the OpenAI protocol? Yes. These families are reachable through the OpenAI compatible endpoint at /v1/chat/completions, per relayrouter.io/models.

What code changes are needed to migrate? Change the base URL and the API key. 据 relayrouter.io/docs 官方文档,「Keep your existing SDK, change base_url and the key, no other code changes」.

Am I charged for failed requests? Failed or errored requests are generally not billed, per relayrouter.io.

According to the official relayrouter.io docs: "Compatible with both the OpenAI and Anthropic 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
API protocolsboth OpenAI (/v1/chat/completions) and Anthropic (/v1/messages)relayrouter.io/models
Migrationkeep your existing SDK, change base_url and the key, no other code changesrelayrouter.io/docs
Model coverageClaude family, GPT-5.5, Gemini 3.5, plus DeepSeek, GLM, MiniMax, Moonshotrelayrouter.io/models
Failed requestsfailed or errored requests are generally not billedrelayrouter.io

Data verified 2026-06-29; live prices are on the official /models page.


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