Codex GPT-5.6 Sol context window reduced to 258K tokens, users report performance degradation

According to a GitHub issue filed on July 13, Codex GPT-5.6 Sol's context window was reduced from 353K to 258K tokens despite being advertised at 1.05M, with multiple users reporting significant slowness. The issue was opened on the OpenAI Codex repository and labeled a severe regression affecting CLI version 0.144.3 for paid ChatGPT-authenticated users across multiple environments.

Update (2026-07-20): OpenAI reset Codex's usage limits multiple times over the following week while the context window stayed far below the advertised 1.05M, according to GitHub issue tracking and third-party monitoring, and the disruption continued to affect active deployments.

What the GPT-5.6 Sol context window is

A context window is the maximum amount of text a model can consider at once, measured in tokens: the prompt, the conversation so far, any files or documents loaded in, and the response being generated all have to fit inside it. When a session outgrows the window, something has to be dropped or compressed, and the model loses direct access to whatever fell out.

GPT-5.6 Sol is the variant of GPT-5.6 that OpenAI runs in Codex, its agentic coding product. OpenAI advertises a context window of up to 1.05 million tokens for the model. That figure describes the model's ceiling, not what any given product serves: the window a Codex session actually gets has consistently been smaller, and it is the gap between those two numbers that this story is about.

What changed in Codex

In July 2026, users measuring their Codex sessions found the effective context window had dropped from roughly 353,000 tokens to roughly 258,000 — a cut of about 27 percent, made without a headline announcement. The same reports describe severe slowdowns, with sessions that previously ran comfortably now degrading well before the old limit.

For a coding agent, the practical difference is larger than the raw numbers suggest. Codex sessions accumulate context quickly: repository files, diffs, test output, and the agent's own working notes all compete for the same budget. A window cut of nearly 100,000 tokens means long refactors and large-repository work hit truncation sooner, and the agent starts forgetting earlier parts of the task it is still in the middle of.

Why the effective window is smaller than the advertised limit

The 1.05 million token figure and the 258K figure are both real; they just measure different things. The advertised number is the maximum the model architecture supports, typically via the raw API at full price. The effective number is what a product chooses to serve, and products almost always serve less.

There are three standard reasons. Cost: serving long contexts is expensive, and inference cost grows faster than linearly with context length, so capping the window is the most direct lever a provider has on margins. Quality: models degrade on very long contexts, with retrieval accuracy in the middle of the window falling off well before the hard limit, so a smaller window can genuinely produce better answers. And overhead: an agentic product spends a meaningful slice of the window on its own system prompts, tool definitions, and scaffolding before the user's content gets a single token.

None of that is unique to OpenAI or to Codex. What drew attention here is the direction and the silence: an already-reduced effective window was reduced further, discovered by users measuring it rather than announced.

What it means for developers using Codex

Sessions truncate sooner. Work that spans many files, long test logs, or extended back-and-forth will cross the 258K boundary earlier than before, and once compaction kicks in the agent is working from summaries of its earlier context rather than the context itself. Symptoms include the agent re-reading files it already read, forgetting decisions made earlier in the session, and quality dropping late in long tasks.

The reported slowdowns compound this. A slower session encourages leaving one long-running conversation open rather than starting fresh ones, which is exactly the usage pattern the smaller window now punishes.

How to work within the smaller window

Scope sessions to one task. The context budget resets with each new session, so a fresh session per task keeps the whole window available for the work at hand instead of the residue of the last three tasks.

Keep the working set small. Point the agent at the specific files and directories that matter rather than letting it ingest broadly; every file it reads is spent budget. Externalise durable state: decisions, task lists, and specs survive better in a file the agent re-reads on demand than in conversation history that will be compacted away.

Summarise before you continue. When a long session is unavoidable, asking the agent to write its own handover summary and starting a new session from that summary preserves the decisions while releasing the tokens. And if a task genuinely needs more simultaneous context than Codex now serves, the raw API with an explicit long-context configuration remains the escape hatch, at raw-API prices.

Topics

ChatGPTGenerative AI

Sources

Related coverage

Go deeper

This intelligence is sourced automatically from public sources across the web and synthesised by the Prefactor AI pipeline. Stories are reviewed before publication.

GPT-5.6 Sol Context Window Cut to 258K Tokens in Codex — FAQ

What is the GPT-5.6 Sol context window?

The context window is the maximum amount of text, measured in tokens, that GPT-5.6 Sol can consider at once: prompts, loaded files, conversation history, and the response all share it. OpenAI advertises up to 1.05 million tokens for the model, but the effective window inside Codex is currently about 258,000 tokens.

How much was the Codex context window reduced?

User measurements in July 2026 put the effective GPT-5.6 Sol window in Codex at roughly 258,000 tokens, down from roughly 353,000 — a cut of about 27 percent. The change was not announced; users discovered it by measuring where their sessions truncated.

Why is the Codex context window smaller than the advertised 1.05M tokens?

The advertised figure is the model's architectural maximum, usually available via the raw API. Products serve less because long contexts cost more to run, model quality degrades on very long contexts, and agentic products spend part of the window on their own system prompts and tool definitions.

How do I work around the 258K token limit in Codex?

Use one session per task, keep the working set of files small, store durable decisions in files rather than conversation history, and when a session runs long, have the agent write a handover summary and continue in a fresh session. Tasks that truly need more simultaneous context can use the raw API with an explicit long-context configuration.