{% load humanize gateway_format %}

Usage

Today and this month (UTC).

All usage for {{ project.name }} →
Tokens today
{{ stats.tokens_today|compact }}
{% if stats.day_limit %} {% include "gateway/includes/limit_meter.html" with limit=stats.day_limit label="of the daily limit" %} {% endif %}
Tokens this month
{{ stats.tokens_this_month|compact }}
{% if stats.month_limit %} {% include "gateway/includes/limit_meter.html" with limit=stats.month_limit label="of the monthly limit" %} {% endif %}
Calls today
{{ stats.calls_today|intcomma }}

{{ stats.errors_today|intcomma }} failed ({{ stats.error_percent }}%)

Response time today
{{ stats.p50|duration }}

typical{% if stats.p95 is not None %} · 95% within {{ stats.p95|duration }}{% endif %}

Top models this month

{% if stats.top_models %} {% for row in stats.top_models %}{% endfor %}
Model Tokens Calls
{{ row.model }}{{ row.tokens|intcomma }}{{ row.calls|intcomma }} call{{ row.calls|pluralize }}
{% else %}

No calls this month.

{% endif %}
Tokens per day, last 14 days
    {% for bar in stats.chart %}
  1. {{ bar.day|date:"M j" }}: {{ bar.tokens|intcomma }} tokens
  2. {% endfor %}