/v1/responses 接口,与 /v1/chat/completions 共用同一套模型。{
"model": "gpt-5.5",
"input": "用一句话介绍量子计算。",
"instructions": "你是一个友好的助手。"
}curl --location '/responses' \
--header 'Authorization: Bearer sk-xxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-5.5",
"input": "用一句话介绍量子计算。",
"instructions": "你是一个友好的助手。"
}'{
"id": "resp_abc123",
"object": "response",
"created_at": 1784564570,
"model": "gpt-5.5",
"output": [
{
"type": "message",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "量子计算利用量子叠加与纠缠原理进行并行计算。"
}
]
}
],
"usage": {
"input_tokens": 15,
"output_tokens": 18,
"total_tokens": 33
}
}