View usage information
Use /stats for historical usage and /context for the current session's context window.
/stats
/stats
The stats panel shows information such as:
- Total sessions.
- Total tokens.
- Favorite model.
- Active days and streaks.
- Token usage by model.
Inside the panel:
Tabswitches Overview / Models.rcycles date ranges.Ctrl+Scopies the stats view.
/context
/context
It shows the current context usage, including system prompt, tool schemas, MCP tools, custom agents, memory files, skills, message history, and free space.
Use it to understand why a session is getting large or what consumes the most tokens.
Why /context can be slow
/context does more than read a cached number. It approximates the real API request by:
- Applying the same message transforms used before API calls, including compact boundaries and microcompact.
- Building the effective system prompt.
- Counting tokens for system prompt, tools, MCP tools, agents, memory, skills, and messages.
- Prefering provider token-counting APIs, then auxiliary token counting or local estimation as fallback.
- Producing a categorized breakdown.
This can involve multiple token counting requests and scans of tools, skills, agents, and memory.
Which command to use
- Historical usage:
/stats. - Current context size:
/context. - Recent API failure details:
/doctor api. - Current model route:
/model show.