What version of Codex are you using?
Codex CLI 0.144.0
What model are you using?
GPT-5.6 Sol and GPT-5.6 Luna
What issue are you seeing?
GPT-5.6's default Codex context configuration appears to allow sessions to enter the higher-usage pricing band without the user explicitly opting into a larger context.
The current model metadata reports a 372,000-token context window with a 95% effective-context multiplier, yielding an effective window of approximately 353,400 tokens. OpenAI's GPT-5.6 model pricing documentation states that prompts with more than 272K input tokens are priced at 2x input and 1.5x output for the full request.
That means the default effective context can extend roughly 81K tokens into the higher-cost band:
- Raw context: 372,000
- Effective context: 353,400
- Higher-cost threshold: 272,000
- Exposure above threshold: approximately 81,400 tokens
This is particularly easy to encounter when Sol uses subagents to audit its own work, because child-agent context and reasoning can add usage without the user intentionally selecting a large-context mode.
Expected behavior
The default auto-compaction threshold should keep normal sessions at or below the 272K pricing boundary, or Codex should clearly warn that continuing past the boundary will increase usage.
A larger context should require an explicit opt-in, or the UI should clearly show the applicable usage multiplier before the request runs.
Possible solutions
- Set the default auto-compaction threshold below 272K for GPT-5.6 Codex sessions.
- Show a visible warning before a request crosses the 272K threshold.
- Make the larger-context behavior an explicit custom-config opt-in.
- Display the active context threshold and pricing multiplier in /status or the usage panel.
- Apply the higher multiplier only to tokens above 272K rather than the full request, if technically feasible.
Additional information
The documented pricing behavior is described here:
https://developers.openai.com/api/docs/models/gpt-5.6-luna
As a local workaround, users can set:
model_auto_compact_token_limit = 270000
However, requiring users to discover and configure this manually makes it easy to enter the higher-usage band unintentionally.
What version of Codex are you using?
Codex CLI 0.144.0
What model are you using?
GPT-5.6 Sol and GPT-5.6 Luna
What issue are you seeing?
GPT-5.6's default Codex context configuration appears to allow sessions to enter the higher-usage pricing band without the user explicitly opting into a larger context.
The current model metadata reports a 372,000-token context window with a 95% effective-context multiplier, yielding an effective window of approximately 353,400 tokens. OpenAI's GPT-5.6 model pricing documentation states that prompts with more than 272K input tokens are priced at 2x input and 1.5x output for the full request.
That means the default effective context can extend roughly 81K tokens into the higher-cost band:
This is particularly easy to encounter when Sol uses subagents to audit its own work, because child-agent context and reasoning can add usage without the user intentionally selecting a large-context mode.
Expected behavior
The default auto-compaction threshold should keep normal sessions at or below the 272K pricing boundary, or Codex should clearly warn that continuing past the boundary will increase usage.
A larger context should require an explicit opt-in, or the UI should clearly show the applicable usage multiplier before the request runs.
Possible solutions
Additional information
The documented pricing behavior is described here:
https://developers.openai.com/api/docs/models/gpt-5.6-luna
As a local workaround, users can set:
However, requiring users to discover and configure this manually makes it easy to enter the higher-usage band unintentionally.