RelayRouterRelayRouter
首页模型价格文档指南
Get API Key
... 个模型可用

One gateway.
Claude, GPT and Gemini.

Production access to Claude Opus 4.8, Claude Fable 5, GPT-5.5, Gemini 3.5 and more through one gateway that speaks the OpenAI, Anthropic and Gemini APIs natively. Keep your SDK, swap the base URL.

...
AI 模型
3
API protocols: OpenAI, Anthropic, Gemini
-30%
Mainstream groups vs official list
$0
Platform fee

Models from the world's leading AI labs

AnthropicOpenAIGoogle DeepMindDeepSeekMiniMaxMoonshot AI
index.ts
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.RELAYROUTER_API_KEY,
  baseURL: "https://relayrouter.io/v1", // the only change
});

const res = await client.chat.completions.create({
  model: "claude-opus-4-8",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(res.choices[0].message.content);

统一 API

一个 API,覆盖所有顶级模型。

无需再为各种 SDK 或 API 密钥折腾。可用于生产的模型,统一通过一个兼容 OpenAI 的端点访问,只需改动一行代码。

  • Claude Opus 4.8, Claude Fable 5, GPT-5.5 and Gemini 3.5 in one catalog
  • Three protocols: OpenAI, Anthropic and Gemini compatible endpoints
  • Mainstream model groups are priced 30% or more below official list prices, zero platform fee
  • Pay by credit or debit card via Stripe

几分钟即可接入

Keep your SDK. Change one line.

OpenAI SDK, Anthropic SDK or raw HTTP: set the base URL, swap your key, done.

index.ts
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.RELAYROUTER_API_KEY,
  baseURL: "https://relayrouter.io/v1", // the only change
});

const res = await client.chat.completions.create({
  model: "claude-opus-4-8",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(res.choices[0].message.content);

AI 智能体

即将推出

专属 MCP 服务器即将上线。

在它正式发布之前,任何支持 MCP 或兼容 OpenAI 的智能体工具今天就能使用 RelayRouter:把它的 base URL 指向 https://relayrouter.io/v1 并填入你的 API 密钥即可。

CursorClaude DesktopVS CodeWindsurfJetBrainsZedGemini CLI
mcp.json(预览,尚未发布)
{
  "mcpServers": {
    "relayrouter": {
      "command": "npx",
      "args": ["-y", "relayrouter-mcp"],
      "env": { "RELAYROUTER_API_KEY": "your-api-key" }
    }
  }
}

兼容性

无缝接入你现有的技术栈。

任意兼容 OpenAI 的客户端、SDK 或框架。

Cursor
VS Code
JetBrains
Windsurf
Claude Desktop
Zed
LangChain
LiteLLM
Codex CLI
Gemini CLI
OpenAI SDK
Cline
Roo Code
Dify
+ more

应用场景

为各类 AI 工作流而生。

🚀

App development

Build AI-powered products without locking in to a single provider. Switch models as they improve, no code changes required.

Claude Opus 4.8Claude Fable 5GPT-5.5
🤖

AI agents & automation

Route tasks to the right model: fast models for drafts, frontier models for decisions. One API, any combination.

claude-sonnet-4-6gemini-3.5-flash
🔬

Research & evals

Compare outputs across models with one API call. Benchmark quality, latency and cost across every available model.

All providersText & image

为什么选择 RelayRouter

该有的全都有,不需要的一概没有。

Claude-first catalog

The full Claude line (Opus, Sonnet, Haiku) next to GPT and Gemini. Change model with one parameter.

🔌

Three native protocols

OpenAI, Anthropic and Gemini compatible APIs on one base URL. OpenAI SDK, Anthropic SDK and Gemini clients all work as-is.

💸

No platform fee

Pure per-token pricing. Mainstream groups 30%+ below official rates. No surcharge, no subscriptions, no minimums.

💳

Card payments via Stripe

Pay with credit or debit card through Stripe checkout. Top up any amount in seconds.

🛡️

Zero failed-request charges

Errored or failed API calls are never billed. You only pay for tokens successfully processed.

📊

Real-time analytics

Usage, latency, cost and throughput per model, all in one dashboard.

常见问题

常见问题解答。

今天就开始构建。

无最低消费,无需信用卡即可体验。