gpt-5.2
Auto-routeropenai/gpt-5.2
Context
400K
Max output
128K
Input / 1M
$1.75
Output / 1M
$14.00
Cached / 1M
$0.175
Cutoff
Aug 2025
About this model
GPT-5.2 is our best general-purpose model, part of the GPT-5 flagship model family. Our most intelligent model yet for both general and agentic tasks
Best suited for
- Complex reasoning, broad world knowledge, and code-heavy or multi-step agentic tasks
Built-in tools
Hosted by the gateway — enable them per request without wiring your own endpoint.
Capabilities
Vision
Accepts images alongside text in the same message.
Files
Accepts file attachments — PDFs, transcripts, spreadsheets.
Tools
Native function calling, so agents can invoke your endpoints.
System prompt
Honours a dedicated system role, separate from the user turn.
Reasoning
Emits a separate thinking pass before the answer.
Supported parameters
max_tokensMax Tokens LimitSpecifies the maximum number of text units (tokens) allowed in a response, limiting its length.
toolsLists tool definitions or capabilities available to the model.
tool_choiceDecides whether to use tools or just the model for generating responses.
response_typeDefines the format or type of the generated response.
parallel_tool_callsEnables parallel execution of tools, allowing multiple tools to run simultaneously.
reasoningControls the level of reasoning used by the model.
verbosityControls how concise or detailed the generated response should be.
streamSends the response in real-time as it's being generated.
service_tier