/v1/responses —— verbosity / web_search / json_schema strict 仅在 Responses 路径生效。Authorization: Bearer ********************{
"model": "gpt-5.5",
"messages": [
{
"role": "system",
"content": "你是简洁的助手,回答尽量短。"
},
{
"role": "user",
"content": "用一句话解释熵增定律。"
}
],
"max_completion_tokens": 500
}curl --location '/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-5.5",
"messages": [
{
"role": "system",
"content": "你是简洁的助手,回答尽量短。"
},
{
"role": "user",
"content": "用一句话解释熵增定律。"
}
],
"max_completion_tokens": 500
}'{
"id": "string",
"object": "chat.completion",
"created": 0,
"model": "string",
"choices": [
{
"index": 0,
"message": {
"role": "system",
"content": "string",
"name": "string",
"tool_calls": [
{
"id": "string",
"type": "function",
"function": {
"name": "string",
"arguments": "string"
}
}
],
"tool_call_id": "string",
"reasoning_content": "string"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 0,
"prompt_tokens_details": {
"cached_tokens": 0,
"text_tokens": 0,
"audio_tokens": 0,
"image_tokens": 0
},
"completion_tokens_details": {
"text_tokens": 0,
"audio_tokens": 0,
"reasoning_tokens": 0
}
},
"system_fingerprint": "string"
}