● 运行中

CF AI Gateway

Cloudflare Workers AI 统一代理网关

📌 API 端点

POST /v1/chat/completions GET /v1/models

🔑 使用方式

curl -X POST https://your-worker.workers.dev/v1/chat/completions
-H "Authorization: Bearer account_id|token|api_url|model"
-H "Content-Type: application/json"
-d '{"messages":[{"role":"user","content":"你好"}],"max_tokens":500}'

📋 凭证格式

account_id | token | api_url | model
示例: ff117f...|cfut_...|https://api.cloudflare.com/client/v4/accounts/ff117f.../ai/v1|@cf/zai-org/glm-5.2

🧠 可用模型 (0)