One API key.
Every AI model.
Routerah 用一把密钥,把你连接到 248+ 个 AI 模型。用它来构建应用、运行智能体,或者跳过设置,直接在本站与角色聊天。同一把密钥,同样的速度,同样的价格。
from openai import OpenAI
client = OpenAI(
base_url="https://api.routerah.app/v1",
api_key="YOUR_API_KEY",
)
reply = client.chat.completions.create(
model="claude-haiku-5-5",
messages=[{"role": "user", "content": "Hello!"}],
)Works with any OpenAI SDK. Just change the base URL.
Built for production.
Everything you need to ship AI features without juggling providers, keys and invoices.
Drop-in compatible
OpenAI, Anthropic and Gemini formats. Point your SDK at Routerah and keep your code.
Automatic failover
When a provider slows down or fails, requests move to a healthy one. No retry logic to write.
Pay as you go
Clear per-token prices, free models to start, and credit that never expires.
Keys with limits
Create a key per project and cap it with model allow-lists, spending limits and expiry dates.
Usage analytics
Spend, latency and success rate per model and per key, for any date range.
Private chat
The built-in chat keeps your conversations in your browser, not on our servers.
选择你真正使用的客户端。
Routerah 可作为自定义的 OpenAI 兼容 API,在编程智能体、角色聊天客户端、AI 聊天客户端和 CLI 工具之间通用。
报到,新兵。收好装备,十秒后跃迁。