[Critical][Codex App] GPT-5.6 Sol is catalog-capped at 372K (353.4K effective) vs the 1.05M model spec

Open 💬 7 comments Opened Jul 9, 2026 by violet-go
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the Codex App are you using (From “About Codex” dialog)?

Codex App 26.707.30751 (bundle build 5018), bundled CLI codex-cli 0.144.0-alpha.4, model catalog client version 0.144.0.

What subscription do you have?

ChatGPT Pro.

What platform is your computer?

Darwin 27.0.0 arm64 arm

macOS 27.0 (26A5378j), Apple Silicon.

What issue are you seeing?

Codex currently gives gpt-5.6-sol threads a 353,400-token effective context window even though the public GPT-5.6 Sol API model specification advertises a 1,050,000-token context window.

This is not only a UI rounding problem. The freshly fetched, server-provided Codex model catalog contains the following metadata for gpt-5.6-sol:

{
  "context_window": 372000,
  "max_context_window": 372000,
  "effective_context_window_percent": 95,
  "auto_compact_token_limit": null
}

Codex core therefore computes and uses this effective window:

372,000 * 0.95 = 353,400

App Server exposes model_context_window: 353400 in the thread's task_started and subsequent token-usage events, and the Codex App displays a total window of approximately 353k.

With auto_compact_token_limit absent, Codex derives the default compaction threshold from 90% of the raw catalog window:

372,000 * 0.90 = 334,800

No context-window, auto-compaction, project-level, environment-variable, or provider override is configured locally. The catalog was freshly fetched with a current ETag, so this does not appear to be stale local metadata.

The current evidence establishes a Codex catalog/runtime cap. It does not claim that the upstream model endpoint itself rejects inputs above 372,000 tokens.

What steps can reproduce the bug?

  1. Use the Codex App version above with the official openai provider and a ChatGPT Pro account.
  2. Select gpt-5.6-sol and start a fresh local thread.
  3. Open the context-window indicator. Codex reports a total usable window of approximately 353k tokens.
  4. Inspect the gpt-5.6-sol entry in ~/.codex/models_cache.json; observe context_window: 372000, max_context_window: 372000, and effective_context_window_percent: 95.
  5. Inspect the sanitized thread metadata; observe task_started.model_context_window: 353400 and the same value in subsequent token-usage events.

What is the expected behavior?

The public API model specification lists a 1,050,000-token context window for GPT-5.6 Sol:

https://developers.openai.com/api/docs/models/gpt-5.6-sol

Absent a documented Codex-specific preview cap, the Codex catalog should match that raw model window or clearly disclose the product-specific limit. With the same 95% effective-window policy, a 1,050,000-token raw window would imply approximately 997,500 usable tokens:

1,050,000 * 0.95 = 997,500

The current 353,400-token effective budget is only about 35.4% of the effective window implied by the published API model specification, a reduction of about 64.6%. The derived 334,800-token default compaction threshold is only about 31.9% of the published 1.05M raw window.

Additional information

Codex computes the effective window from the resolved catalog metadata and effective_context_window_percent:

https://github.com/openai/codex/blob/2c85975eead2428af5b977a048a98875def6b372/codex-rs/core/src/session/turn_context.rs#L195-L202

The protocol defines the effective percentage and derives the default compaction limit when no explicit limit is supplied:

https://github.com/openai/codex/blob/2c85975eead2428af5b977a048a98875def6b372/codex-rs/protocol/src/openai_models.rs#L348-L406

https://github.com/openai/codex/blob/2c85975eead2428af5b977a048a98875def6b372/codex-rs/protocol/src/openai_models.rs#L436-L451

App Server exposes the computed model context window through the thread token-usage protocol:

https://github.com/openai/codex/blob/2c85975eead2428af5b977a048a98875def6b372/codex-rs/app-server-protocol/src/protocol/v2/thread.rs#L1372-L1395

The practical impact is severe for repository-scale analysis, long-running agentic coding sessions, large specifications, tool-heavy workflows, and multi-agent coordination because Codex begins managing context pressure at roughly one third of the published raw model capacity.

Related but not duplicate reports:

  • #30875 reports GPT-5.5 catalog/runtime context-window oscillation involving the same 353,400-token value.
  • #19464 and #30910 request larger GPT-5.5 Codex windows but do not report this GPT-5.6 Sol catalog mismatch against the published 1.05M specification.

Please confirm whether the 372,000-token Codex cap is intentional. If it is not, the gpt-5.6-sol catalog metadata should expose the correct raw and maximum context window. If it is intentional, Codex should document the product-specific limit clearly instead of presenting 353,400 as the model's context window without explanation.

View original on GitHub ↗

7 Comments

github-actions[bot] contributor · 11 days ago

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

  • #30910

Powered by Codex Action

tobiu · 11 days ago

Pretty much the same as it was for GPT 5.5. Let me add some weight here:
It is a critical miss on Open AI's side to release a model like SOL with a 300k tokens context window. Literally: what is the point? Below 1M as useless as it gets for a frontier model.

StulkovLD · 11 days ago

ChatGPT Pro user here. This 372K catalog cap (353.4K effective) on GPT-5.6 Sol is a hard blocker for my work.

I verified it locally: overriding the client catalog/context to 1.05M, disabling Responses Lite, and switching from WebSocket to HTTP all still produced a server-side context-window error at 380,005 input tokens. So this is not a UI or client accounting issue.

I specifically need a true ~1M context window on the current top model inside Codex under the ChatGPT subscription. API-only 1.05M access does not solve the subscription use case. If this remains capped, I will move long-context work to Claude Code.

Please align Codex Pro with GPT-5.6 Sol's advertised 1.05M window, or publish a concrete rollout timeline.

akakoori · 10 days ago

gpt 5.5 in codex with 400k context window is Ok because now we have gpt 5.6
gpt 5.6 in codex with 372k (holy how could it be even less than gpt 5.5 's) context window is NOT Ok because we haven't gpt 6, while claude code with Opus supports 1M long time ago!

anthrotype · 7 days ago

Update (July 13): this appears to have regressed further. With Codex CLI 0.144.1 and a freshly fetched model catalog, gpt-5.6-sol now reports

context_window=272000
max_context_window=272000
effective_context_window_percent=95

... yielding 258400 effective tokens.

On July 9, the same setup reported 372000 -> 353400 effective tokens. codex debug models and app-server usage agree, so this is not a client display issue.

Is the 272K Codex subscription cap intentional, and if so, where is it documented?

qbawu · 7 days ago
Update (July 13): this appears to have regressed further. With Codex CLI 0.144.1 and a freshly fetched model catalog, gpt-5.6-sol now reports context_window=272000 max_context_window=272000 effective_context_window_percent=95 ... yielding 258400 effective tokens. On July 9, the same setup reported 372000 -> 353400 effective tokens. codex debug models and app-server usage agree, so this is not a client display issue. Is the 272K Codex subscription cap intentional, and if so, where is it documented?

Same issue appeared today for me - PRO subscription on win11 app - Poland.

garysassano · 4 days ago

This may answer your doubts.

<img width="928" height="810" alt="Image" src="https://github.com/user-attachments/assets/23831b11-6ef3-46b2-b129-45541f84eeb3" />

Source: https://x.com/thsottiaux/status/2076495156757577895