[BUG] Claude Code VS Code extension resolves account to API org instead of active Pro subscription

Status Open
Reported on v2.1.241
Maintainer reply None cached
Activity 0 comments · opened Aug 24, 2026

Preflight Checklist

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

What's Wrong?

The Claude Code VS Code extension is authenticated via OAuth with the correct account, but resolves it to my API organization instead of my active Pro subscription. Every request fails instantly with "Credit balance is too low".

Account & Usage panel shows:

  • Auth method: Claude AI
  • Email: (matches my Pro subscription account)
  • Organization: my individual API org
  • Usage: "Usage tracking is only available for Claude AI subscribers"

Checked and ruled out:

  • ANTHROPIC_API_KEY is not set (verified with echo, empty)
  • No API key or apiKeyHelper in ~/.claude/settings.json or project settings
  • No .env in the project
  • VS Code fully restarted several times
  • Pro subscription is active and works normally on claude.ai

Cannot work around it: the extension's Account & Usage panel has no sign-out control, so there is no way to force re-authentication from the UI.

Environment: macOS, VS Code, Claude Code extension.
Support ticket: 215475573902170

<img width="398" height="256" alt="Image" src="https://github.com/user-attachments/assets/01c832f3-fd27-4b33-8015-f2dd0a837160" />

What Should Happen?

The extension should resolve the account to the active Pro subscription and use subscription billing, as documented for Pro and Max subscribers. The Account & Usage panel should show subscription usage instead of "Usage tracking is only available for Claude AI subscribers".

Error Messages/Logs

Steps to Reproduce

  1. Have a Claude Pro subscription active on an account that also has an individual API organization with zero credits.
  2. Ensure ANTHROPIC_API_KEY is unset in the environment.
  3. Open the Claude Code extension in VS Code and authenticate via OAuth with that account.
  4. Send any prompt, however short.
  5. The request fails immediately with "Credit balance is too low".
  6. Open Account & Usage: Auth method is "Claude AI" with the correct email, but Organization resolves to the individual API org.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

CLI not installed — issue is in the VS Code extension. Extension version: Version 2.1.241

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗