{% extends "base.html" %} {% block title %}Cost · Heraldesk{% endblock %} {% block content %}

LLM cost

Agent-run tokens and USD, from the local database. No estimates.

{% for label, key in [("Today", "today"), ("Last 7 days", "last_7_days"), ("Last 30 days", "last_30_days")] %}
{{ label }} ${{ "%.4f"|format(summary.totals[key].cost_usd) }} {{ summary.totals[key].runs }} runs · {{ summary.totals[key].tokens_in + summary.totals[key].tokens_out }} tokens
{% endfor %}

Per profile

{% if summary.profiles %}
{% for row in summary.profiles %} {% endfor %}
Profile Runs today Today 7 days 30 days
{{ row.profile }} {{ row.runs_today }} ${{ "%.4f"|format(row.cost_today) }} ${{ "%.4f"|format(row.cost_7d) }} ${{ "%.4f"|format(row.cost_30d) }}
{% else %}

No profiles registered.

{% endif %}
{% endblock %}