get_llm_cost_by_model
Analyze and compare AI model costs by provider and time period. See cost per model, tokens consumed, and identify cheaper alternatives for the same task class.
Instructions
Break down AI/LLM costs by individual model with efficiency metrics.
Shows cost per model, estimated tokens consumed, cost per 1M tokens, and which models have cheaper alternatives for the same task class.
Args: days: Lookback window in days (default 30). provider: Filter to a specific provider, "openai", "anthropic", "bedrock". Leave blank to see all providers.
Examples: - "Which of our AI models costs the most?" - "Show me OpenAI model cost breakdown" - "How much are we spending on GPT-4o vs GPT-4o-mini?" - "What would we save switching from Claude Opus to Sonnet?"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| provider | No |