GPT 5.2 Codex
by OpenAI
GPT-5.2 Codex is OpenAI's dedicated coding model built on the GPT-5.2 architecture. Optimized for software engineering tasks with strong agentic coding capabilities and expanded context window support.
- Dedicated coding model built on GPT-5.2 architecture for software engineering tasks.
- 400,000-token context window with 128,000 max output tokens and reasoning token support.
- Optimized for agentic coding workflows including code generation, debugging, and refactoring.
- Supports function calling, structured outputs, and streaming for developer integration.
- Pricing is $1.75 per 1M input tokens and $14 per 1M output tokens (cached input at $0.175).
Model Information
Supported Formats
GPT-5.6 Sol is OpenAI's flagship model in the GPT-5.6 family, released July 9, 2026, for the most complex professional work spanning software engineering, long-horizon research, agentic tool use, and careful result refinement.
GPT-5.6 Terra balances capability and cost efficiency for everyday production workloads in the GPT-5.6 family, released July 9, 2026.
GPT-5.6 Luna is the fastest, most cost-optimized model in the GPT-5.6 family, released July 9, 2026, built for high-volume and latency-sensitive workloads.