model_reasoning_effort from config.toml seems overridden by last-used reasoning on fresh CLI launch
Resolved 💬 3 comments Opened Apr 11, 2026 by Michaelihc Closed Apr 11, 2026
What version of Codex CLI is running?
0.120.0
What subscription do you have?
ChatGPT Pro 20x
Which model were you using?
gpt-5.4
What platform is your computer?
Microsoft Windows NT 10.0.26220.0 x64
What terminal emulator and version are you using (if applicable)?
PowerShell
What issue are you seeing?
A fresh codex session can start with the previously used reasoning effort instead of the value in ~/.codex/config.toml.
My config:
model = "gpt-5.4"
model_reasoning_effort = "high"
But after using xhigh in a prior session, a brand-new codex launch started with xhigh.
What steps can reproduce the bug?
- Set in ~/.codex/config.toml:
model = "gpt-5.4"
model_reasoning_effort = "high"
- Start codex
- Change reasoning effort to xhigh
- Exit
- Start a fresh new codex session
What is the expected behavior?
A fresh CLI launch should respect model_reasoning_effort from ~/.codex/config.toml, or the docs should explicitly state that persisted last-used state overrides config on startup.
Additional information
This may be related to the CLI 0.116.0 changelog entry saying model and reasoning effort are persisted in sqlite.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗