← Back to all generators

openai/gpt-5.2

The best model for coding and agentic tasks across industries

Capabilities

Reference Images System Prompt

Cost

Community model (estimated from hardware time)

Input Parameters

image_input array

List of images to send to the model

Default:
max_completion_tokens integer

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).

messages array

A JSON string representing a list of messages. For example: [{"role": "user", "content": "Hello, how are you?"}]. If provided, prompt and system_prompt are ignored.

Default:
prompt string

The prompt to send to the model. Do not use if using messages.

reasoning_effort string

Constrains effort on reasoning for GPT-5.2 models. Supported values are none, low, medium, high, and xhigh.

Default: "low"
none low medium high xhigh
system_prompt string

System prompt to set the assistant's behavior

verbosity string

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"
low medium high
Version: e805d0794e42 Updated: 2/26/2026 285.3K runs