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_

View original on GitHub ↗

7 Comments

github-actions[bot] contributor · 6 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #6705
  • #6711

Powered by Codex Action

etraut-openai contributor · 6 months ago

The review command doesn't use the normal model selection. It uses the model specified by the review_model config option.

dlukt · 6 months ago

How do I set this review_model on the cli?

etraut-openai contributor · 6 months ago

Please check out this documentation for config overrides.

dlukt · 6 months ago

nothing about review_model in there.
The behavior is unintuitive

etraut-openai contributor · 6 months ago

Try codex --config review_model='"codex-5.1-mini-high"' review. Alternatively, you can specify the review_model key in your config.toml if you want to use the same review model all the time. Then you can use codex review without specifying the review model on the command line.

dlukt · 6 months ago

The cli arg works, but 2 things

  1. it doesn't reflect in the output

2.

codex --yolo --config review_model='"codex-5.1-mini-high"' review --uncommitted
OpenAI Codex v0.79.0 (research preview)
--------
workdir: redacted
model: gpt-5.2-codex
provider: openai
approval: never
sandbox: workspace-write [workdir, /tmp, $TMPDIR]
user
current changes
mcp startup: no servers
mcp startup: no servers
2026-01-07T10:09:11.607365Z ERROR codex_api::endpoint::responses: error=http 400 Bad Request: Some("{\"detail\":\"The 'codex-5.1-mini-high' model is not supported when using Codex with a ChatGPT account.\"}")
ERROR: {"detail":"The 'codex-5.1-mini-high' model is not supported when using Codex with a ChatGPT account."}
codex
Review was interrupted. Please re-run /review and wait for it to complete.

It is however selectable when running codex and using /model