Codex CLI 0.171.0-alpha.12 fixes terminal quota state and plan usage display
OpenAI published the Codex CLI 0.171.0-alpha.12 prerelease at 06:26 PST on November 17 (22:26 Beijing time on November 17). If you switch model providers or check usage with /status, this release gives you two terminal fixes to try. Official release
Refreshing quota state when switching providers
When you start or switch to a chat on another provider, the CLI refreshes account state and clears quota status and backend notices inherited from the previous provider. It scopes the state to the provider even if both providers return the same account details. Opening another chat on the same provider preserves quota state and any recovery already pending. Provider handling and tests
Using the right billing plan for usage estimates
When a full quota lookup returns a known plan, the terminal prefers it for the current chat's usage. An older plan in a rolling update cannot override it. When the recognized plan changes, the terminal reevaluates whether usage can be displayed, and pending /status cost estimates use the corrected billing basis. Billing plan handling and usage display
To check your environment, run codex --version to confirm the prerelease. In a chat on each of two configured providers, run /status and check that the quota and usage shown correspond to the active provider. For actual charges, check the usage record for that account.
