{{ total_tokens }}
Total Tokens
{{ total_turns }} turns
{{ total_sessions }}
Sessions
{{ avg_per_turn }}/turn avg
{{ cache_hit }}%
Cache Hit Rate
of total input
{% if current_session %}
{{ current_session.total_fmt }}
Current Session
{{ current_session.turns | default(0) }} turns
{% endif %}
{% if categories %}

Token Breakdown

{% for cat in categories %} {% set pct = cat.pct | float %} {% if pct >= 0.1 %}
{% if pct > 5 %}{{ cat.pct }}%{% endif %}
{% endif %} {% endfor %}
Fresh input ({{ categories[0].fmt }})
Cache read ({{ categories[1].fmt }})
Cache create ({{ categories[2].fmt }})
Output ({{ categories[3].fmt }})
{% endif %}

Sessions

{% for s in sessions %} {% endfor %}
Session Date Turns Input Cache Rd Cache Cr Output Total Size
{{ s.id }}{% if loop.last %}current{% endif %} {{ s.date }} {{ "{:,}".format(s.turns) }} {{ s.input_fmt }} {{ s.cache_read_fmt }} {{ s.cache_create_fmt }} {{ s.output_fmt }} {{ s.total_fmt }} {{ s.size_mb }}MB
Total {{ total_turns }} {{ total_tokens }}