← Back to all generators

openai/gpt-5-structured

GPT-5 with support for structured outputs, web search and custom tools

Capabilities

Reference Images

Cost

Community model (estimated from hardware time)

Input Parameters

enable_web_searchboolean

Allow GPT-5 to use web search for the response.

Default: false
image_inputarray

List of images to send to the model

Default:
input_item_listarray

A list of one or many input items to the model, containing different content types. This parameter corresponds with the `input` OpenAI API parameter. For more details see: https://platform.openai.com/docs/api-reference/responses/create#responses_create-input. Similar to the `messages` parameter, but with more flexibility in the content types.

Default:
instructionsstring

A system (or developer) message inserted into the model's context. When using along with previous_response_id, the instructions from a previous response will not be carried over to the next response. This makes it simple to swap out system (or developer) messages in new responses.

json_schemaobject

A JSON schema that the response must conform to. For simple data structures we recommend using `simple_text_format_schema` which will be converted to a JSON schema for you.

Default: [object Object]
max_output_tokensinteger

Maximum number of completion tokens to generate. For higher reasoning efforts you may need to increase your max_completion_tokens to avoid empty responses (where all the tokens are used on reasoning).

modelstring

GPT-5 model to use.

Default: "gpt-5"
gpt-5gpt-5-minigpt-5-nano
previous_response_idstring

The ID of a previous response to continue from.

promptstring

A simple text input to the model, equivalent to a text input with the user role. Ignored if input_item_list is provided.

reasoning_effortstring

Constrains effort on reasoning for GPT-5 models. Currently supported values are minimal, low, medium, and high. The minimal value gets answers back faster without extensive reasoning first. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response. For higher reasoning efforts you may need to increase your max_completion_tokens to avoid empty responses (where all the tokens are used on reasoning).

Default: "minimal"
minimallowmediumhigh
simple_schemaarray

Create a JSON schema for the output to conform to. The schema will be created from a simple list of field specifications. Strings: 'thing' (defaults to string), 'thing:str', 'thing:string'. Booleans: 'is_a_thing:bool' or 'is_a_thing:boolean'. Numbers: 'count:number', 'count:int'. Lists: 'things:list' (defaults to list of strings), 'things:list:str', 'number_things:list:number', etc. Nested objects are not supported, use `json_schema` instead.

Default:
toolsarray

Tools to make available to the model. Should be a JSON object containing a list of tool definitions.

Default:
verbositystring

Constrains the verbosity of the model's response. Lower values will result in more concise responses, while higher values will result in more verbose responses. Currently supported values are low, medium, and high. GPT-5 supports this parameter to help control whether answers are short and to the point or long and comprehensive.

Default: "medium"
lowmediumhigh
Version: 9f4cd9ec1133Updated: 7/25/2026528.8K runs