Verdict: Update to Codex CLI 0.171.0 if you already run Codex — the default-model flip to GPT-6.2 Sol alone changes what your existing terminal sessions use, and installing it is a one-liner on every platform. OpenAI shipped Codex CLI 0.171.0 (tag rust-v0.171.0) on November 20, 2026, only two days after 0.170.0 landed on November 18, 2026, and it carries the first default-model change since the GPT-6.2 launch on November 17, 2026: GPT-6.2 Sol is now the default model selection in the model catalog (GitHub release).
What changed in Codex CLI 0.171.0?
The headline change is the model catalog: GPT-6.2 Sol and GPT-6.2 Astra are now in the catalog, and Sol is the default (release notes, PR 62106). GPT-6.2 launched on November 17, 2026, and this release is what wires those models into the CLI. If you launch codex with no model flag, you now get Sol.
Three more changes are user-visible:
- The TUI workspace is on by default, with searchable document previews, image previews, and subagent transcripts displayed alongside the main conversation (PRs 61352, 61888, 61889, 61919, 62157).
-
codex exec --remote <ADDR>starts or resumes noninteractive sessions on an existing app server (PR 61707) — useful for CI and scheduled runs that should reuse a session on another box. -
/rcand/remotein the TUI manage local remote control and display device pairing codes (PR 62121), and/statuslinecan select or author a custom MCP status line whentui_extensions_statuslineis enabled (PRs 61979, 61988, 62037).
There is also a quieter fix that matters for scripted use: permission profiles now survive working-directory changes (PR 61195), drafts and queued follow-ups survive session switches (PR 61216), late completion events no longer cancel approvals for a newer turn (PR 61801), and enterprise MCP sign-in works with identity providers that issue ID tokens without refresh tokens (PR 62129). Source builds moved to Rust 1.99.1 (PR 61205).
How do I install Codex CLI on Windows?
The fastest Windows path is the official PowerShell one-liner — no admin prompt, no Node required:
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"
If you prefer npm, install Node.js 22 or newer first (LTS recommended). The npm package lists Windows 11 via WSL2 as the supported Windows path for the npm install, so turn WSL on with Microsoft's one-liner (wsl --install) and then run npm inside the Linux shell:
wsl --install
npm install -g @openai/codex
Microsoft's WSL install doc covers options and troubleshooting for the wsl --install step.
How do I update an existing install to 0.171.0?
If you installed via npm, the update command is:
npm install -g @openai/codex@latest
If you installed via the shell or PowerShell installer, re-running the same installer line fetches the new version. Verify afterwards with codex --version — it should print codex-cli 0.171.0. Enterprise teams that pin versions should follow OpenAI's Windows deployment guide: set $CodexRelease = '<approved-version>' and pass it to the installer or use npm install -g "@openai/codex@$CodexRelease".
The release page also ships Python wheel assets (roughly 160–197 MB each, with published sha256 checksums) for manylinux aarch64/x86_64 and win_amd64/win_arm64, if your pipeline installs from pinned artifacts (GitHub release).
How much does GPT-6.2 Sol cost in the API?
At the standard OpenAI API rates, GPT-6.2 Sol costs $2 per million input tokens and $10 per million output tokens, with cached input at $0.10 — unchanged from GPT-6.1 Sol. GPT-6.2 Astra costs $8 per million input and $40 per million output, 20 percent cheaper than GPT-6 Astra (cached input fell 60 percent, from $1.00 to $0.40), and above 272K input tokens the long-context rates rise to $4/$15 for Sol and $16/$60 for Astra (The Decoder). Both models carry a 1,050,000-token context window with up to 128,000 output tokens.
The default flip has a direct budget implication: if your agent workload runs 10 million input and 2 million output tokens, that job costs $40 on Sol versus $160 on Astra at standard rates — plain arithmetic on the two rate cards (Requesty). The flip matters because a default is what every model-flag-less invocation uses.
What does Codex cost in India?
ChatGPT Plus, the consumer plan that includes Codex access, costs Rs 1,999 per month in India inclusive of GST — about Rs 305 of that is 18 percent GST, unchanged since rupee pricing launched in August 2025 (Whizi). The entry ChatGPT Go tier is Rs 399 per month on the Indian App Store (AI Week Daily).
For API usage billed in rupees: $40 of monthly API spend is about Rs 3,768, and $160 is about Rs 15,074, at INR 94.21 per dollar (our arithmetic on the November 2026 rate). At the same spend, a Plus subscription at Rs 1,999 stays cheaper than that entire API month — heavier agent workloads are where the API math diverges (Whizi).
FAQ
Q: Do I need to update Codex manually after this release?
A: npm installs pick up 0.171.0 with npm install -g @openai/codex@latest; macOS/Linux shell installs (curl -fsSL https://chatgpt.com/codex/install.sh | sh) and PowerShell installs update by re-running the one-liner; verify with codex --version.
Q: Is GPT-6.2 Sol free with my ChatGPT plan?
A: Consumer Codex access rides your ChatGPT plan — Rs 1,999/month for Plus in India — while API usage of the same model is metered at $2/$10 per million tokens (OpenAI pricing).
Q: Does the TUI workspace change require any config?
A: No — 0.171.0 enables the workspace by default, so document and image previews plus subagent transcripts appear alongside the conversation without settings edits.
AI disclosure: This article was drafted with AI research assistance and verified against the primary sources linked above. Last verified November 21, 2026. See /pages/how-we-work for our corrections policy.
Top comments (0)