llmkit_usage_stats
Retrieve AI usage statistics by time period: view total spend, request count, and most used models for today, this week, or this month.
Instructions
Get usage statistics (spend, requests, top models) for a time period
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": "llmkit_usage_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Time period | month |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | ||
| requests | Yes | ||
| totalSpendUsd | Yes | ||
| inputTokens | No | ||
| outputTokens | No | ||
| cacheReadTokens | No | ||
| cacheHitRate | No | ||
| topModels | No |