Do not consume credit if limit exceeds
What version of Codex CLI is running?
v0.149.1
What subscription do you have?
yes
Which model were you using?
gpt-5.6-sol xhigh
What platform is your computer?
Windows
What terminal emulator and version are you using (if applicable)?
_No response_
Codex doctor report
What issue are you seeing?
Codex was explicitly instructed: “Pause when the five-hour included usage limit is reached; do not use credits.”
Codex acknowledged this instruction, but continued running tools after the included usage limit was reached, resulting in paid credit consumption without explicit approval.
Expected behavior: Codex should automatically stop when the included-usage limit is reached and require clear user confirmation before consuming any paid credits.
Additionally, agents need reliable visibility into when the included-usage boundary has been reached. An agent should not acknowledge or promise to enforce a usage limit unless it can actually detect that limit and stop accordingly.
What steps can reproduce the bug?
- Start a Codex session with available included five-hour usage remaining.
- Explicitly instruct Codex: “Pause when the five-hour included usage limit is reached; do not use credits.”
- Confirm that Codex acknowledges and agrees to follow this instruction.
- Run a long task that uses tools until the included five-hour usage limit is exhausted.
- Observe that Codex continues running tools after the included usage limit is reached.
- Check usage/billing and confirm that paid credits were consumed without explicit approval.
- At no point does Codex stop and ask for confirmation before switching from included usage to paid credits.
What is the expected behavior?
_No response_
Additional information
_No response_