{% extends "base.html" %} {% set active = "llm" %} {% block title %}Model calls{% endblock %} {% block topbar %}{{ icon("sparkles") }} Model calls{% if run %}/{{ run }} all{% endif %}{% endblock %} {% block content %}
Calls
{{ "{:,}".format(totals.calls) }}
{% for s, n in totals.status.most_common() %}{{ s }} {{ n }}{% if not loop.last %} · {% endif %}{% endfor %}
Tokens
{{ "{:,}".format(totals.input + totals.output) }}
{{ "{:,}".format(totals.input) }} in · {{ "{:,}".format(totals.output) }} out
Cost
${{ "%.4f"|format(totals.cost) }}
{% if totals.priced %}at list prices{% else %}some models have no listed price{% endif %}
{% if calls %} {% for c in calls %} {% endfor %}
{{ icon("clock", 14) }} When{{ icon("sparkles", 14) }} Model{{ icon("file-text", 14) }} Prompt {{ icon("circle-dashed", 14) }} StatusTokensCostms{{ icon("player-play", 14) }} Run
{{ fmt(c.created_at) }} {{ c.model }} {{ c.provider }} {{ c.prompt_ref.split(':', 1)[1].split('#')[0] }} {{ c.status }} {{ "{:,}".format((c.input_tokens or 0) + (c.output_tokens or 0)) }} {% if c.cost_usd is not none %}${{ "%.4f"|format(c.cost_usd) }}{% endif %} {{ c.latency_ms or "" }} {% if c.run_id %}{{ c.run_id[:14] }}…{% endif %}
{% else %}
No model calls yet.
{% endif %} {% endblock %}