Skip to content

Sub-agent costs are too high and too opaque #12488

Closed as duplicate
Closed as duplicate

Description

@MrLightspeed

WTF!

I’m seeing unexpectedly high costs whenever sub-agents are used in Codex CLI. The feature is useful, but the current cost behavior makes it hard to use safely in normal development workflows.

Main issues:

  • Sub-agent usage can multiply spend very quickly.
  • Cost impact is not clearly shown before launching sub-agents.
  • It is hard to predict final cost from the prompt or plan.
  • There are not enough guardrails to prevent accidental overspend.
  • I am easily $350 over my Pro Plan for a week.

What I need:

  • A global session budget that hard-stops execution well before you all tell me, "Sorry we have to screw up your job and tell you to buy credits" on Day 2 of the week for a Pro User.
  • A post-run cost breakdown by sub-agent , because I have no way to manage that unless I totally turn off the feature.

Bottom Line

  • You are showing off sub agents while draining pro users, and pretty much everyone, while claiming they are cheaper. Yes, they really are cheaper, but you put the onus of managing that on us without cost controls.

I want to keep using sub-agents, but right now the pricing transparency and controls are not sufficient for practical day-to-day use. Please prioritize cost visibility and budget controls.

Activity

  1. added
    enhancementNew feature or request
    CLIIssues related to the Codex CLI
    rate-limitsIssues related to rate limits, quotas, and token usage reporting
    on Feb 22, 2026
  2. github-actions commented on Feb 22, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. MrLightspeed commented on Feb 22, 2026

    @MrLightspeed
    Author

    NO

  4. 6639835 commented on Feb 22, 2026

    @6639835

    Hey, how did you count your costs? Afaik OAI uses credits instead of dollars

  5. etraut-openai commented on Feb 22, 2026

    @etraut-openai
    Contributor

    Subagent token usage are not charged differently from other (main agent) tokens. Subagents allow you to do more in parallel, which will increase utilization. If you use the same model for subagents, the increase should scale linearly with the number of subagents you create. Are you observing something different? Depending on your use case, you may be able to use a smaller (and therefore cheaper) model for your subagents.

    Can you clarify what you're asking for in this feature request? You mentioned a "global session budget". Can you explain more about how that would work?

  6. etraut-openai commented on Mar 29, 2026

    @etraut-openai
    Contributor

    Closing for lack of response. There is some overlap with #14642.

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

    CLIIssues related to the Codex CLIenhancementNew feature or requestrate-limitsIssues related to rate limits, quotas, and token usage reporting

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions