{% from "components/card.html" import stat_card %}
{{ stat_card( label="Total Conversations", value=(summary.total_conversations|default(0)|int)|string, icon='' ) }} {{ stat_card( label="Total Cost", value="$" + ("%.2f"|format(summary.total_cost|default(0.0)|float)), icon='' ) }} {{ stat_card( label="Avg Cost / Conv.", value="$" + ("%.2f"|format(summary.avg_cost|default(0.0)|float)), icon='' ) }} {{ stat_card( label="Most Expensive", value="$" + ("%.2f"|format(summary.most_expensive_cost|default(0.0)|float)), subtitle=(summary.most_expensive_project|default('') + ' · ' + summary.most_expensive_date|default('')) if summary.most_expensive_project else summary.most_expensive_session|default(''), icon='' ) }} {{ stat_card( label="Avg Prompts / Conv.", value=(summary.avg_prompts|default(0.0)|float|round(1)|string), subtitle="Human prompts, not tool turns", icon='' ) }}
{% if conversations %}

Conversations

Sorted by cost — click a row to see context growth chart

{% for conv in conversations %} {% set _ctx_limit = conv.context_limit|default(200000)|int %} {% set peak_pct = [((conv.peak_context_tokens / _ctx_limit * 100) | round(0) | int), 100] | min %} {% set bar_filled = [((peak_pct / 100 * 8) | round(0) | int), 8] | min %} {% set bar_empty = 8 - bar_filled %} {% endfor %}
Project Started Duration Turns Total Tokens Peak Context Cache % Cost
{{ conv.project_name }}
{% if conv.model_badges %}
{% for badge in conv.model_badges[:2] %} {{ badge }} {% endfor %}
{% endif %}
{{ conv.start_date }}
{{ conv.start_time_str }}
{{ conv.duration_str }} {{ conv.turn_count }} {{ conv.total_tokens|format_compact }} {% if conv.peak_context_tokens > 0 %} {{ conv.peak_context_tokens|format_compact }} {% for _ in range(bar_filled) %}▓{% endfor %}{% for _ in range(bar_empty) %}░{% endfor %} {% else %} {% endif %} {{ conv.cache_efficiency }}% ${{ "%.4f"|format(conv.total_cost) }}
{% else %}

No conversations found in this time period

Try a wider time range or start a new Claude Code session

{% endif %}