Monday, August 17, 2026

日本語版
The Last Three Minutes Aug 17, 2026 issue

Monday, August 17, 2026Story 2 of 3

The official three settings that unlock a 1M-token context window in Codex

A perennial power-user request just got an official answer. Tibo (@thsottiaux), who leads Codex development at OpenAI, published the procedure for enabling a one-million-token context window in Codex on Sunday (US time). GPT-5.6 Sol has a documented 1,050,000-token context window, but Codex deliberately caps its default below that for performance and cost. "This is a common ask, so here it is documented," he wrote.

Confidence in this AI-assisted summary High

Key points

Sources

Why it matters

Commentary

This is immediately usable, so the first question is where it actually helps. My read: everyday coding is fine on the default. The setting earns its cost in sessions where you want the agent to hold an entire repository in its head for hours - large migrations, refactors that span modules, incident investigations that chew through logs. Running it for small tasks just inflates your input bill. Flip the switch on the days that need it.

What deserves attention is that the official recipe ships with the compaction threshold (900,000 tokens) as a set. A bigger window is not automatically better: anyone who has run long sessions knows that stuffing context to the limit dilutes the instructions that matter. "Open the window to a million, but start compacting at nine hundred thousand" is operational wisdom, not a benchmark number. If you run your own agent setups, the headroom philosophy is worth copying wholesale.

And don't skim past "we tuned the default carefully." In a market where vendors compete on context-window size, OpenAI chose to cap Codex's default and hand out the unlock as documentation. Catalog specs and daily-driver defaults are different things - and when they diverge, the default is usually closer to the practical answer. That's a lesson that generalizes well beyond Codex.

Related

Next · story 3 of 3Anthropic's bioweapons filter was down for nearly a year, unscreening 133M requests