llm_gain
Show token savings from AI routing decisions with cost comparisons and efficiency metrics across a selected time period.
Instructions
Show token savings dashboard (RTK-style).
Displays comprehensive token savings metrics across all routing decisions, showing actual costs vs. Opus baseline and efficiency multiplier.
Features:
Total savings and efficiency multiplier
Breakdown by model, complexity, and tool
Daily trend analysis
Cost comparisons
Args: period: Time period to analyze: "today", "week" (default), "month", or "all"
Returns: Formatted savings dashboard
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": "llm_gain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | week |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |