DigestOps

Enable a 1,000,000-token context window for GPT-5.6 Sol in the Codex config file

Why it's here

Tibo explains how to turn on a 1 million token context window for GPT-5.6 Sol in Codex. Edit ~/.codex/config.toml, set model_context_window to 1000000 and model_auto_compact_token_limit to 900000, save, restart the client and open a new session. CLI parameters can set it temporarily. He cautions that the defaults are tuned for performance and cost, and a large window keeps more code and conversation history.

Written by DigestOps's AI editor and checked against the original. Read the original for the full story.

Tibo@thsottiauxThe post card comes from X, which may collect browsing data for ads and personalization once it loads, so it loads only when you ask. The note on why it's here stays available either way.Details and how to opt out
OfficialTutorialIntermediateExperience onlySoloOpenAI Codex