llm_digest
Summarize cost savings and spend spikes from AI routing with a what-if simulation. Optionally send the report to a webhook.
Instructions
Generate a savings digest and optionally send it to a webhook.
Formats a savings summary for the given period. Also detects spend spikes
and shows a "what if router was off?" simulation.
Args:
period: ``"today"``, ``"week"``, ``"month"``, or ``"all time"``.
send: If True, POST the digest to LLM_ROUTER_WEBHOOK_URL.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | week | |
| send | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |