Skip to content

Excessive quota consumption with GPT-6.1-Sol medium in Codex CLI 0.163.0; repeated short tool polling #55876

Open

Description

@guihgf

What version of Codex CLI is running?

0.163.0 (reported by /status).

What subscription do you have?

ChatGPT Plus.

Which model were you using?

GPT-6.1-Sol, reasoning medium, provider openai.

What platform is your computer?

Linux; local background server; collaboration mode Default. Permissions were Full Access at the time of the reported status. No subagents were launched during the work described below.

What issue are you seeing?

The user reports that less than one hour of coding work used approximately half their available allowance, substantially faster than their experience with Sonnet 5.5 at medium reasoning.

Sanitized /status snapshot:

Context window: 51% left (238K used / 475K)
5h limit: 56% left
Weekly limit: 57% left

Important measurement limitations: this is one end-of-session snapshot, not a before/after measurement. The starting allowance was not recorded, so the displayed percentages cannot establish the exact delta attributable to this session. The context-window figure is not a measurement of total billable tokens. No raw input/output/reasoning/cache token breakdown was collected. The Sonnet comparison is the user's qualitative experience, not a controlled benchmark.

What steps can reproduce the bug?

  1. Use GPT-6.1-Sol at medium in Codex CLI with a long-running TypeScript application conversation, project instructions and several screenshot-based UI requests.
  2. Perform routine UI edits, a model-provider configuration change, financial goal comparison changes, and the required verification after code changes.
  3. Run unit tests that take approximately 45–57 seconds and a full integration suite that takes approximately 462 seconds. Test output was redirected to local files.
  4. Observe repeated short write_stdin polls requesting yield_time_ms: 1000 (often returning after roughly 5 seconds), followed by separate tail/count commands on the same log files. Many calls add little new information while the same process is still running.
  5. Inspect /status after the coding session.

The agent also repeatedly ran the full unit suite after small edits; project instructions explicitly required that verification, so that part is a workload factor rather than evidence of a bug by itself. The session had substantial instruction/context content, including duplicated project-instruction blocks. Its contribution to usage was not measured.

What is the expected behavior?

Avoid excessive model turns and context growth while waiting for long-running tools. Prefer longer interruptible waits or completion notifications over repeated short polls and log rereads. Investigate whether prompt caching, context replay, reasoning usage or quota accounting explain the perceived disproportionate depletion, and expose enough usage detail to distinguish those causes.

Codex doctor report

Not collected or attached: this report deliberately contains only manually selected, sanitized evidence.

Additional information

No account email, personal name, project/repository identity, filesystem paths, session/thread identifiers, source code, screenshots or raw conversation logs are included. This issue body was prepared from the user's report and observable tool behavior with their authorization. Please treat the cause as unconfirmed.

Related reports found before filing: #55210 (Windows/Fast) and #51604 (macOS/Desktop). This report concerns Linux CLI/local background server at medium reasoning and includes repeated tool-polling behavior.

Activity

  1. added
    bug
    CLI
    rate-limits
    tool-calls
    on Oct 21, 2026
  2. github-actions commented on Oct 21, 2026

    @github-actions
    Contributor
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

    CLIbugrate-limitstool-calls

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions