[Platform][Codex] Align model catalog with official docs#1982
Merged
chr-hertel merged 1 commit intosymfony:mainfrom Apr 22, 2026
Merged
[Platform][Codex] Align model catalog with official docs#1982chr-hertel merged 1 commit intosymfony:mainfrom
chr-hertel merged 1 commit intosymfony:mainfrom
Conversation
Member
Member
|
interesting tho: is it really a breaking change if those models are not around anymore anyways? using those models would break with v0.8.0 already, right? |
chr-hertel
approved these changes
Apr 22, 2026
Removes legacy Codex models that are no longer supported by the Codex CLI (rejected with HTTP 400 on ChatGPT accounts) and adds `gpt-5.2` to match the official list at https://developers.openai.com/codex/models. Also updates the examples to use `gpt-5.4` (the recommended default) instead of the removed `gpt-5-codex`.
093190c to
5194826
Compare
Member
|
Thank you @wachterjohannes. |
Contributor
Author
yes it is a breaking change thats right have you added that to the upgrades? |
Member
|
Have not, patched it into 0.8.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

The Codex
ModelCataloglisted several models that the Codex CLI no longer accepts with a ChatGPT account — calling them returns:This surfaced while trying to run the bundled
examples/codex/*.phpscripts, all four of which hardcodedgpt-5-codexand therefore failed end-to-end.Aligning the catalog with the official list at https://developers.openai.com/codex/models:
gpt-5.4,gpt-5.4-mini,gpt-5.3-codex,gpt-5.3-codex-sparkgpt-5.2gpt-5.2-codex,gpt-5.1-codex,gpt-5-codex,gpt-5-codex-miniAlso:
@see https://developers.openai.com/codex/modelslink to theModelCatalogPHPDoc header so the source of truth is easy to find.gpt-5-codextogpt-5.4(the currently recommended default). All four now run successfully (verified against a local Codex CLI 0.122.0 install).ModelCatalogTestdata provider to match.