[BUG] Command /usage does not recognize subscription
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 I use the /usage command, it returns "/usage is only available for subscription plans."
I am on a subscription plan. Claude Code does seem to recognize this, as when I use the /cost command, it returns "You are currently using your subscription to power your Claude Code usage".
It appears that /cost is detecting my Claude Pro subscription, but /usage is not.
What Should Happen?
The /usage command should return my token usage as a subscription user. If /usage is only intended for API users, the error message should be changed to reflect that.
Error Messages/Logs
/usage is only available for subscription plans.
Steps to Reproduce
- Install VS Code
- Install Claude Code
- Login with Claude Pro subscription
- Enter /usage
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.81
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
My usage is not visible on https://platform.claude.com/usage as that page appears to be stuck loading. There is a possibility that Claude is not properly capturing my token usage, contributing to the issue.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗