{% from '_analytics_charts.html' import bars, trend, donut, usage_table %} {% from '_fmt.html' import tape, count %}
{#- The usage page draws this strip above its filters; embedded views draw it here. -#} {% if not usage_tape_shown %}{{ tape(usage_tape, 'Usage summary', 'usage-kpis') }}{% endif %}

Recorded window only · {{ count(usage.coverage.events_scanned) }} events · {{ usage.timezone }}. {% if not usage.coverage.read_complete %}Read completeness is partial or not established. Narrow the filters for a more complete window.{% endif %} Unpriced calls are excluded from charges, not treated as free.

{% if not trace_analysis %}{% include '_prompt_cache.html' %}{% endif %}
{{ trend(usage_charts.daily_tokens, 'Daily token consumption', 'tokens') }} {{ trend(usage_charts.daily_cost, 'Daily known charge', 'USD') }} {{ bars(usage_charts.agent_cost, 'Agent charges', 'USD · known portion') }} {{ donut(usage_charts.memory_tokens, 'Memory prompt share') }} {{ bars(usage_charts.memory_latency, 'Memory retrieval latency', 'mean ms per operation') }}
Memory reads
Measured retrieval latency
Rendered prompt
Approximate memory tokens
Model result
Provider tokens × rate card
{{ usage_table(usage.agents, 'Usage by agent') }} {{ usage_table(usage.models, 'Usage by provider and model') }}
{{ usage_table(usage.interactions, 'Usage by interaction') }}
Memory measurements
{% for row in usage.memory %}{% else %}{% endfor %}
Memory typeRendered charactersApprox. tokensSupply samplesRetrievals / errorsTotal retrieval msMean / p95 retrieval ms
{{ row.label }}{{ count(row.memory_chars) if row.supply_samples else 'Unknown' }}{{ count(row.memory_tokens_estimate) if row.supply_samples else 'Unknown' }}{{ count(row.supply_samples) }}{{ count(row.retrieval_samples) }} / {{ count(row.retrieval_errors) }}{{ '{:,.1f}'.format(row.retrieval_total_ms) if row.retrieval_samples else 'Unknown' }}{{ '{:,.1f} / {:,.1f}'.format(row.retrieval_mean_ms, row.retrieval_p95_ms) if row.retrieval_samples else 'Unknown' }}
No per-type instrumentation was recorded. Historical attribution cannot be reconstructed.
Accuracy, coverage and pricing sources

Standard direct-API rates only unless a custom registry is configured. Current-catalog calculations apply today's configured rates to older events; they are not historical invoices. Region, batch, priority, discounts and non-token fees require matching cards or billing reconciliation.