gpt-5.4-mini
Creates a model response for the given input. Some OpenAI models only support the Responses format.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Model ID
gpt-5.4-mini "gpt-5.4-mini"
Text or images for the model to generate a response.
1[{ "role": "user", "content": "Hello!" }]
If true, stream partial response deltas using SSE.
Nucleus sampling threshold.
0 <= x <= 1The maximum number of output tokens to generate.
x >= 1Configuration options for model text response.
Configuration for model reasoning / thinking.
A list of tools the model may call.
Controls which (if any) tool is called by the model.
Whether to store the generated model response for later retrieval via API.
A unique identifier representing your end-user.
Response
Response generated successfully
"resp_0ed94fe7ec73cf560169afd97bba648194b8661d445cfa4244"
"response"
Unix timestamp when the response was created.
1773132155
"gpt-5.4-mini"
completed, failed, in_progress, incomplete "completed"
Unix timestamp when the response was completed.
1773132156