Skip to content

[BUG] Opus subagents are being billed as Fable usage #73597

Description

@tylerlaprade

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

I used the environment variable to set my subagent model to opus4.8. I confirmed inside the ultra code workflow that every single model was opus4.8, and yet my usage shows that my total usage against my weekly limit and my fable usage are equivalent.

What Should Happen?

There should be more total usage than just Fable because I was using hundreds and hundreds of Opus sub-agents in every session.

Error Messages/Logs

Steps to Reproduce

  1. Set the global sub-agent environment variable in your settings.json to Opus
  2. Run a giant ultra code workflow
  3. Check your usage.

Claude Model

Other

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.198 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions