GPT-5.6 Terra
POST /api/v1/chat/completions(OpenAI 兼容)· 模型 gpt-5.6-terra · 厂商 openai
适用于文本生成、代码辅助和 Agent 工作流的高性能大模型。
请求参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
model | string | 是 | 固定填 gpt-5.6-terra |
messages | array | 是 | 对话消息,[{"role":"user","content":"..."}] |
stream | bool | 否 | 是否流式返回,默认 false |
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":"gpt-5.6-terra","messages":[{"role":"user","content":"你好"}]}'
计费
实际扣费按最终成功线路结算;如设置过该 Key 的专属价格,以专属价为准。