文档 / 首页
clawcu 模型 API 文档
一个 OpenAI 兼容的 API Key,直连 DeepSeek、Kimi、通义千问、智谱 GLM。
接口地址 https://token.clawcu.com/v1,人民币计价,按量计费。
模型 API 接入
端点、认证、在售模型与价格、限流、错误码、CURL / Python 示例。
接入编码工具
Claude Code · Codex CLI · OpenCode 逐步接入,命令均实测通过。
充值指南
控制台 /pay 微信扫码充值,账单在 /billing 查看。
快速开始
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 接入。