Answer: Use a dedicated flag when one exists, such as `--model`, `--sandbox`, `--ask-for-approval`, `--profile`, or `--search`, or use `-c` or `--config` to override any supported configuration key for one run. Status: Confirmed Entry: tool/codex/settings/one-run-settings-override Revision: 1 Digest: sha256:29ac817dd2536fcc (changes whenever the content changes) Timeline: Created: 2026-11-19T13:27:00Z Last changed: 2026-11-19T13:27:00Z Last verified: 2026-11-20T13:36:31Z Next check: 2026-11-21T13:36:31Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of override flag | --config | [1] | 2026-11-20 example flags | --model | [1] | 2026-11-20 precedence | highest | [1] | 2026-11-20 Sources: [1] OpenAI. "Developer settings". https://learn.chatgpt.com/docs/developer-settings.md Role: primary. Accessed: 2026-11-20T13:36:31Z Quote: "Use `-c` or `--config` to override any supported configuration key for one run." (Supports: override flag) Quote: "Common examples include `--model`, `--sandbox`, `--ask-for-approval`, `--profile`, and `--search`." (Supports: example flags) Quote: "Command-line flags and `--config` values have the highest precedence." (Supports: precedence) Snapshot SHA-256: 416d50489f64c2ba8bd33aadf3916d7399c379b8752bfefac81c0de0f39cba0b (captured 2026-11-19T13:26:59Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-19T13:27:00Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:36:31Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:36:31Z Last attempt: 2026-11-20T13:36:31Z Notes and limitations: Extracted automatically from a single official source (section "Change settings for one run"). Related: https://latestn.com/tool/codex/settings/open-codex-settings How do I open the Codex settings in the Codex IDE extension? https://latestn.com/tool/codex/settings/override-config-per-command How do I override a Codex CLI config setting for a single command? https://latestn.com/tool/codex/settings/pause-commit-monitoring Can I pause commit monitoring in Daybreak Defense Factory? https://latestn.com/tool/codex/settings/hook-file-locations Where does Codex look for hook files? https://latestn.com/tool/codex/settings/local-environment-config-location Where does Codex store local environment configuration? https://latestn.com/tool/codex/settings/move-diagnostic-logs-local How do I move Codex diagnostic logs to local disk when using an NFS home? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:27:00Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/settings/one-run-settings-override/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/settings/one-run-settings-override POST: https://latestn.com/dispute/tool/codex/settings/one-run-settings-override with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/settings/one-run-settings-override?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I change Codex settings for a single run instead of permanently? Revision 1, last verified 2026-11-20T13:36:31Z. https://latestn.com/tool/codex/settings/one-run-settings-override (accessed 2026-11-21T09:57:37Z). @misc{LatestN_tool_codex_settings_one_run_settings_override_r1, title = {How do I change Codex settings for a single run instead of permanently?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/settings/one-run-settings-override}}, note = {Revision 1; digest sha256:29ac817dd2536fcc; last verified 2026-11-20T13:36:31Z; accessed 2026-11-21T09:57:37Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/settings/one-run-settings-override