Report
Ask one usage question of up to 30 days, grouped and filtered as you need, with every row and its evidence. Export CSV or JSON. For administrators.
Built from commit f569b4a on Nov 14, 2026
Report answers one usage question at a time: a window of up to 30 days, a grouping, an order and optional filters. Only administrators can open it. It opens on the last 7 days grouped by model.
Report, the query command and the query API use the same Answer contract. See Query from the terminal.
Ask a question
| Control | Choices |
|---|---|
| Window | Today, Yesterday, Last 7 days, Last 14 days or Last 28 days. Or set From and Through dates. For exact times, use From (exact time) and To (exact time, exclusive). |
| Group by | Session, User, Source, Model, Report day, Machine, Provider or Billing. Current tag categories can also be used. Under Pairs, any two of them except Session, such as User / Model. |
| Order by | Tokens, Cost, Events or Name. |
| Filters | User, Source, Provider, Model, Machine, Session prefix (requires source) and Billing, plus current tag categories. |
Grouping and order apply at once. Dates and filters apply when you choose Run report. Applied filters appear as chips. Select a chip’s × to remove it. Select a row in the table to narrow the report to it.
The window is at most 30 days. Days follow your organization’s time zone. A longer question is refused rather than cut short: ask for each part separately.
Copy link copies the address of this exact question.
What you get
- Totals for the displayed rows: Tokens, Events, Cost and Cache-read share.
- Input, output, and cost sources: the six token counts, and where the cost came from.
- Tokens by your grouping, as a chart.
- Rows: one row per group, with tokens, events, each token count, Cost (USD) and Cost source.
- About this data: the evidence. How many events matched, how many were priced by the tool or from the price list, how many have no price, the accounting time zone, and when the answer was generated.
Up to 1,000 rows show on a page, or 50 when grouped by session. Previous page and Next page move through the rest. The page states which rows its totals cover. About this data covers every matching event before pagination.
Missing prices
An event with no price has an unknown cost. It is never counted as zero.
- A row with no priced events shows a dash for cost.
- A row with some unpriced events shows its known cost with an asterisk.
- The total is labelled Known cost and says how many events have no price.
Export
Export CSV and Export JSON download every row of the answer, not only the page you see. The export reads one database snapshot and refuses incomplete or inconsistent results. If it fails, run it again.
In CSV a missing cost is a blank cell. In JSON it is null.
Shortcuts from the menu
| Menu item | Opens |
|---|---|
| Sessions | Report grouped by session, for the last 30 days including today. |
| Models | Report grouped by model, for the last 30 days including today. See Models and prices. |
Selecting a person in Overview opens Report filtered to them.
Costs are estimates from observed usage, not an invoice.