Skip to content

Unexpectedly high usage during a long multi-agent task without a cumulative usage checkpoint #51519

Open

Description

@anotb

What version of the Codex App are you using?

Not collected. Local command execution currently fails with "Too many open files (os error 24)", and the assistant cannot control the Codex app's About dialog.

What subscription do you have?

Not collected.

What platform is your computer?

macOS, Codex desktop app. Observed October 6, 2026.

What issue are you seeing?

A long-running multi-agent data-review and website-preparation task consumed substantially more usage than I intended.

I explicitly allowed parallel agents and requested Sol 6.1 at medium/high reasoning effort. The assistant reported that the requested model was unavailable and disclosed a fallback to Astra medium/high agents. It then continued through many review, repair, integration, and verification passes, without a clear cumulative usage estimate or budget checkpoint.

The task eventually produced a locally verified release candidate, but the consumption was unexpectedly high. This report is about usage visibility and orchestration efficiency, not an allegation that delegation itself was unauthorized.

What steps can reproduce the issue?

Observed workflow, not a minimal deterministic reproducer:

  1. Resume an existing substantial data-review task in Codex desktop.
  2. Authorize multiple agents and request a particular model/effort.
  3. The requested model is reported unavailable; the assistant proceeds with a disclosed alternative.
  4. Allow the parent and agents to perform repeated review/repair/verification cycles across a long conversation.
  5. Observe usage substantially exceeding the intended amount.

One tool search also returned oversized generated-data output with heavy truncation. Please investigate whether context handling, repeated tool outputs, and agent coordination materially amplified consumption.

What is the expected behavior?

  • Clear cumulative usage and model attribution across the parent and subagents.
  • A practical task-level budget or warning/checkpoint before unexpectedly large consumption.
  • Clear cost/usage implications when falling back to another model.
  • Bounded review loops and efficient reuse of completed work.

Additional information

Exact token counts, allowance changes, and billing amounts have not been independently measured here. A billing/accounting defect is not established; please investigate orchestration overhead separately from usage attribution.

Related report: #44459 (unexpectedly high Codex app usage with subagents). I have not established that it has the same cause.

Activity

  1. added
    enhancement
    app
    rate-limits
    subagent
    on Oct 6, 2026
  2. github-actions commented on Oct 6, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. kasrakhosravi commented on Oct 16, 2026

    @kasrakhosravi

    Same here: a long multi-agent run ate a day of quota before I noticed. Would a per-agent running total have caught it for you?

  4. kasrakhosravi commented on Oct 21, 2026

    @kasrakhosravi

    Curious whether you found a way since to see usage per agent while a long run is still going?

  5. XxionxX commented on Oct 27, 2026

    @XxionxX

    I'd like to add a related incident from October 26, 2026, involving ChatGPT Work on a Plus subscription (Windows desktop).

    A single task exhausted my remaining five-hour Work/Codex allowance in just 3 minutes and 46 seconds, without any advance warning or completed deliverable.

    Usage and execution

    • Main agent: GPT-6.1 Sol, High reasoning
    • Two delegated agents: GPT-6 Astra Ultra
    • Total main-task runtime: 3m 46s
    • Subagent runtimes: approximately 2m 56s and 30s (potentially overlapping)
    • Result: Five-hour allowance exhausted; weekly allowance approximately 84% remaining
    • No warning or opportunity to approve additional usage before exhaustion

    Based on my extremely limited earlier activity, I am confident that more than 50% of my five-hour allowance remained before this task, and I suspect the figure was above 80%. My only earlier Work activity that day was a brief search-access test several hours beforehand.

    I don't have a pre-task usage snapshot, so these percentages are estimates rather than independently verified measurements.

    What happened

    The task involved completing a relatively simple project using existing files and reference material.

    The handoff included an overly restrictive instruction to retrieve previous conversation context. When retrieval encountered problems, the agent repeatedly attempted alternative methods instead of using already available information or asking me for clarification.

    It also delegated an unrelated investigation into switching to Work mode, despite already operating in Work.

    The agent ultimately recovered useful information but exhausted the allowance before producing the requested deliverable.

    The underlying instruction was imperfect, but an imperfect prompt should not be capable of exhausting a user's shared development resources without a warning or approval checkpoint.

    Broader impact

    This is the most concerning part of the incident.

    Because Work and Codex share usage limits, one runaway task can prevent a user from continuing entirely unrelated development work.

    I wasn't simply inconvenienced by a failed task. I unexpectedly lost access to resources needed for other projects, with no practical opportunity to intervene.

    This makes autonomous execution difficult to trust, even for relatively simple tasks.

    Requested safeguards

    1. Server-enforced per-task budgets covering the parent agent, subagents, retries, and other internal executions.
    2. Automatic approval checkpoints, including an option to pause before a task consumes 25% of the available shared allowance.
    3. Real-time cumulative usage visibility, with per-agent accounting and warnings about unusually rapid consumption.
    4. Bounded retries and dependency-failure handling, so an agent asks the user rather than indefinitely escalating retrieval attempts.
    5. User-reviewable handoffs, allowing users to inspect and correct instructions before autonomous execution begins.

    These protections should be enforced by the platform, not merely requested through prompts.

    I am not claiming an established metering defect. I am reporting unexpectedly rapid allowance exhaustion, poor resource governance, and the absence of meaningful user controls.

    Related: #51498

    One autonomous task should not be able to exhaust the resources needed for every other task without explicit authorization.

    I have preserved screenshots of the execution history, subagents, and usage-limit notification if maintainers need supporting evidence.

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

    appenhancementrate-limitssubagent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions