get_ai_summary
Get AI/LLM usage summary: total cost, tokens, calls, errors, and latency. Pass group_by='model' or group_by='provider' for per-model or per-provider breakdowns. Helps answer 'how much am I spending on AI?' or 'which model has the most errors?'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Lookback window in days (1-90, default 7) | |
| group_by | No | Break down by 'model' or 'provider'. Omit for aggregate totals. |