← Back to AI Models
GPT-5.2 Codex
Most intelligent coding model optimized for long-horizon agentic coding tasks
Overview
Most intelligent coding model optimized for long-horizon agentic coding tasks
Key Capabilities
- Code Generation — suited for tasks requiring code generation proficiency
- Code Refactoring — suited for tasks requiring code refactoring proficiency
- Agentic Coding — suited for tasks requiring agentic coding proficiency
- Debugging — suited for tasks requiring debugging proficiency
- Code Review — suited for tasks requiring code review proficiency
Recommended Use Cases
- Large Scale Code Migration
- Codebase Modernization
- Agentic Development
- Multi Repo Refactoring
Technical Specifications
- Context Window: 256K tokens
- Max Output Tokens: 66K tokens
- Open Weight: No
- Release Date: January 20, 2026
Pricing
$12/M input tokens, $48/M output tokens
Provider
GPT-5.2 Codex is developed by OpenAI. For the latest information, visit the official documentation.