Codex 正式支持 GPT-5.6 Sol 1M token 上下文,ChatGPT 账户也可用
"GPT-5.6 Sol 1M in Codex. This used to only work for API keys, but we just flipped the switch and works for usage through ChatGPT accounts now too."
对 agent 开发者而言,1M 上下文意味着 Codex 可保留更多代码、工具输出与对话历史再压缩。官方给出了 config.toml 配置方法(model_context_window=1000000,model_auto_compact_token_limit=900000),也支持单次 CLI 会话临时启用。注意官方提示默认值经过调优,长上下文有成本与性能权衡。