Do not consume credit if limit exceeds

Open 💬 0 comments Opened Aug 27, 2026 by jzhvymetal

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?

  1. Start a Codex session with available included five-hour usage remaining.
  2. Explicitly instruct Codex: “Pause when the five-hour included usage limit is reached; do not use credits.”
  3. Confirm that Codex acknowledges and agrees to follow this instruction.
  4. Run a long task that uses tools until the included five-hour usage limit is exhausted.
  5. Observe that Codex continues running tools after the included usage limit is reached.
  6. Check usage/billing and confirm that paid credits were consumed without explicit approval.
  7. 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_

View original on GitHub ↗