Command reference ยท Claude Code
/usage
Shows API usage, token counts, and spending.
Shows API usage, token counts, and spending. Aliases: /cost, /stats.
โ WHEN TO USE IT?
Regular cost overview
Call /usage to keep an eye on token counts and spend before starting a bigger task.
Trace the cost of an expensive task
After a long /batch run or agent loop, check /usage to see what it cost.
โ WHEN NOT TO?
Checking the session's context window usage
/usage shows API usage/cost, not how full the current context window is.
Better: Use /context for context usage as a colored grid.
SOURCES
- Claude Code Doku (offiziell) โ code.claude.com