codex --model="codex-5.1-mini-high" --yolo review --uncommitted - does not select the model
Resolved 💬 7 comments Opened Jan 7, 2026 by dlukt Closed Jan 17, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
0.77
What subscription do you have?
teams and 3 plus
Which model were you using?
_No response_
What platform is your computer?
_No response_
What issue are you seeing?
OpenAI Codex v0.77.0 (research preview)
--------
workdir: redacted
model: gpt-5.2-codex
provider: openai
approval: never
sandbox: read-only
reasoning effort: xhigh
reasoning summaries: auto
session id: redacted
--------
user
current changes
mcp startup: no servers
mcp startup: no servers
What steps can reproduce the bug?
codex --model="codex-5.1-mini-high" --yolo review --uncommitted
What is the expected behavior?
model should change to the selected model
Additional information
_No response_
7 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
The
reviewcommand doesn't use the normal model selection. It uses the model specified by thereview_modelconfig option.How do I set this review_model on the cli?
Please check out this documentation for config overrides.
nothing about review_model in there.
The behavior is unintuitive
Try
codex --config review_model='"codex-5.1-mini-high"' review. Alternatively, you can specify thereview_modelkey in yourconfig.tomlif you want to use the same review model all the time. Then you can usecodex reviewwithout specifying the review model on the command line.The cli arg works, but 2 things
2.
It is however selectable when running codex and using
/model