This ticket remains valid, but its shape has changed.
The earlier question was whether Neo could locally prove a Codex Desktop / CLI external-provider route that gives @neo-gpt a real 1M effective context window. The updated V-B-A answer is more precise:
OpenAI has already shipped an experimental 1M Codex path for gpt-5.4.
OpenAI has publicly said it is working to make 1M-token context available for gpt-5.5 in Codex.
There is no public ETA.
The current gpt-5.5 Codex route used by Neo is still capped at 272000 raw / 258400 effective tokens.
Client-side config or catalog workarounds are not a valid fix; OpenAI says this requires server-side implementation.
Classification: Open / upstream-gated / not branch-ready repo work.
Why This Matters
Codex Desktop is currently treated in Neo substrate as having an effective 258400 token input window in the CLI / Desktop harness. That is direct MX pain for Neo: lifecycle skills, public-artifact gates, PR review, ticket creation, ADR/source-authority checks, A2A coordination, and repo-grounded V-B-A can exceed the effective Codex harness window inside a single lifecycle.
This is not only comfort. @neo-gpt is the cross-family GPT reviewer identity. A low effective window makes long-running reviews, architectural planning, and multi-ticket harness work materially more fragile.
At the same time, API-key routing is not a viable standing solution for Neo while Neo has no revenue. OpenAI Codex pricing separates ChatGPT Plus/Pro included usage from API-key usage-based billing, and API-key Codex pays for tokens at API rates. Pay-per-token usage could become cost-prohibitive for Neo's harness workload.
Official Codex models page: gpt-5.5 is the recommended current Codex model and is available via ChatGPT sign-in or API-key auth: https://developers.openai.com/codex/models
Official GPT-5.5 API model page: raw model capacity is 1,050,000 context tokens, 128,000 max output tokens, with a documented long-context pricing step above 272K input tokens: https://developers.openai.com/api/docs/models/gpt-5.5
Upstream openai/codex#19464: OpenAI collaborator etraut-openai said on 2026-04-27 that OpenAI is working to make 1M-token context available for gpt-5.5 in Codex, with no timeline because capacity planning is needed: https://github.com/openai/codex/issues/19464#issuecomment-4329299628
Technical upstream cap report: openai/codex#21993 identifies the bundled gpt-5.5 catalog max_context_window=272000 clamp and compares it to gpt-5.4's larger max; it was closed as duplicate, not fixed: https://github.com/openai/codex/issues/21993
The gpt-5.5 catalog still reports 272000 / 272000.
Reconciled Prior Art
#10488 / PR #10503 tried the repo-local config-budget path (model_context_window, compaction limits, and catalog ideas). That remains insufficient: template/config presence is not active harness proof.
#11601 / PR #11606 created the ModelStats substrate and correctly distinguished raw API model capacity from Codex harness effective capacity.
The local user-profile/API-key experiment produced a technically plausible profile, but the path is now budget-deferred. API-key routing is usage-based and not acceptable as Neo's standing solution without explicit budget approval.
The current upstream evidence supersedes the original assumption that Neo should solve this mainly through local provider routing. The blocker is now best described as OpenAI server-side rollout / capacity planning for GPT-5.5 1M context in Codex.
Updated Proposed Work
Keep @neo-gpt / Codex ModelStats at 258400 effective for gpt-5.5 until the active Codex route proves otherwise.
Track upstream openai/codex#19464 and openai/codex#28852 for the server-side GPT-5.5 1M rollout.
If gpt-5.5 exposes a larger max_context_window, run a controlled Neo lifecycle workload above the current 258400 effective baseline and record compaction threshold, latency, usage pressure, and continuity.
If the proof passes, update .codex/config.template.toml, Codex harness docs, learn/agentos/ModelStats.md, and ai/graph/identityRoots.mjs under the normal registry discipline.
Optional stopgap only: test gpt-5.4 with its experimental 1M path for specific long-context planning sessions. This is a model-quality tradeoff, not GPT-5.5 parity.
Acceptance Criteria
Official OpenAI/Codex source links are captured in the body.
Current local Codex model-catalog evidence is captured in the body.
#10488 and #11601 are reconciled so this ticket does not reopen stale config-only assumptions.
Upstream staff signal is captured: planned/priority, no ETA, server-side required.
A future Codex release exposes gpt-5.5max_context_window > 272000 on the active Neo route.
A >258K effective-context Neo workload is attempted after that upstream change.
Latency, usage pressure, compaction threshold, and continuity are recorded after that upstream change.
If successful, follow-up work updates .codex/config.template.toml, Codex harness docs, ModelStats.md, and identityRoots.mjs.
If still unsuccessful after a relevant upstream change, the blocker is documented and Neo keeps 258400 as the Codex gpt-5.5 effective context value.
Out of Scope
Claude sibling identity, same-family GitHub-account semantics, or Desktop wake routing (#11792).
General lifecycle-skill shortening or AGENTS substrate compaction implementation.
Memory Core, A2A identity, or graph substrate changes.
Treating API-key 1M routing as Neo's default path without explicit budget approval.
Assuming API 1M context equals Codex Desktop / CLI 1M effective context without active harness proof.
Avoided Traps
Do not cite model_context_window = 1000000 as proof that the active harness uses 1M.
Do not update ModelStats from API marketing alone.
Do not recommend client-side workarounds after OpenAI stated this requires server-side implementation.
Do not route this through #11792; that discussion has a different problem shape.
Do not ignore the economics: larger context may solve continuity but can worsen latency, quota pressure, and token cost.
there is no solution avaiable at this point in time that codex supports with using the Open AI flatrates. Open AI is under heavy pressure for good reason to catch up. Anthropic and Google are ahead with a 1M context window for 6(?) months already.
Current Disposition (2026-06-18)
This ticket remains valid, but its shape has changed.
The earlier question was whether Neo could locally prove a Codex Desktop / CLI external-provider route that gives
@neo-gpta real 1M effective context window. The updated V-B-A answer is more precise:gpt-5.4.gpt-5.5in Codex.gpt-5.5Codex route used by Neo is still capped at272000raw /258400effective tokens.Classification: Open / upstream-gated / not branch-ready repo work.
Why This Matters
Codex Desktop is currently treated in Neo substrate as having an effective
258400token input window in the CLI / Desktop harness. That is direct MX pain for Neo: lifecycle skills, public-artifact gates, PR review, ticket creation, ADR/source-authority checks, A2A coordination, and repo-grounded V-B-A can exceed the effective Codex harness window inside a single lifecycle.This is not only comfort.
@neo-gptis the cross-family GPT reviewer identity. A low effective window makes long-running reviews, architectural planning, and multi-ticket harness work materially more fragile.At the same time, API-key routing is not a viable standing solution for Neo while Neo has no revenue. OpenAI Codex pricing separates ChatGPT Plus/Pro included usage from API-key usage-based billing, and API-key Codex pays for tokens at API rates. Pay-per-token usage could become cost-prohibitive for Neo's harness workload.
Current V-B-A Evidence
gpt-5.4in Codex got experimental 1M context support on 2026-03-05: https://developers.openai.com/codex/changeloggpt-5.5is the recommended current Codex model and is available via ChatGPT sign-in or API-key auth: https://developers.openai.com/codex/models1,050,000context tokens,128,000max output tokens, with a documented long-context pricing step above272Kinput tokens: https://developers.openai.com/api/docs/models/gpt-5.5openai/codex#19464: OpenAI collaboratoretraut-openaisaid on 2026-04-27 that OpenAI is working to make 1M-token context available forgpt-5.5in Codex, with no timeline because capacity planning is needed: https://github.com/openai/codex/issues/19464#issuecomment-4329299628openai/codex#28852continues the GPT-5.5 1M Codex request and has no newer staff ETA: https://github.com/openai/codex/issues/28852openai/codex#21993identifies the bundledgpt-5.5catalogmax_context_window=272000clamp and compares it togpt-5.4's larger max; it was closed as duplicate, not fixed: https://github.com/openai/codex/issues/21993Local Probe Evidence (Neo, 2026-06-18)
Local Codex:
codex debug modelscurrently reports:{ "slug": "gpt-5.5", "context_window": 272000, "max_context_window": 272000, "effective_context_window_percent": 95 }The same probe for
gpt-5.4reports:{ "slug": "gpt-5.4", "context_window": 272000, "max_context_window": 1000000, "effective_context_window_percent": 95 }One-off overrides do not lift
gpt-5.5:The
gpt-5.5catalog still reports272000/272000.Reconciled Prior Art
model_context_window, compaction limits, and catalog ideas). That remains insufficient: template/config presence is not active harness proof.Updated Proposed Work
@neo-gpt/ Codex ModelStats at258400effective forgpt-5.5until the active Codex route proves otherwise.openai/codex#19464andopenai/codex#28852for the server-side GPT-5.5 1M rollout.codex --version codex debug models | jq '.models[] | select(.slug=="gpt-5.5") | {slug, context_window, max_context_window, effective_context_window_percent}'gpt-5.5exposes a largermax_context_window, run a controlled Neo lifecycle workload above the current258400effective baseline and record compaction threshold, latency, usage pressure, and continuity..codex/config.template.toml, Codex harness docs,learn/agentos/ModelStats.md, andai/graph/identityRoots.mjsunder the normal registry discipline.gpt-5.4with its experimental 1M path for specific long-context planning sessions. This is a model-quality tradeoff, not GPT-5.5 parity.Acceptance Criteria
gpt-5.5max_context_window > 272000on the active Neo route..codex/config.template.toml, Codex harness docs,ModelStats.md, andidentityRoots.mjs.258400as the Codexgpt-5.5effective context value.Out of Scope
Avoided Traps
model_context_window = 1000000as proof that the active harness uses 1M.Handoff Retrieval Hints
Codex GPT-5.5 1M context, upstream-gated,
openai/codex#19464,openai/codex#28852,model_context_window,max_context_window, GPT-5.5, GPT-5.4 experimental 1M,258400effective context, compaction pressure, lifecycle skills.Origin Session ID: d60db68f-8ff0-48a6-b168-237ca9dca2a0