{% extends "base.html" %} {% block title %}{{ run.name }}{% endblock %} {% block content %}
← All runs

{{ run.name }}

{% if run.status == 'ok' %} ok {% elif run.status == 'error' %} error {% else %} running {% endif %}
{{ run.id }} · {{ run.started_at.strftime('%Y-%m-%d %H:%M:%S') }} UTC · {{ run_duration_ms }}ms total {% if run.error_message %} · {{ run.error_message }} {% endif %}
{% if llm_count > 0 %} {{ run_duration_ms }}ms · {{ llm_count }} LLM call{{ 's' if llm_count != 1 }} · {{ total_tokens }} token{{ 's' if total_tokens != 1 }} · {{ total_cost_usd | format_cost }} {% else %} {{ run_duration_ms }}ms · {{ span_count }} span{{ 's' if span_count != 1 }} · no LLM calls {% endif %}
0 {{ (run_duration_ms * 0.25)|round|int }}ms {{ (run_duration_ms * 0.5)|round|int }}ms {{ (run_duration_ms * 0.75)|round|int }}ms {{ run_duration_ms }}ms
{% for sp in spans %}
{{ sp.display_name }}
{% else %}

No spans recorded yet.

{% endfor %}

← Click a span to inspect it

{% if cost_rows %} {% for row in cost_rows %} {% endfor %}
Span Parent Model Tokens In Tokens Out Duration Cost
{{ row.display_name }} {{ row.parent_name or '—' }} {{ row.model }} {{ row.prompt_tokens }} {{ row.completion_tokens }} {{ row.duration_ms }}ms {{ row.cost_usd | format_cost }}
Totals {{ cost_rows|sum(attribute='prompt_tokens') }} {{ cost_rows|sum(attribute='completion_tokens') }} {{ total_cost_usd | format_cost }}
{% else %}
[ INFO ] No LLM calls detected in this trace.
{% endif %}
{% endblock %}