GPT 5.5 (response)
POST /api/v1/chat/completions(OpenAI 兼容)· 模型 official-33-a4f8cb5c5d5fa572e5
模型接口及可用规格详见开发文档;同步后请先验证并完成上架。
请求参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
model | string | 是 | 固定填 official-33-a4f8cb5c5d5fa572e5 |
messages | array | 是 | 对话消息 |
stream | bool | 否 | 流式返回 |
temperature | number | 否 | 0~2 |
max_tokens | int | 否 | 最大输出 token |
tools | array | 否 | 工具调用定义 |
示例
curl -X POST https://api.a7w.cn/api/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
-d '{"model":"official-33-a4f8cb5c5d5fa572e5","messages":[{"role":"user","content":"你好"}]}'
计费(每百万 token)
| 项目 | 上游点数 | 对外价(默认 +30%) |
|---|
按 token 计费,价格见站内「价格」页。