定額プランでも使用量を確認したい
定額プランの場合、Claude CodeのCLIで/cost
コマンドを実行しても、使用量は確認できません。
> /cost ⎿ With your Claude Max subscription, no need to monitor cost — your subscription includes Claude Code usage
しかし、ryoppippi氏が開発している、ccusageを使用することで、使用量を確認することができます。 2025年6月25日時点で、GitHubにて2.4kのStarを獲得しており、Claude Codeの公式Xでも取り上げられています。
以下は、ccusageの使用例です。
npx ccusage@latest

参考