GPT-5.2-Codex is an upgraded version of GPT-5.2, optimized for agentic coding tasks in Codex and similar execution environments. The model is specifically enhanced for code generation, modification, refactoring, and automated execution workflows, enabling more efficient participation in multi-step, tool-driven programming processes. GPT-5.2-Codex supports low, medium, high, and xhigh reasoning effort settings, allowing flexible trade-offs between latency, reasoning depth, and token usage depending on task complexity.
Pricing
- Input Tokens: $1.750 /M tokens
- Output Tokens: $14.000 /M tokens
- Cache Read: $0.175 /M tokens
Input Modalities
- Text
- Vision
Output Modalities
- Text
Capabilities
- Thinking
- Tool calling
- Structured outputs
Try this model
Python
