OpenAI Codex now supports 1M token context window

Moh1tAgarwal · x · 2026-08-17

OpenAI Codex now supports a 1 million token context window. Developers can enable this by updating the /.codex/config.toml file with specific settings for model, context window size, and auto-compaction limit. This feature requires a compatible model like GPT-5.6 Sol and allows retaining significantly more code and conversation history.

Related event: OpenAI Codex Supports 1M Token Context via Config Tweak(3 posts)→

Original post →

More from coding & agent

coding & agent channel →