← All models
OpenAI: GPT-5.2-Codex
openai/gpt-5.2-codex
VisionTool useJSONReasoningStreaming
GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....
Pricing
Input
$1.75 / 1M
Output
$14.00 / 1M
Specs
Context
400,000 tokens
Input
text, image
Output
text
Released: 2026-01
Supported parameters
include_reasoningmax_completion_tokensmax_tokensreasoningresponse_formatseedstructured_outputstool_choicetools