一个 API Key
调用所有大模型

DeepSeek V4·V3·R1、Kimi、Qwen — 智能路由,按量计费,OpenAI 兼容。你只管接入,路由和熔断交给 DaClaw。

-
可用模型
-
注册模型
-
服务客户
🟢
系统状态

为什么选择 DaClaw

不是简单的 API 代理,是智能模型网关

智能路由

model=auto 自动选最便宜可用模型。成本优先 + 质量兜底,内置熔断器自动故障转移。

🔌

OpenAI 兼容

标准 /v1/chat/completions 端点。替换 base_url 即可接入,迁移零成本。

🔐

私有部署 · 数据自控

跑在你自己服务器上。API 调用不过第三方,日志、配额、密钥全部本地管理。

可用模型

动态读取,实时更新

模型供应商输入价格输出价格上下文状态
加载中

价格单位: RMB / 百万 Token · model=auto 自动最低成本路由

模型定价

按量计费,无月费,无最低消费

加载定价

注册账号

新用户赠送体验额度,立即开始

创建账户

快速接入

拿到 API Key 后,一行命令开始调用

cURL
# 支持 model=auto 自动选最优模型
curl https://relay.huodada.top/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "auto",
    "messages": [{"role": "user", "content": "用 Python 写一个快速排序"}]
  }'
Python
# 兼容 OpenAI SDK,只改 base_url
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://relay.huodada.top/v1",
)

response = client.chat.completions.create(
    model="auto",
    messages=[{"role": "user", "content": "你好"}],
)
print(response.choices[0].message.content)
Node.js
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'YOUR_API_KEY',
  baseURL: 'https://relay.huodada.top/v1',
});

const response = await client.chat.completions.create({
  model: 'auto',
  messages: [{ role: 'user', content: '你好' }],
});

可用模型查询

GET /v1/models — OpenAI 兼容的模型列表接口

curl https://relay.huodada.top/v1/models

用量查询

GET /relay/stats — 全局统计

curl https://relay.huodada.top/relay/stats

自动路由规则

model=auto: Flash → V3.2 → Qwen+ → Kimi → V4-Pro(成本优先)