GPT 5.2

proprietary

GPT-5.2 is our previous flagship model for complex professional work. We recommend using the latest GPT-6 Astra. Learn more on the Model guidance page. Reasoning.effort supports: none (default), low, medium, high and xhigh.

Intelligence
Reasoning
Speed
Context
400K
Max output
128K
Input price
$1.75/1M tokens
Output price
$14/1M tokens

Capabilities

Reasoning & Interaction
Reasoning
Tool Calling
Output Control
Structured Output
JSON Mode
Infrastructure
Streaming
Batch Processing

Details

Model IDgpt-5.2
Creator OpenAI
Familygpt-5.2
Licenseproprietary
Statusactive
Typechat
Input modalitiestext
Output modalitiestext
Open weightNo
Parameters—
Architecture—
Context window400K tokens
Max input—
Max output128K tokens
Reasoning tokensYes
Knowledge cutoff
Release date
Sourceofficial

Pricing

Input
$1.75
Output
$14
Cache write
—
Cache read
$0.18
Batch in
—
Batch out
—

Family Comparison: gpt-5.2

ModelContextMax outPricing
GPT 5.2 Codex400K128K$1.75$14
GPT 5.2400K128K$1.75$14

API

GET/v1/models/opencode/gpt-5.2