Total Traces
{{ "{:,}".format(trace_count) }}
{{ days }}-day window
Avg Tokens/Trace
{% if trace_count and trace_count > 0 and totals.total_tokens %} {{ "{:,}".format((totals.total_tokens // trace_count)) }} {% else %}—{% endif %}
input + output
Total Savings
${{ "%.2f"|format(totals.total_savings or 0) }}
across all traces
Error Rate
last {{ days }} days

Trace Timeline

Each dot = one trace · X = time · Y = tokens · Color = provider · Click dot → trace detail
anthropic openai gemini/google other
{{ "{:,}".format(trace_count) }} traces {% if filter_provider %}Provider: {{ filter_provider }} ×{% endif %} {% if filter_model %}Model: {{ filter_model }} ×{% endif %} {% if filter_agent %}Agent: {{ filter_agent }} ×{% endif %} {% if filter_status and filter_status != 'all' %}Status: {{ filter_status }} ×{% endif %} {% if search %}ID: {{ search }}… ×{% endif %} {% if filter_provider or filter_model or filter_agent or search %} Clear all {% endif %}
{% macro sort_th(col, label, align='left') %} {% endmacro %} {{ sort_th('ts', 'Timestamp') }} {{ sort_th('provider', 'Provider') }} {{ sort_th('model', 'Model') }} {{ sort_th('agent', 'Agent') }} {{ sort_th('input', 'Raw Tok', 'right') }} {{ sort_th('output', 'Out Tok', 'right') }} {{ sort_th('cost', 'Actual $', 'right') }} {{ sort_th('savings', 'Savings $', 'right') }} {{ sort_th('status', 'Status', 'center') }} {{ sort_th('latency', 'Latency', 'right') }} {% for t in traces %} {% set savings_tok = (t.input_billed or 0) - (t.input_billed or 0) %} {% set has_savings = (t.savings_total or 0) > 0 %} {% set is_error = t.status == 'error' %} {% else %} {% endfor %}
{{ label }} {% if sort == col %} {{ '↑' if sort_dir == 'asc' else '↓' }} {% else %} {% endif %} Trace IDSaved Tok
{{ t.ts_iso[:10] if t.ts_iso else '—' }} {{ t.ts_iso[11:19] if t.ts_iso else '' }}
{{ t.trace_id[:12] }}… {% if (t.savings_total or 0) > 0 %} {% else %} {% endif %}
{% if t.provider %} {{ t.provider }} {% else %}—{% endif %} {% if t.model %} {{ t.model|truncate(24, True, '…') }} {% else %}—{% endif %} {% if t.agent_id %} {{ t.agent_id|truncate(18, True, '…') }} {% else %}{% endif %} {{ "{:,}".format(t.input_billed or 0) }} {{ "{:,}".format(t.output_billed or 0) }} ${{ "%.4f"|format(t.actual_cost or 0) }} {% if has_savings %}+${{ "%.4f"|format(t.savings_total) }}{% else %}—{% endif %} {% if t.status == 'ok' %} ✓ ok {% elif t.status == 'error' %} ✗ error {% else %} {{ t.status or '?' }} {% endif %} {% if t.duration_ms %} {% if t.duration_ms >= 1000 %}{{ "%.1f"|format(t.duration_ms / 1000) }}s {% else %}{{ t.duration_ms|int }}ms{% endif %} {% else %}—{% endif %}
🔍

No traces found for the selected filters

{% if total_pages > 1 %}
Showing {{ ((page - 1) * page_size + 1)|int }}–{{ [page * page_size, trace_count]|min|int }} of {{ "{:,}".format(trace_count) }}
{% if page > 1 %} {% else %} {% endif %} {% for p in range([1, page - 2]|max, [total_pages + 1, page + 3]|min) %} {% endfor %} {% if page < total_pages %} {% else %} {% endif %}
{% endif %}