密钥管理
在 tokendog.io 控制台创建、查看与吊销密钥。每个密钥可绑定额度与 模型分组;额度耗尽或密钥被吊销后请求将返回401/403(见错误码)。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
用 API 密钥进行请求鉴权
Authorization: Bearer <你的 API 密钥>
curl https://tokendog.io/v1/chat/completions \
-H "Authorization: Bearer $TOKENDOG_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-5","messages":[{"role":"user","content":"ping"}]}'
401/403(见错误码)。
