GPT-5-Codex
Released: September 15, 2025. GPT-5-Codex is a version of GPT-5 optimized for agentic coding in Codex and similar environments. (openai.com)
Capabilities and uses
The model was designed for interactive code edits, longer independent software-engineering tasks, running tests, and code review. It accepts text and images as input and produces text; screenshots can help with frontend and UI work. At launch, it was available through Codex cloud and selectable in the Codex CLI and IDE extension. (openai.com)
The model documentation lists a 400,000-token context window, a maximum of 128,000 output tokens, and a knowledge cutoff of September 30, 2024. It supports reasoning tokens, streaming, function calling, and structured outputs. (developers.openai.com)
Availability and limitations
API status: OpenAI lists gpt-5-codex as shut down on July 23, 2026, and lists gpt-5.6-sol as a replacement. The model became available through the Responses API on September 23, 2025; it was not available through Chat Completions. (developers.openai.com)
It was specialized for coding rather than general-purpose chat. Audio, video, and fine-tuning are not supported. Generated code and agent actions should be reviewed and tested; the system card discusses mitigations for risks including prompt injection. (cdn.openai.com)
Pricing
The official model page lists USD per 1 million text tokens: $1.25 for input, $0.125 for cached input, and $10.00 for output. These are the rates displayed on the model page, not an indication that the shut-down model remains available. Tool charges may be separate. Source: OpenAI model and pricing page; checked November 18, 2026. (developers.openai.com)