Command reference ยท Claude Code
/stats
Alias for /usage, opens directly to the Stats tab.
/stats is an alias for /usage and opens the view directly on the Stats tab. /usage itself shows session costs, your plan's usage limits, and activity statistics; at the top is a session block with token consumption and costs calculated locally from token counts at list prices. This block is aimed primarily at API users, since subscription users (Pro/Max/Team/Enterprise) have their quota included in the plan and instead see usage bars, activity statistics, and a usage breakdown. On Pro, Max, Team, and Enterprise plans, the breakdown attributes recent usage to skills, subagents, plugins, and individual MCP servers; d/w switches between the last 24 hours and the last 7 days.
According to the changelog, /stats and /cost were historically standalone commands that were merged into /usage โ both continue to exist as keyboard shortcuts that open the respective tab directly.
โ WHEN TO USE IT?
Quick cost/usage check while working
Type /stats to immediately see session costs and token consumption in the Stats tab of /usage.
Check how close you are to plan limits
As a Pro or Max user, run /stats to view the usage bars and the breakdown by skills/subagents/MCP servers for the last 24 hours or 7 days.
โ WHEN NOT TO?
Referencing /stats as a standalone command with its own function in docs or scripts
According to the docs, /stats is just an alias for /usage that opens the Stats tab directly โ it has no standalone functionality.
Better: Reference /usage, which represents the full command and feature set.
Needing authoritative billing data for the organization
The costs shown in /usage or /stats are calculated locally from token counts at list prices and can differ from the actual invoice.
Better: Use the usage page in the Claude Console (platform.claude.com/usage) for authoritative billing data.
SOURCES
- Claude Code docs (official) โ code.claude.com
MORE COMMANDS ยท Claude Code