Codex Config: Enabling 1M token context window

dfinke · x · 2026-08-17

Demonstrates how to configure and use a 1M token context window in Codex. Set the model to gpt-5.6-sol and adjust limits in /.codex/config.toml, or specify modelcontextwindow=1000000 via single-session CLI arguments.

Related event: Codex Users Unlock 1M Token Context for GPT-5.6 Sol with a Config Tweak(12 posts)→

Original post →

More from coding & agent

coding & agent channel →