llms.txt Content
# 370.AI
> 一站式 AI 网关 — 一个 API Key 统一调用 OpenAI / Claude / Gemini / AWS Bedrock / 通义千问 / 字节豆包 等主流大模型, OpenAI 兼容协议, 实时计费, 覆盖 文本对话/图像生成/视频生成/向量嵌入/语音 全模态.
> Unified AI gateway — one API key for OpenAI, Anthropic Claude, Google Gemini, AWS Bedrock, Alibaba Qwen, ByteDance Doubao and 100+ other models. OpenAI-compatible protocol, real-time usage billing, covering chat, image, video, embedding and speech.
## 接入方式 (How to integrate)
- API Base (OpenAI 兼容 / OpenAI-compatible): https://api.router.ai/v1
- MCP (AI agent 自动发现+调用 / agent-native, 官方 MCP Registry `ai.router/ai-gateway`): https://mcp.router.ai/mcp
- OpenAPI 规范 (machine-readable spec, 含鉴权定义): https://370.ai/openapi.json
- MCP 发现清单 (discovery manifest): https://370.ai/.well-known/mcp.json
- Agent 接入指南 (agent integration guide): https://370.ai/AGENTS.md
- 注册获取 API Key (sign up): https://370.ai/register
语言版本 (language versions): [zh-Hans](https://370.ai/) · [zh-Hant](https://370.ai/zh-hant) · [en](https://370.ai/en)
## Quick start (copy-paste)
Get an API key at https://370.ai/register — then use any OpenAI-compatible client.
### curl
```bash
curl https://api.router.ai/v1/chat/completions \
-H "Authorization: Bearer $ROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"claude-fable-5","messages":[{"role":"user","content":"Hello"}]}'
```
### Python (official OpenAI SDK — only base_url changes)
```python
from openai import OpenAI
client = OpenAI(api_key="sk-...", base_url="https://api.router.ai/v1")
resp = client.chat.completions.create(
model="claude-fable-5", # or gpt-5.6-luna, deepseek-v4-pro ...
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
```
### MCP (AI agents — zero integration code)
`370.AI` is on the official MCP Registry as `ai.ro
OpenAPI Spec (preview)
{"openapi": "3.1.0", "info": {"title": "370.AI API", "version": "1.0.0", "summary": "OpenAI-compatible gateway to 100+ AI models through one API key.", "description": "OpenAI-compatible AI gateway — call OpenAI / Anthropic Claude / Google Gemini / AWS Bedrock / Alibaba Qwen / ByteDance Doubao and more through a single API key and a single base URL.\n\n**Auth**: send `Authorization: Bearer sk-...` on every request. Get a key at https://370.ai/register.\n\n**Drop-in**: point any OpenAI SDK at th