Codex Compact ModelChoose a separate model and reasoning effort for compaction while keeping the official OpenAI Codex extension in charge of coding, tools, conversation history, and subagents. Initial release: Windows x64, local VS Code, ChatGPT sign-in. This is an independent community extension, not an OpenAI product. Use
The default is GPT-5.6 Terra / high. A changed selection applies to the next compaction request, including requests from existing subagents. The coding model remains the one you choose in Codex. Normal turns, manual compaction, automatic compaction, and native subagent compaction are covered. The extension keeps the native compaction prompt, input, tools, checkpoint format, and continuation behavior. How it works
The launcher uses Codex's The router listens only on Python and its required libraries are bundled. Users do not need to install Python, a compiler, another agent framework, or a VM. Updates and compatibilityThe official Codex installation is not patched or replaced. The launcher resolves the currently installed Codex extension from VS Code's extension registry. When the official executable or router changes, it runs local tests for manual compaction, automatic compaction, subagent compaction, and checkpoint continuation before launching the real backend. These tests use a local mock and consume no model tokens. Unknown request metadata and incompatible model checkpoint formats stop with an error instead of silently using a different model. Future compatibility cannot be guaranteed: if OpenAI changes the private protocol, an update to this extension may be required. Codex Compact Model: Show Status displays the last successful check. This integration uses Selected models must be present in the local Codex model catalog, advertise the reasoning level, and have compatible checkpoint formats, context sizes, and input types. Using a cheaper model may reduce compaction cost, but reasoning-token usage and subscription accounting vary; savings and summary quality are not guaranteed. Settings and recoverySelection is stored in
Use Codex Compact Model: Show Routing Log to verify each request's selection. Logs rotate at roughly 1 MB. To restore the standard integration, run Codex Compact Model: Disable, then reload VS Code. If the extension cannot start or has already been uninstalled, remove DevelopOn Windows x64, with Node.js, Python 3.13, and the standard .NET Framework compiler:
LicenseMIT. Bundled Python and libraries retain their own licenses, shipped alongside them. See THIRD_PARTY.md. |