/v1/responses when your client already speaks the OpenAI Responses API
format, or when you need Responses-native features such as reasoning controls,
web search tools, and official Responses server-sent events.
Reasoning controls
gpt-5.5 and gpt-5.4 accept Responses reasoning controls. Use
reasoning.effort to set the reasoning strength:
reasoning.effort values are none, minimal, low, medium,
high, and xhigh.
Web search
Pass OpenAI Responses tools directly. For web-connected answers, include a web search tool intools:
Streaming
Setstream: true to receive the Responses SSE event stream. Events follow
the OpenAI Responses format, such as response.created,
response.output_text.delta, tool events, and response.completed.
Notes
- The
modelis a public APIAny.AI model ID. max_output_tokensis the Responses-style output token limit.- Responses-native fields such as
reasoning,text,tools,tool_choice,include,previous_response_id, andstoreare forwarded when supported by the selected model.