OpenAI-compatible chat completion endpoint for multi-turn conversations, tool calling, and streaming responses.
Authorization: Bearer {API_KEY}messages 和 model/v1/responsesmessages 是必填字段,用于承载完整对话历史;不同模型支持的消息模态可能不同model 是必填字段,用于指定本次调用的模型 IDtemperature 和 top_p 都会影响采样行为,通常只需要重点调整其中一个logprobs 与 top_logprobsprompt_cache_key 与 safety_identifierchoices[0].message.content 读取message.tool_calls 中读取工具名称和参数usage 中读取,包括输入、输出和更细粒度的 token 明细Bearer authentication header of the form Bearer <token>, where <token> is your auth token.