Run /cost inside any Claude Code session to see token usage and estimated cost for the current conversation. It’s the fastest way to stay aware of your spending without switching to the Anthropic dashboard. When the cost climbs, it’s also a good signal that it’s time to run /compact and free up context.
Use /cost to Track Token Spending
Check how many tokens you've used and how much the current session has cost — without leaving Claude Code.
/cost