[BUG] VS Code extension routes /cost to /usage for enterprise accounts; CLI works correctly.

Resolved 💬 2 comments Opened Apr 27, 2026 by dbchoice Closed Jun 3, 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?

VS Code extension routes /cost to /usage for enterprise accounts; CLI works correctly.

What Should Happen?

claude should respond to the /cost command rather than map it to /usage which doesn't report in the VSCode extension

Error Messages/Logs

Account & Usage

Account
Auth method
Third Party
Usage
Usage tracking is only available for Claude AI subscribers.

Steps to Reproduce

While logged in to Amazon Bedrock, using the VSCode extension for claude as cli, type '/cost'

As you type the command is visily mapped to /usage which reports the above

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Claude Code is up to date (2.1.119)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗