{% extends "base.html" %} {% block title %}Costs{% endblock %} {% block body %}

Costs

LLM spend for the current month. When the cap is reached, all calls stop until the month rolls over or the cap is raised.

{{ spend|money }} of US${{ '%.2f'|format(cap) }}
{% for title, rows in [('By role', by_role), ('By model', by_model), ('By source', by_source), ('Immediate × batch', by_mode)] %}
{{ title }} {% for r in rows %}{% else %}{% endfor %}
CallsCost
{{ r.k }}{{ r.n }}{{ r.c|money }}
Nothing yet.
{% endfor %}

Tokens by role

{% for r in by_role %}{% endfor %}
RoleInputOutputRead from cache
{{ r.k }}{{ r.i }}{{ r.o }}{{ r.cr }}

By day

{% for r in by_day %}{% endfor %}
DayCallsCost
{{ r.d }}{{ r.n }}{{ r.c|money }}
{% if errors %}

Call failures

{% for e in errors %}
{{ e.n }} × {{ e.error }}
{% endfor %}
{% endif %}
{% endblock %}