{% from "components/card.html" import stat_card %} {{ stat_card( label="Cache Hit Rate", value=(tokens.cache_hit_rate|default(0)|float|round(1))|string ~ "%", subtitle="Tokens served from cache", icon='', link="/tokens" ) }} {{ stat_card( label="Top Conversation Cost", value="$" ~ (conversations_preview.most_expensive_cost|default(0.0)|float|round(2)), subtitle=conversations_preview.most_expensive_project|default("")|truncate(30, True, "…"), icon='', link="/conversations" ) }} {{ stat_card( label="Total Cost", value="$" ~ (tokens.total_cost|default(0.0)|float|round(2)), icon='', link="/tokens" ) }} {{ stat_card( label="Cache Savings", value="$" ~ (tokens.cache_savings|default(0.0)|float|round(2)), icon='', link="/tokens" ) }}
{% include 'partials/dashboard_charts.html' %}
{% include 'partials/cost_trend_charts.html' %}
{% if conversations_preview and conversations_preview.recent %}

Recent Conversations

View all {{ conversations_preview.total_count }} conversations
{% for conv in conversations_preview.recent %} {% set _peak_ctx = conv.peak_context_tokens|default(0)|int %} {% set ctx_pct = (_peak_ctx / 200000 * 100) | round(0) | int %} {% set ctx_blocks = (ctx_pct / 10) | round(0, 'floor') | int %} {% endfor %}
Project Cost
{{ conv.project_name }} ${{ conv.total_cost|float|round(2) }}
{% endif %}

Explore Your Usage

Tools & Features
{% if features_preview and features_preview.top_tool %}

{{ features_preview.top_tool.tool_name }} called {{ features_preview.top_tool.invocation_count }} times

{{ features_preview.total_tool_calls }} total tool calls

{% else %}

No tool usage in this period

{% endif %}
Explore tools
Sub-Agents
{% if subagents_preview and subagents_preview.total_exchanges > 0 %}

{{ subagents_preview.total_exchanges }} agent exchanges

{% if subagents_preview.type_breakdown %}

Top type: {{ subagents_preview.type_breakdown[0].type }} ({{ subagents_preview.type_breakdown[0].count }})

{% endif %}

${{ subagents_preview.total_cost|default(0)|float|round(2) }} total cost

{% else %}

No sub-agent usage in this period

{% endif %}
Explore agents
Files
{% if files_preview and files_preview.total_files > 0 %}

{{ files_preview.total_files }} files touched

{% if files_preview.most_edited_file %}

Most edited: {{ files_preview.most_edited_file }}

{% endif %}

{{ files_preview.total_operations }} total operations

{% else %}

No file operations in this period

{% endif %}
Explore files
Integrations
{% if integrations_preview and integrations_preview.has_integrations %}

{{ integrations_preview.total_servers }} MCP server{{ 's' if integrations_preview.total_servers != 1 else '' }}

{% if integrations_preview.top_servers %}

Top: {{ integrations_preview.top_servers[0].server_name }} ({{ integrations_preview.top_servers[0].tool_call_count }} calls)

{% endif %}

{{ integrations_preview.total_tool_calls }} total calls

{% else %}

No MCP integrations active

{% endif %}
Explore integrations
Conversation Analytics
{% if conversations_preview %}

{{ conversations_preview.total_count }} conversation{{ 's' if conversations_preview.total_count != 1 else '' }}

Priciest: ${{ conversations_preview.most_expensive_cost|default(0)|float|round(2) }}

Context growth & cost analytics

{% else %}

No conversation data in this period

{% endif %}
Explore conversations
Projects
{% if projects and projects.total_projects > 0 %}

{{ projects.total_projects }} active project{{ 's' if projects.total_projects != 1 else '' }}

Most active: {{ projects.most_active_project }}

${{ projects.total_cost|default(0)|float|round(2) }} total spend

{% else %}

No project data in this period

{% endif %}
Explore projects
{% if models and models.models %}

Model Usage

View details
{% for model in models.models[:3] %}
{{ model.model_name }} {{ model.cost_percentage|default(0)|float|round(1) }}%
{{ model.total_tokens|default(0)|int }} tokens ${{ model.cost|default(0.0)|float|round(2) }}
{% endfor %}
{% if models.total_models > 3 %} {% endif %}
{% endif %}