Overview
Cost Breakdown gives you powerful tools to analyze spending from different angles:- Multi-dimensional filtering - Filter by date ranges, models, providers, environments, features, and custom metadata
- Flexible grouping - Group costs by any dimension to see spending patterns
- Interactive visualizations - Charts and graphs that respond to your filters
- Exportable data - Download detailed breakdowns for further analysis
- Comparative analysis - Compare spending across different time periods or dimensions
Image Placeholder: This should show the cost breakdown interface with:
- Filter panel on the left (date range, models, providers, environments, features)
- Grouping selector dropdown
- Main visualization area (chart)
- Detailed table below the chart
- Export button
- Time period selector
Filtering Options
Apply powerful filters to focus your analysis:Date Range Filtering
Date Range Filtering
Select specific time periods:
- Preset ranges - Last 7 days, Last 30 days, Last 90 days, This month, Last month
- Custom range - Pick any start and end date
- Comparison mode - Compare current period with previous period
Model Filtering
Model Filtering
Filter by specific AI models:
- Single model - Focus on one model (e.g., GPT-4)
- Multiple models - Compare costs across selected models
- Model families - Filter by model family (e.g., all GPT-4 variants)
Provider Filtering
Provider Filtering
Filter by AI provider:
- Single provider - Analyze costs for one provider
- Multiple providers - Compare costs across providers
- All providers - View aggregate costs across all providers
Environment Filtering
Environment Filtering
Separate costs by environment:
- Production - Production environment spending
- Staging - Staging environment costs
- Development - Development and testing costs
- Multiple environments - Compare across environments
Feature Filtering
Feature Filtering
Focus on specific product features:
- Single feature - Analyze costs for one feature
- Multiple features - Compare feature-level spending
- Feature groups - Analyze related features together
Custom Metadata Filtering
Custom Metadata Filtering
Filter by any custom metadata you’ve attached to transactions:
- User segments - Filter by user type or segment
- Project tags - Filter by project or team tags
- Custom fields - Filter by any custom metadata fields
Grouping and Aggregation
Group your cost data by different dimensions to see spending patterns:Grouping Options
By Time
Group by hour, day, week, or month to see temporal spending patterns.
By Provider
Group by AI provider to see provider-level spending distribution.
By Model
Group by model to compare costs across different AI models.
By Feature
Group by feature to understand feature-level cost allocation.
By Environment
Group by environment to separate production, staging, and development costs.
By User
Group by user or user segment to see per-user spending patterns.
Multi-Level Grouping
Combine multiple grouping dimensions for deeper analysis:- Time + Provider - See how spending by provider changes over time
- Feature + Model - Understand which models are used for each feature
- Environment + Provider - Compare provider usage across environments
- Any combination - Create custom grouping combinations
Image Placeholder: This should show a multi-level grouped breakdown with:
- Primary grouping by feature (rows)
- Secondary grouping by model (columns or nested)
- Cost amounts in cells
- Ability to expand/collapse groups
- Total row and column
- Interactive drill-down capability
Visualization Types
Choose from different visualization types based on your analysis needs:Charts
Bar Charts
Compare costs across categories. Perfect for comparing providers, models, or features.
Line Charts
Show trends over time. Ideal for understanding spending patterns and forecasting.
Pie/Donut Charts
Show proportional breakdowns. Great for understanding distribution of spending.
Stacked Charts
Show composition and totals. Useful for seeing both individual and aggregate costs.
Tables
Detailed table views provide:- Sortable columns - Click column headers to sort
- Expandable rows - Drill down into details
- Column customization - Show or hide columns
- Export capability - Download table data as CSV
Image Placeholder: This should show a detailed table with:
- Feature name column
- Total cost column (sortable)
- Percentage of total column
- Transaction count column
- Trend indicator (up/down arrow)
- Expandable rows for drill-down
- Export button
- Pagination controls
Detailed Analysis
Cost Composition
Understand what makes up your total costs:- Provider breakdown - See which providers contribute most to spending
- Model breakdown - Understand model-level cost distribution
- Feature breakdown - Identify which features drive costs
- Time breakdown - See how costs are distributed over time
Cost Trends
Analyze spending trends:- Growth patterns - Identify increasing or decreasing cost trends
- Seasonal patterns - Detect recurring patterns (daily, weekly, monthly)
- Anomalies - Spot unusual spikes or drops in spending
- Forecasting - Use historical trends to predict future costs
Comparative Analysis
Compare costs across different dimensions:- Period comparison - Compare current period with previous period
- Provider comparison - Compare costs across different providers
- Model comparison - Compare efficiency and costs of different models
- Feature comparison - Compare feature-level spending
Image Placeholder: This should show a comparison view with:
- Side-by-side columns for two time periods
- Cost amounts for each period
- Percentage change indicators (green for decrease, red for increase)
- Visual comparison bars
- Summary statistics showing total change
Export and Sharing
Export Options
Download your cost breakdown data:- CSV export - Raw data for spreadsheet analysis
- PDF export - Formatted report with charts and visualizations
- JSON export - Structured data for programmatic processing
Sharing Views
- Shareable links - Generate links to specific breakdown views
- Embedded reports - Embed breakdown views in other tools
- Scheduled exports - Automate regular exports of breakdown data
Exported data includes all applied filters and grouping settings, so you can recreate the exact view later or share it with team members.
Use Cases
Budget Planning
Use breakdowns to understand cost drivers and plan budgets for different features or teams.
Cost Optimization
Identify high-cost areas that might benefit from optimization or alternative approaches.
Provider Selection
Compare costs across providers to make informed decisions about provider selection.
Feature ROI Analysis
Analyze feature-level costs to understand ROI and prioritize feature development.
Anomaly Investigation
Drill down into cost spikes or anomalies to understand root causes.
Team Allocation
Allocate costs to different teams or projects for internal billing or budgeting.
Best Practices
1
Start Broad, Then Narrow
Begin with a high-level view, then apply filters to drill down into specific areas of interest.
2
Use Multiple Groupings
Try different grouping combinations to discover insights you might not see with a single view.
3
Compare Periods
Use comparison mode to understand how costs are changing over time.
4
Export for Analysis
Export detailed data to spreadsheet tools for deeper analysis or custom visualizations.
5
Save Common Views
Save frequently used breakdown configurations for quick access.
Related Features
- Activity View - See transaction-level details
- Dashboard - High-level overview of spending
- Reports - Generate detailed reports from breakdown data
- Alerts - Set up alerts based on breakdown insights