GPT 5.1 Codex
by OpenAI
GPT-5.1 Codex is OpenAI's coding-optimized model built on the GPT-5.1 architecture with dynamic reasoning adjustment. Delivers strong software engineering performance with 2-3x faster speed and extended prompt caching.
- Coding-optimized model built on GPT-5.1 with dynamic reasoning adjustment for development tasks.
- 400,000-token context window with 128,000 max output tokens and configurable reasoning effort.
- 2-3x faster than GPT-5 with ~50% token efficiency for cost-effective coding workflows.
- Extended prompt caching retention up to 24 hours with 90% cheaper cached input tokens.
- Pricing is $1.25 per 1M input tokens and $10 per 1M output tokens.
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.