Skip to main content
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

  1. Go to Analytics > Costs
  2. View spending summaries and breakdowns
  3. Set budgets and alerts

Cost Overview

Summary Metrics

MetricDescription
Total CostOverall spending this period
Daily AverageAverage daily spend
ProjectedEstimated month-end spend
Budget UsedPercentage 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

ModelCost/1K InputCost/1K OutputYour 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

  1. Go to Settings > Billing
  2. Click Set Budget
  3. Enter monthly budget amount
  4. 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

StrategySavings Potential
Use smaller models for simple tasks80-95%
Reduce max_tokens10-30%
Cache repeated queries50-90%
Batch similar requests10-20%

Model Selection Guide

Task ComplexityRecommended ModelCost Level
Simple Q&AGPT-4o-mini$
Code reviewClaude Haiku$
Complex analysisGPT-4o$$
Advanced reasoningClaude 3.5 Sonnet$$$

Cost Reports

Generate Reports

  1. Go to Analytics > Reports
  2. Select Cost Report
  3. Choose time range
  4. Download CSV or PDF

Report Contents

  • Daily cost breakdown
  • Model usage and costs
  • Per-key spending
  • Trend analysis

Billing Integration

Viewing Invoices

  1. Go to Settings > Billing
  2. View invoice history
  3. Download invoices

Payment Methods

Manage payment methods:

  • Credit/debit cards
  • Invoice billing (Enterprise)

Cost Allocation

By Team

Track spending by team using separate keys:

TeamKeyMonthly Cost
Engineeringprod-eng-key$500
Supportsupport-bot$150
Analyticsdata-team$200

By Project

Create project-specific keys for:

  • Cost attribution
  • Budget management
  • Usage monitoring
Cost Dashboard | elyxir