clawcu 文档 官网 控制台

文档 / 首页

clawcu 模型 API 文档

一个 OpenAI 兼容的 API Key,直连 DeepSeek、Kimi、通义千问、智谱 GLM。 接口地址 https://token.clawcu.com/v1,人民币计价,按量计费。

快速开始

1. 在控制台创建 Key:https://clawcu.com/keys(明文只显示一次)

export CLAWCU_LLM_KEY=sk-你的Key

2. 调通第一个请求:

curl -sS https://token.clawcu.com/v1/chat/completions \
  -H "Authorization: Bearer $CLAWCU_LLM_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepseek-flash","messages":[{"role":"user","content":"Reply with exactly: OK"}],"max_tokens":64,"temperature":0}' \
  | python3 -c 'import json,sys; print(json.load(sys.stdin)["choices"][0]["message"]["content"])' 

回复 OK 即接入成功。完整文档见 模型 API 接入。