GPT-5-Codex: Product update
Confirmed6 evidence links
English original

OpenAI
A connection is possible; a shared identity is not confirmed.
Related signals: GPT-5
For developers using Codex CLI via API key, we plan to make GPT‑5‑Codex available in the API soon
earch' | 'o3-deep-research-2025-06-26' | 'o4-mini-deep-research' | 'o4-mini-deep-research-2025-06-26' | 'computer-use-preview' | 'computer-use-preview-2025-03-11' | 'gpt-5.5-pro' | 'gpt-5.5-pro-2026-04-23' | 'gpt-5-codex' | 'gpt-5-pro' | 'gpt-5-pro-2025-10-06' | 'gpt-5.1-codex-max' | 'gpt-daybreak-blue-latest' | 'gpt-daybreak-red-latest' | 'gpt-5.6-cyber' | 'gpt-6-cyber' | 'gpt-rosalind-research' | 'gpt-6-rosalind' | (string & {}); /** * The object type of this resource - always set to `response`. */ object: 'response'; /** * An array of content items generated by the model. * * - The length and order of items in the `output` array is dependent on the * model's response. * - Rather than accessing the first item in the `output` array and assuming it's * an `assistant` messag
use pretty_assertions::assert_eq; use toml::Value as TomlValue; use url::Url; #[test] fn app_server_accepts_cli_config_overrides() { let args = AppServerArgs::try_parse_from([ "codex-app-server", "-c", "model=\"gpt-5-codex\"", "--config", "sandbox_mode=\"read-only\"", "--listen", "off", ]) .expect("parse app-server args"); let parsed_overrides = args .config_overrides .parse_overrides() .expect("parse config overrides"); assert_eq!( parsed_overrides, vec![ ( "model".to_string(), TomlValue::String("gpt-5-codex".to_string()), ), ( "sandbox_mode".to_string(), TomlValue::String("read-only".to_string()), ), ] ); } #[test] fn app_server_accepts_
This code reference does not establish a working model identifier.
"gpt-4.1-mini-2025-04-14", "gpt-4.1-nano", "gpt-4.1-nano-2025-04-14", ), 1_047_576, ), **_model_context_windows( ( "gpt-5", "gpt-5-2025-08-07", "gpt-5-codex", "gpt-5-mini", "gpt-5-mini-2025-08-07", "gpt-5-nano", "gpt-5-nano-2025-08-07", "gpt-5-pro", "gpt-5-pro-2025-10-06", "gpt-5.1", "gpt-5.1-2025-11-13", "gpt-5.1-codex", "gpt-5.1-codex-max", "gpt-5.1-codex-mini", "gpt-5.2", "gpt-5.2-2025-12-11", "gpt-5.2-codex", "gpt-5.2-pro", "gpt-5.2-pro-2025-12-11", "gpt-5.3-codex", "gpt-5.4-mini", "gpt-5.4-mini-2026-03-17", "gpt-5.4-nano", "gpt-5.4-n
"o4-mini-deep-research", "o4-mini-deep-research-2025-06-26", "computer-use-preview", "computer-use-preview-2025-03-11", "gpt-5.5-pro", "gpt-5.5-pro-2026-04-23", "gpt-5-codex", "gpt-5-pro", "gpt-5-pro-2025-10-06", "gpt-5.1-codex-max", "gpt-daybreak-blue-latest", "gpt-daybreak-red-latest", "gpt-5.6-cyber", "gpt-6-cyber", "gpt-rosalind-research", "gpt-6-rosalind", ], str, None, ] = None """Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](https://developers.openai.com/api/docs/models) to browse and compa
'gpt-5.4-pro', 'gpt-5.4-pro-2026-03-05', 'gpt-4.1', 'gpt-4.1-2025-04-14', 'gpt-4.1-mini', 'gpt-4.1-mini-2025-04-14', 'gpt-4.1-nano', 'gpt-4.1-nano-2025-04-14', ]); const SANDBOX_CONTEXT_WINDOWS_400K = new Set([ 'gpt-5', 'gpt-5-codex', 'gpt-5-mini', 'gpt-5-nano', 'gpt-5-pro', 'gpt-5.1', 'gpt-5.1-codex', 'gpt-5.1-codex-max', 'gpt-5.1-codex-mini', 'gpt-5.2', 'gpt-5.2-codex', 'gpt-5.2-codex-cyber', 'gpt-5.2-pro', 'gpt-5.3-codex', 'gpt-5.3-codex-spark', 'gpt-5.4-mini', 'gpt-5.4-nano', ]); const SANDBOX_CONTEXT_WINDOWS_200K = new Set([ 'codex-mini-latest', 'o1', 'o1-2024-12-17', 'o1-pro', 'o3', 'o3-2025-04-16', 'o3-mini', 'o3-pro', 'o3-deep-research', 'o4-mini', 'o4-mini-2025-04-16', 'o4-mini-deep-research', ]); const SANDBOX_CONTEXT_WINDOWS_128K = new Set([ 'gpt-4o', 'gpt-4o-2024-08-06', 'gpt-4o-mini',
We're excited to announce that GPT-5-codex is now available in the Responses API , in addition to codex surfaces
In day-to-day use, GPT-5-codex supports fast interactive edits and can run independently on longer tasks when needed
gpt-5-codexGPT-5-Codex is a model from OpenAI, released on 15 Sep 2025. The context window is 400,000 tokens. The maximum output is 128,000 tokens.
The context window is 400,000 tokens. The maximum output is 128,000 tokens.
On 15 Sep 2025.