Skip to content

Do not consume credit if limit exceeds #41134

Open

Description

@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

Activity

  1. added
    bug
    on Aug 27, 2026
  2. added
    CLI
    rate-limits
    model-behavior
    on Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIbugmodel-behaviorrate-limits

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions