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.