How to use gpt-5 codex model?
Resolved 💬 3 comments Opened Sep 23, 2025 by AlejandroEsquivel Closed Sep 23, 2025
💡 Likely answer: A maintainer (dylan-hurd-oai, contributor)
responded on this thread — see the highlighted reply below.
I am looking to use this in non-interactive mode, is it just setting the model as model = "gpt-5" in the config.toml or is there a more specific model name related to the recent "gpt 5 codex" release.
Any help would be appreciated
3 Comments
I was asked if I wanted to upon installing. maybe check /models
You can use
/modelwithincodexor setmodel = "gpt-5-codex"in your~/.codex/config.tomlfile.@jairovg is correct! Closing this issue - please let us know if you're having issues with this approach.