Model Details
Owner
OpenAI
Released
Dec 2025
Status
Active
Context Length
400K
Max Output
128K
Provider
OpenAI
Where is gpt-5.2-codex a perfect fit?
gpt-5.2-codex is built for real-world software engineering at scale, going beyond assistance into full agentic execution. Ideal for:
- Long-running coding agents working across hours or sessions
- Large-scale refactoring, migrations, and multi-repo changes
- Autonomous debugging, testing, and iterative improvement loops
- Enterprise engineering workflows with strict security constraints
- Code review, vulnerability detection, and cybersecurity-focused analysis
- Building, modifying, and maintaining complex production systems
- Long-running coding agents working across hours or sessions
- Large-scale refactoring, migrations, and multi-repo changes
- Autonomous debugging, testing, and iterative improvement loops
- Enterprise engineering workflows with strict security constraints
- Code review, vulnerability detection, and cybersecurity-focused analysis
- Building, modifying, and maintaining complex production systems
Quick Model Estimate
Your GPT-5 Cost Estimate
💰 Total Cost
USD 3.00
for 1000 input + 1000 output tokens
📥 Input (1000 × $1.750000)
USD 1.5000
📤 Output (1000 × $14.000000)
USD 1.5000
Cost Breakdown
📥 Input 50%
📤 Output 50%
Prices updated daily from official provider data.
Pricing
|
Provider
↕
|
Modality
↕
|
Input Price
(per 1M tokens) ↕ |
Output Price
(per 1M tokens) ↕ |
Context Window
↕
|
Last Updated
↕
|
View
|
|---|---|---|---|---|---|---|
OpenAI
|
Text | $1.7500 | $14.0000 | 400,000 tokens | 2026-03-26 | → |
OpenAI
|
Text | $3.5000 | $28.0000 | 400,000 tokens | 2026-03-26 | → |
