Spooling
CLI Reference
Back to spooling.ai

spooling stats

Local session, message, token, and cost rollups.

spooling stats [--week] [--days N]

Prints a summary panel of everything in your local DB plus a daily breakdown.

Flags

FlagDescription
--weekShow a weekly breakdown instead of daily.
--days NNumber of days for the daily breakdown. Default: 7.
--cloudShow stats from the cloud workspace instead of the local DB. Requires spooling cloud login.

Output

╭──────────────────────────────────────────────────────────────────────────────╮
│ Sessions: 108  |  Messages: 32,593  |  Tool calls: 12,440                    │
│ Tokens: 2,548,219 est.  |  Cost: $51.26 est.                                 │
╰──────────────────────────────────────────────────────────────────────────────╯

Last 7 days
 Date       │ Sessions │ Messages │ Cost
────────────┼──────────┼──────────┼──────
 2026-04-28 │       12 │    2,145 │ $4.21
 2026-04-27 │       18 │    3,402 │ $6.85
 ...

Cost is estimated

Cost is calculated from token counts × the model's published rates. For Anthropic models we use list pricing; for others we use a default rate when unknown. It's a planning-grade number, not invoice-grade. The cloud's per-engagement attribution uses the same calculation against the same rate sheet.

On this page