codex - 💡(How to fix) Fix Allow compaction to use a different model [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#20972Fetched 2026-05-05 05:55:12
View on GitHub
Comments
1
Participants
2
Timeline
8
Reactions
0
Timeline (top)
labeled ×4unlabeled ×2commented ×1renamed ×1
RAW_BUFFERClick to expand / collapse

What variant of Codex are you using?

CLI

What feature would you like to see?

I'd like to be able to configure codex so that if context exceeds 10% it will /compact but using a cheap model (like gpt-5.4-mini low). Is this possible? I think this could make users be more efficient

Additional information

No response

extent analysis

TL;DR

Configure Codex to use a cheaper model like gpt-5.4-mini when context exceeds 10% to improve efficiency.

Guidance

  • Investigate the Codex configuration options to see if there's a built-in feature to switch models based on context size.
  • Check the documentation for any existing compacting or model-switching mechanisms that can be leveraged.
  • Consider reaching out to the Codex development team or community to ask about potential workarounds or future feature plans.

Notes

The feasibility of this feature request depends on the current capabilities and limitations of the Codex CLI.

Recommendation

Apply workaround: Since it's unclear if this feature is currently supported, exploring alternative solutions or workarounds, such as scripting or external tools, might be necessary to achieve the desired functionality.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Allow compaction to use a different model [1 comments, 2 participants]