Docs
Cost Dashboard
Cost Dashboard
Monitor and optimize AI spending with the cost dashboard.
The Cost Dashboard helps you track spending, set budgets, and identify opportunities to optimize costs across your AI operations.
Accessing the Cost Dashboard
- Go to Analytics > Costs
- View spending summaries and breakdowns
- Set budgets and alerts
Cost Overview
Summary Metrics
| Metric | Description |
|---|---|
| Total Cost | Overall spending this period |
| Daily Average | Average daily spend |
| Projected | Estimated month-end spend |
| Budget Used | Percentage of budget consumed |
Cost Breakdown
View costs by:
- Model: Which models cost most
- API Key: Spending per key
- Time Period: Daily/weekly trends
Model Cost Comparison
| Model | Cost/1K Input | Cost/1K Output | Your Usage |
|---|---|---|---|
| GPT-4o | $5.00 | $15.00 | $250.00 |
| GPT-4o-mini | $0.15 | $0.60 | $15.00 |
| Claude 3.5 | $3.00 | $15.00 | $180.00 |
| Claude Haiku | $0.25 | $1.25 | $8.00 |
Budget Management
Setting Budgets
- Go to Settings > Billing
- Click Set Budget
- Enter monthly budget amount
- Configure alerts
Budget Alerts
Set alerts at:
- 50% of budget
- 75% of budget
- 90% of budget
- 100% of budget (hard stop optional)
Cost Optimization
Using Alvin for Savings
Alvin's intelligent routing automatically optimizes costs:
- Routes simple queries to cheaper models
- Reserves expensive models for complex tasks
- Typically saves 30-50% vs always using premium models
Manual Optimization
| Strategy | Savings Potential |
|---|---|
| Use smaller models for simple tasks | 80-95% |
| Reduce max_tokens | 10-30% |
| Cache repeated queries | 50-90% |
| Batch similar requests | 10-20% |
Model Selection Guide
| Task Complexity | Recommended Model | Cost Level |
|---|---|---|
| Simple Q&A | GPT-4o-mini | $ |
| Code review | Claude Haiku | $ |
| Complex analysis | GPT-4o | $$ |
| Advanced reasoning | Claude 3.5 Sonnet | $$$ |
Cost Reports
Generate Reports
- Go to Analytics > Reports
- Select Cost Report
- Choose time range
- Download CSV or PDF
Report Contents
- Daily cost breakdown
- Model usage and costs
- Per-key spending
- Trend analysis
Billing Integration
Viewing Invoices
- Go to Settings > Billing
- View invoice history
- Download invoices
Payment Methods
Manage payment methods:
- Credit/debit cards
- Invoice billing (Enterprise)
Cost Allocation
By Team
Track spending by team using separate keys:
| Team | Key | Monthly Cost |
|---|---|---|
| Engineering | prod-eng-key | $500 |
| Support | support-bot | $150 |
| Analytics | data-team | $200 |
By Project
Create project-specific keys for:
- Cost attribution
- Budget management
- Usage monitoring
Related
- Analytics Overview - Dashboard overview
- Usage Tracking - Usage metrics
- Billing - Plans and payments