Cost Breakdown lets you slice your AI spending by any dimension: time, provider, model, feature, environment, user, or custom context.
How to Use It
- Go to Cost Explorer → Breakdown
- Choose what to group by (provider, model, feature, etc.)
- Apply filters to narrow the data
- View the chart and table
Grouping Options
Group costs by:
| Dimension | Question It Answers |
|---|
| Time | How is spending changing over time? |
| Provider | Which providers cost the most? |
| Model | Which models are most expensive? |
| Feature | Which product features drive costs? |
| Environment | How does production compare to staging? |
| User | Who are the heaviest consumers? |
Multi-Level Grouping
Combine dimensions for deeper analysis:
- Time + Provider: How does each provider’s cost change over time?
- Feature + Model: Which models power which features?
- Environment + Feature: Feature costs across environments
Filters
Narrow results with filters:
| Filter | Options |
|---|
| Date Range | Preset (7d, 30d, 90d) or custom |
| Provider | OpenAI, Anthropic, Google, etc. |
| Model | Specific models |
| Environment | Production, staging, development |
| Feature | Your custom feature names |
| Context | Any custom fields you track |
Combine filters to answer specific questions. “GPT-4 costs for the chat feature in production last month” is straightforward.
Visualizations
Charts
- Bar Chart: Compare costs across categories
- Line Chart: Show trends over time
- Pie/Donut: Show proportional distribution
- Stacked: See composition and totals
Table View
Below the chart, a detailed table shows:
- Category name
- Total cost
- Percentage of total
- Transaction count
- Trend indicator (up/down)
Click column headers to sort. Click rows to drill down.
Export
Download your analysis as CSV for spreadsheet analysis and further processing.
Common Analyses
Which feature costs the most?
- Group by Feature
- Set date range to last 30 days
- View the breakdown chart
Is GPT-4 worth the cost vs. GPT-3.5?
- Filter to the models you want to compare
- Group by Model
- Compare costs alongside quality (you’ll need to assess quality separately)
How is production spending trending?
- Filter to Environment = production
- Group by Time (daily or weekly)
- Look for upward or downward trends
What’s driving a cost spike?
- Set date range around the spike
- Group by Feature first to see which feature spiked
- Then group by Model to see if it’s a model change
- Drill into Activity for transaction-level detail