GPT-5.1-Codex
Release date: November 13, 2025. OpenAI announced the model's release to the Responses API on that date. (developers.openai.com)
Positioning and uses
GPT-5.1-Codex is a version of GPT-5.1 optimized for long-running, agentic coding tasks in Codex or similar environments. It is intended for coding workflows such as code generation, bug fixing and refactoring. (openai.com)
Capabilities and limits
- Supports text input and output, image input, reasoning tokens, streaming, function calling and structured outputs.
- Context window: 400,000 tokens; maximum output: 128,000 tokens. Knowledge cutoff: September 30, 2024.
- Audio and fine-tuning are not supported. The model was available through the Responses API only; its underlying model snapshot was subject to regular updates. (developers.openai.com)
Availability
OpenAI lists gpt-5.1-codex as shut down on July 23, 2026. It is therefore no longer available for new API use as of November 17, 2026. OpenAI's deprecation record lists gpt-5.6-sol as a replacement. (developers.openai.com)
Pricing
The official model page displays the following USD text-token rates per 1 million tokens: input $1.25, cached input $0.125, and output $10.00. The cached-input rate applies to eligible cached input. These are displayed model-page rates, not a current offer of access to the shut-down model. Pricing source checked November 17, 2026: OpenAI model page and pricing. (developers.openai.com)