analyze_llm_usage
Calculate LLM spend from normalized usage records and supplied rates, flag unknown models, and identify conditional response-cache opportunities for cost savings.
Instructions
Analyze normalized LLM usage; report costs, unknown models and conditional response-cache opportunities. No network or file access.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"records": "<records>",
"rates": "<rates>"
},
"name": "analyze_llm_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rates | Yes | ||
| records | Yes |