{% extends "base.html" %} {% block title %}Costs — relay dashboard{% endblock %} {% block content %}
All-time total: ${{ "%.4f"|format(grand_total) }} · last 30 calendar days shown in the chart
| Provider | Jobs | Input tokens | Output tokens | Total tokens | Estimated cost | Share |
|---|---|---|---|---|---|---|
| {{ row.provider }} | {{ row.job_count }} | {{ "{:,}".format(row.input_tokens) }} | {{ "{:,}".format(row.output_tokens) }} | {{ "{:,}".format(row.input_tokens + row.output_tokens) }} | ${{ "%.4f"|format(row.total_usd) }} |
{% if grand_total > 0 %}
{% set share_pct = (row.total_usd / grand_total * 100) | round(1) %}
|
No cost data yet.
{% endif %} {% if by_model %}| Model | Jobs | Estimated cost | Share |
|---|---|---|---|
| {{ row.model }} | {{ row.job_count }} | ${{ "%.4f"|format(row.total_usd) }} |
{% if grand_total > 0 %}
{% set share_pct = (row.total_usd / grand_total * 100) | round(1) %}
|
estimated_cost_usd field. Actual billed amounts may differ.
No spending data in the last 30 days.
{% endif %}