{# Trust & Transparency bar #}
⚠ Estimated Data as of: just now
Total Cost (Actual)
${{ "%.2f"|format(totals.total_actual_cost or 0) }}
provider-reported · {{ days }}d
Formula
SUM(input_tokens × input_rate + output_tokens × output_rate)
actual_cost:${{ "%.4f"|format(totals.total_actual_cost or 0) }}
Total Savings
${{ "%.2f"|format(totals.total_savings or 0) }}
{% set baseline = (totals.total_actual_cost or 0) + (totals.total_savings or 0) %} {% if baseline > 0 %}{{ "%.1f"|format((totals.total_savings or 0) / baseline * 100) }}% reduction{% else %}—{% endif %}
Formula
baseline_cost − actual_cost
{% set baseline = (totals.total_actual_cost or 0) + (totals.total_savings or 0) %}
baseline:${{ "%.4f"|format(baseline) }}
actual:${{ "%.4f"|format(totals.total_actual_cost or 0) }}
savings:${{ "%.4f"|format(totals.total_savings or 0) }}
Total Requests
{{ "{:,}".format(totals.total_requests or 0) }}
{{ days }} days
Cost / Request
{% if totals.total_requests and totals.total_requests > 0 %} ${{ "%.4f"|format((totals.total_actual_cost or 0) / totals.total_requests) }} {% else %}—{% endif %}
avg per request
Formula
total_cost ÷ total_requests

Baseline vs Actual Cost

Dashed = baseline · Blue = actual · Green = savings · {{ days }} days
⚠ Estimated

Cost by Provider

Click bar to filter dashboard

Cost by Model

Top 10 · Click to filter

Savings by Model

Top 5 · Sorted by savings · Click to filter

Compression %

Avg across all requests · refreshes every 30s

Savings Over Time

ROI trend · Click to filter to date
Provider Breakdown
{% set total_cost_sum = (totals.total_actual_cost or 0) %} {% set total_req_sum = (totals.total_requests or 0) %} {% set total_sav_sum = (totals.total_savings or 0) %} {% for row in by_provider %} {% set row_cost = row.cost or 0 %} {% set row_requests = row.requests or 0 %} {% set row_savings = row.savings or 0 %} {% set baseline = row_cost + row_savings %} {% set avg_cost = (row_cost / row_requests) if row_requests > 0 else 0 %} {% set savings_pct = (row_savings / baseline * 100) if baseline > 0 else 0 %} {% set raw_tokens = row.avg_raw_tokens or 0 %} {% set final_tokens = row.avg_final_tokens or 0 %} {% else %} {% endfor %} {% if by_provider %} {% set tot_baseline = (totals.total_actual_cost or 0) + (totals.total_savings or 0) %} {% set tot_sav_pct = (totals.total_savings / tot_baseline * 100) if tot_baseline > 0 else 0 %} {% endif %}
Provider Requests Baseline Actual Cost Savings Savings % Avg/Req Tokens (Raw→Final)
{{ row.provider or 'unknown' }} {{ "{:,}".format(row_requests|int) }} ${{ "%.4f"|format(baseline) }} ${{ "%.4f"|format(row_cost) }} ${{ "%.4f"|format(row_savings) }} {{ "%.1f"|format(savings_pct) }}% ${{ "%.5f"|format(avg_cost) }} {{ "{:,.0f}".format(raw_tokens) }} → {{ "{:,.0f}".format(final_tokens) }}
No provider data for this period
Total {{ "{:,}".format((totals.total_requests or 0)|int) }} ${{ "%.4f"|format(tot_baseline) }} ${{ "%.4f"|format(totals.total_actual_cost or 0) }} ${{ "%.4f"|format(totals.total_savings or 0) }} {{ "%.1f"|format(tot_sav_pct) }}% ${{ "%.5f"|format(totals.avg_cost or 0) }} {{ "{:,.0f}".format(totals.avg_raw_tokens or 0) }} → {{ "{:,.0f}".format(totals.avg_final_tokens or 0) }}
{# /breakdown-tables-section #}
Lifetime Savings
${{ "%.4f"|format(savings_summary.lifetime_savings|default(0)) }}
Savings — 30 Days
${{ "%.4f"|format(savings_summary.savings_30d|default(0)) }}
{% if savings_summary.trend_pct is defined %}{% if savings_summary.trend_pct > 0 %}▲ {{ "%.1f"|format(savings_summary.trend_pct) }}%{% elif savings_summary.trend_pct < 0 %}▼ {{ "%.1f"|format(savings_summary.trend_pct|abs) }}%{% else %}—{% endif %}{% endif %}
Savings — 7 Days
${{ "%.4f"|format(savings_summary.savings_7d|default(0)) }}
Efficiency Score
{{ "%.1f"|format(savings_summary.efficiency_score|default(0)) }}
{% for milestone in pending_milestones %} {% endfor %}