kaimid / LLM

DeepSeek R1 (网宿)

DeepSeek R1 推理模型 通过网宿 EdgeCloud 网关

模型 ID
wangsu-deepseek-r1
健康状态
normal
上下文
64,000 tokens

能力与价格

chat
输入 ¥0.0010/1K tokens, 输出 ¥0.0040/1K tokens

调用示例

curl
curl https://ailab.folhj.online/v1/chat/completions \
  -H "Authorization: Bearer $KAIMID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "wangsu-deepseek-r1", "messages": [{"role": "user", "content": "你好,请用一句话介绍这个模型。"}]}'
Node.js
const response = await fetch("https://ailab.folhj.online/v1/chat/completions", {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.KAIMID_API_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({ model: "wangsu-deepseek-r1", messages: [{ role: "user", content: "你好,请用一句话介绍这个模型。" }] }),
});
Python
import os, requests
resp = requests.post("https://ailab.folhj.online/v1/chat/completions",
  headers={"Authorization": f"Bearer {os.environ['KAIMID_API_KEY']}"},
  json={"model": "wangsu-deepseek-r1", "messages": [{"role": "user", "content": "你好,请用一句话介绍这个模型。"}]})