Codex Reports Provider Errors Immediately and Names the API Spend Limit Reached
Codex CLI 0.172.0 reports provider errors as soon as they arrive in a response stream and identifies which API spend limit was reached. Users get clearer, faster feedback when a run is blocked.
Key Takeaways
- Stream errors are reported immediately.
- Spend-limit errors name which limit was reached.
- Users can tell whether to raise, switch or wait.
- Fewer silent hangs during failures.
- The command center is reachable from error screens.
- Shipped in Codex CLI 0.172.0.
Clearer error feedback
Two changes in Codex CLI 0.172.0 improve what users see when a model provider call fails. First, errors that arrive in a response stream are now surfaced immediately rather than after the stream finishes or times out. Second, when the failure is an API spend limit, Codex now says which limit was hit.
What users gain
Knowing which spend limit applies, for example by scope, tells users whether to raise a limit, switch projects or wait. Immediate reporting avoids long hangs before a failure message. Related changes let users open the command center from provider error screens, and treat certain policy errors without a status code as terminal.