Charts — last 14 days

{# Daily sparkline #}
Daily spend
{% set max_val = daily_totals|max if daily_totals else 1 %} {% set max_val = max_val if max_val > 0 else 1 %} {% for i in range(daily_totals|length) %} {% set h = (daily_totals[i] / max_val * 38)|int %} {% set x = (i / (daily_totals|length - 1) * 280) if daily_totals|length > 1 else 140 %} {% endfor %}
{# Model breakdown #} {% if insights.by_model %}
By model
{% for row in insights.by_model %}
{{ row.name }}
{{ row.pct_of_total }}%
{% endfor %}
{% endif %} {# Heatmap #}
Hourly heatmap (28 days)
{% include "_partials/heatmap.html" %}
{# By caller #} {% if insights.by_caller %}
By caller
{% for row in insights.by_caller %} {% endfor %}
User-agentCostReqs%
{{ row.name }} {{ row.cost_cents | format_money_filter }} {{ row.request_count }} {{ row.pct_of_total }}%
{% endif %} {# By metadata.user_id #} {% if insights.by_metadata_user_id %}
By user_id
{% for row in insights.by_metadata_user_id %} {% endfor %}
user_idCostReqs%
{{ row.name }} {{ row.cost_cents | format_money_filter }} {{ row.request_count }} {{ row.pct_of_total }}%
{% endif %} {% if not insights.by_model and not daily_totals|select|list %}

No usage data yet.

{% endif %}