Past Pi sessions contain useful signals about where tokens and cost went, but they are scattered across session files.
usage opens a local dashboard that summarizes usage by provider and model over useful time ranges.
Use
Run /usage in Pi.
Choose Today, This Week, Last Week, or All Time with Tab or the arrow keys.
Use ↑ and ↓ to select a provider, then Enter or Space to expand its models.
Press v for usage insights.
Press q or Esc to close the dashboard.
The demo uses one synthetic response record; it does not read or display your session history.
The dashboard reads locally stored assistant responses across projects and child sessions and does not render outside a UI session.
Costs use the values recorded in those responses; unlike the cost footer, the dashboard does not estimate missing prices from the model catalog.
Totals include cached tokens; time ranges use response timestamps with entry timestamps as fallback.
Copied fork records are counted once when their persisted identity and usage match; separate responses and legacy records without usable identity remain distinct.
Parent tool-result aggregates are excluded so persisted child responses are not counted twice; background usage without an assistant response is not included.
Use it only where aggregating those local session records is appropriate for you.
<img src="assets/banner.svg" alt="usage" height="70">
# usagePast Pi sessions contain useful signals about where tokens and cost went, but they are scattered across session files.
usage opens a local dashboard that summarizes usage by provider and model over useful time ranges.

## UseRun `/usage` in Pi.
Choose Today, This Week, Last Week, or All Time with `Tab` or the arrow keys.
Use `↑` and `↓` to select a provider, then `Enter` or `Space` to expand its models.
Press `v` for usage insights.
Press `q` or `Esc` to close the dashboard.
The demo uses one synthetic response record; it does not read or display your session history.
The dashboard reads locally stored assistant responses across projects and child sessions and does not render outside a UI session.
Costs use the values recorded in those responses; unlike the cost footer, the dashboard does not estimate missing prices from the model catalog.
Totals include cached tokens; time ranges use response timestamps with entry timestamps as fallback.
Copied fork records are counted once when their persisted identity and usage match; separate responses and legacy records without usable identity remain distinct.
Parent tool-result aggregates are excluded so persisted child responses are not counted twice; background usage without an assistant response is not included.
Use it only where aggregating those local session records is appropriate for you.
[Installation](../../README.md#install)
## Reference<!-- config:start -->### Commands| Command | Purpose |
| --- | --- |
| `/usage` | Show usage statistics dashboard |
<!-- config:end -->