Loom · observability

{% for w in windows %} {{ w }} {% endfor %}
calls
{{ "{:,}".format(summary.calls) }}
cost
${{ "%.4f"|format(summary.cost_usd) }}
{{ "{:,}".format(summary.input_tokens) }} in / {{ "{:,}".format(summary.output_tokens) }} out tokens
avg latency
{{ "%.0f"|format(summary.avg_latency_ms) }} ms
cache hits
{{ summary.cache_hit_pct }}%
deduped
{{ summary.dedup_pct }}%
errors
{{ summary.error_pct }}%

By provider

{% if providers %} {% for p in providers %} {% endfor %}
Provider Calls Cost (USD) Avg latency Cache % Error %
{{ p.provider }} {{ "{:,}".format(p.calls) }} ${{ "%.4f"|format(p.cost_usd) }} {{ "%.0f"|format(p.avg_latency_ms) }} ms {{ p.cache_hit_pct }}% {{ p.error_pct }}%
{% else %}
No calls in this window.
{% endif %}

Top models by cost

{% if models %} {% for m in models %} {% endfor %}
Provider Modality Model Calls Cost (USD) Avg latency Cache %
{{ m.provider }} {{ m.modality }} {{ m.model }} {{ "{:,}".format(m.calls) }} ${{ "%.4f"|format(m.cost_usd) }} {{ "%.0f"|format(m.avg_latency_ms) }} ms {{ m.cache_hit_pct }}%
{% else %}
No calls in this window.
{% endif %}

Recent calls

{% if recent %} {% for r in recent %} {% endfor %}
Provider Model Latency Cost Status
{{ r.provider }} {{ r.model }} ({{ r.modality }}) {{ "%.0f"|format(r.latency_ms) }} ms {% if r.cost_usd %}${{ "%.6f"|format(r.cost_usd) }}{% else %}{% endif %} {% if r.ok %}ok{% else %}{{ r.error_type or "error" }}{% endif %} {% if r.cached %}cached{% endif %} {% if r.deduped %}deduped{% endif %}
{% else %}
No calls yet.
{% endif %}