文本消息
以下是最简单最基础的 Response API 请求示例:role 同一级中显式指定消息的 type 字段,一般为 message。
支持的模型
适用于所支持 Response API 的模型,目前支持 Response API 的模型是:gpt-3.5-turbogpt-4gpt-4-turbogpt-4o-minigpt-4ogpt-4.1gpt-4.1-minigpt-4.1-nanogpt-5gpt-5-minigpt-5-nanogpt-5-progpt-5-codexo1o1-proo3-minio3o3-proo4-minicodex-mini-latestcomputer-use-previewo3-deep-researcho4-mini-deep-research
o3-pro、o3-deep-research、o4-mini-deep-research、gpt-5-pro 目前仅支持通过 Response API 调用,其他模型既支持 Response API 也支持 Chat Completion API。