usage_summary
Retrieve total requests, tokens, and cost from LLM usage. Optionally break down by provider, model, project, hour, or day.
Instructions
Get cost/usage summary. Returns total requests, tokens, cost, with optional breakdown by provider, model, project, hour, or day.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "usage_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date (ISO format, e.g. "2026-03-23") | |
| from | No | Start date (ISO format, e.g. "2026-03-01") | |
| model | No | Filter by model | |
| groupBy | No | Group breakdown by: "provider", "model", "project", "hour", "day" | |
| project | No | Filter by project | |
| provider | No | Filter by provider |