**Bug:** Usage tab shows identical data across separate accounts in different VSCode instances
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?
When running two VSCode instances with different Claude Code accounts (separate billing accounts, completely different organizations), both instances display identical usage data in the Usage tab.
The /status command correctly shows different accounts in each instance (federico@impact10.io in Windows, federicohansson@googlemail.com in WSL Ubuntu), but the Usage tab shows the same usage
numbers in both, which is incorrect since they're separate billing accounts with different API consumption.
This appears to be a caching or state management issue where usage data isn't properly isolated per authenticated account.
What Should Happen?
Each VSCode instance should display usage data specific to its authenticated Claude Code account. Since the accounts are completely separate (different organizations, different billing, not team
members), each should show its own independent API usage statistics.
The web console at console.anthropic.com correctly shows different usage for each account, so the backend data is correct - only the CLI Usage tab is showing incorrect data.
Error Messages/Logs
Each VSCode instance should display usage data specific to its authenticated Claude Code account. Since the accounts are completely separate (different organizations, different billing, not team
members), each should show its own independent API usage statistics.
The web console at console.anthropic.com correctly shows different usage for each account, so the backend data is correct - only the CLI Usage tab is showing incorrect data.
---
Error Messages/Logs
No error messages - the bug is incorrect data display rather than a crash.
Observation:
- Instance 1 (Windows): /status shows "AccountA@AccountA.com"
- Instance 2 (WSL Ubuntu): /status shows "fAccountB@AccountB.com"
- Both instances: Usage tab shows identical numbers (should be different)
---
Steps to Reproduce
- Setup WSL1 with Ubuntu on Windows 11
- Install Claude Code in Windows PowerShell:
```bash
npm install -g @anthropic-ai/claude-code
claude-code auth login
Login with Account A (e.g., company email)
- Install Claude Code in WSL Ubuntu:
wsl
npm install -g @anthropic-ai/claude-code
claude-code auth login
- Login with Account B (e.g., personal email)
- Open two VSCode instances:
- Instance 1: Windows (connected to Account A)
- Instance 2: WSL remote (connected to Account B)
- In each instance, run /status command
- Verify: Each shows different account email ✓
- In each instance, check the Usage tab
- Observe: Both show identical usage numbers ✗
Important Context:
- Account A and Account B are in completely separate organizations
- Different billing accounts (not team members)
- Account A is company-paid, Account B is personal
- Web console (console.anthropic.com) shows correct separate usage for each account
Claude Model
Not sure / Multiple models
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.17
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗