Enable a 1M token context window in Codex with gpt-5.6-sol
dfinke · x · 2026-08-20
The author shares the exact config for a 1M token context window in Codex: in /.codex/config.toml set model = "gpt-5.6-sol", modelcontextwindow = 1000000, and modelautocompacttokenlimit = 900000. For a single session, you can pass the same flags via codex -m gpt-5.6-sol -c modelcontextwindow=1000000 -c modelautocompacttokenlimit=900000.
More from coding & agent
- Developer Laments Claude Code's Inconsistency, Misses Deterministic Compilers — ivan_bezdomny · 2026-08-20
- Using Ling 3.0 Tiny as an auxiliary model for Qwen agents — My_Unbiased_Opinion · 2026-08-20
- OpenAI releases open-source Codex harness to integrate agents into existing tools — OpenAIDevs · 2026-08-20
- DeepSeek releases minimalist open-source coding agent harness — Cole Medin · 2026-08-20
- brd-enhancer-mcp: Enhance dev tasks by retrieving project documentation via API — modelcontextprotocol · 2026-08-20
- Versium REACH: Generate B2B lead lists via AI agents using natural language — modelcontextprotocol · 2026-08-20