get_llm_costs
Aggregate AI/LLM spend across providers. View total cost, breakdown by provider and model, daily trends, and cost-saving model recommendations.
Instructions
Aggregate AI/LLM spend across all configured providers, OpenAI, Anthropic, AWS Bedrock, Azure OpenAI, and Vertex AI.
Shows total spend, breakdown by provider, breakdown by model, daily trend, and model-switching recommendations to reduce costs.
Args: days: Lookback window in days (default 30). Ignored if start_date set. start_date: ISO date string (YYYY-MM-DD). Optional. end_date: ISO date string (YYYY-MM-DD). Defaults to today.
Examples: - "How much have we spent on AI APIs this month?" - "What's our total LLM spend across OpenAI and Bedrock?" - "Show AI cost breakdown by model for the last 7 days" - "Which AI models are we spending the most on?"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| end_date | No | ||
| start_date | No |