usage_stats
Track AI token usage and estimated USD costs from the local log. Filter by model, label, or date, and group results by day, model, or label.
Instructions
Report AI token usage and estimated USD cost (from the local usage log).
Filter by model/label/since_iso (ISO-8601). group_by ∈ day|model|label.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| model | No | ||
| group_by | No | day | |
| since_iso | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| error | No | ||
| groups | No | ||
| totals | No | ||
| filters | No | ||
| group_by | No | ||
| call_count | No | ||
| error_type | No |