OpenAI: gpt-5.2-codex

gpt-5.2-codex
400K context128K outReasoningToolsParallel toolsVisionFilesCacheStructuredStreamingSystem msg
Released Jan 14, 2026Knowledge cutoff 2025Updated Jan 14, 2026

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. The model supports building projects from scratch, feature development, debugging, large-scale refactoring, and code review. Compared to GPT-5.1-Codex, 5.2-Codex is more steerable, adheres closely to developer instructions, and produces cleaner, higher-quality code outputs. Reasoning effort can be adjusted with the reasoning.effort parameter. Read the docs here Codex integrates into developer environments including the CLI, IDE extensions, GitHub, and cloud tasks. It adapts reasoning effort dynamically—providing fast responses for small tasks while sustaining extended multi-hour runs for large projects. The model is trained to perform structured code reviews, catching critical flaws by reasoning over dependencies and validating behavior against tests. It also supports multimodal inputs such as images or screenshots for UI development and integrates tool use for search, dependency installation, and environment setup. Codex is intended specifically for agentic coding applications.

Mode responsesTokenizer GPTModerated

All providers for this model are busy right now

Every upstream provider has hit its rate limit. The model comes back automatically once limits lift, usually within hours. Try again in a little while or switch to another model.

Request this model on Discord

Pricing

Input price
$3.12/ 1M tokens
Output price
$24.99/ 1M tokens
Context window 400K tokensCompatible endpoints openai-response, anthropic, openaiVendor OpenAI

Performance

Loading performance data...

Usage & Ranking

Loading usage...

Supported parameters

All providers = every upstream serving this model supports it. Some providers = depends on which upstream handles the request. Default = the value sent when you leave the parameter unset.

ParameterProvidersDefault
frequency_penaltySome providersNot sent by default
include_reasoningAll providers-
max_completion_tokensSome providers-
max_tokensSome providers-
reasoningAll providers-
response_formatAll providers-
seedAll providers-
structured_outputsAll providers-
temperatureSome providersNot sent by default
tool_choiceAll providers-
toolsAll providers-
top_pSome providersNot sent by default

Frequently asked questions

Similar models