Skip to content

[BUG] Billing API-default bug #60422

Description

@kghoff

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?

Claude keeps defaulting auth to my Antropic Console API billing account instead of my claude.ai Max subscription. This has costed be hundreds of dollars in API spend, when I've had a max subcription the whole time. I know it's a bug because I've rerun /login several times and explicitly selected 'claude.ai' (pro, max subscription) and then checked via the /status (or /usage) command and it clearly keeps defaulting back to my Console API for billing, instead of my claude.ai subscription.

What Should Happen?

After running /login command, I select 'claude.ai' and then allow 'authorize' to run VS code using my claude code subscription. Then I should run /status and see that auth is through my subscription (right now it keeps defaulting to 'Anthropic API' for billing, even though I have a Max subscription).

Error Messages/Logs

Steps to Reproduce

I cannot reproduce the bug because I'm not sure if it's happening to other accounts. All I know is that my login keeps defaulting to Anthropic Console API when it should be running through my Max subscription instead.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.144

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:authbugSomething isn't workingplatform:macosIssue specifically occurs on macOSplatform:vscodeIssue specifically occurs in VS CodestaleIssue is inactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions