{% extends "admin/base_site.html" %} {% load i18n admin_urls %} {% block extrastyle %}{{ block.super }} {% endblock %} {% block content %}
{% for d, label in windows %} {{ label }} {% endfor %} Estimates from token counts and list prices; the provider's invoice is the truth.
{% with h=data.headline %}| Feature (root span) | Calls | Users | In | Prompt-cached | Out | Input $ | Output $ | Total $ | Per call | Per user | Unpriced |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ r.feature }} | {{ r.calls }} | {{ r.users }} | {{ r.input_tokens }} | {{ r.cache_share }}% | {{ r.output_tokens }} | {{ r.cost_in|floatformat:4|default:"--" }} | {{ r.cost_out|floatformat:4|default:"--" }} | {{ r.cost_total|floatformat:4|default:"--" }} | {{ r.per_call|floatformat:5|default:"--" }} | {{ r.per_user|floatformat:4|default:"--" }} | {{ r.unpriced }} |
| No calls in this window. | |||||||||||
| Model | Kind | Calls | In | Prompt-cached | Out | Input $ | Output $ | Total $ | Per call | Unpriced |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ r.model_name }} {{ r.provider }} | {{ r.kind }} | {{ r.calls }} | {{ r.input_tokens }} | {{ r.cache_share }}% | {{ r.output_tokens }} | {{ r.cost_in|floatformat:4|default:"--" }} | {{ r.cost_out|floatformat:4|default:"--" }} | {{ r.cost_total|floatformat:4|default:"--" }} | {{ r.per_call|floatformat:5|default:"--" }} | {{ r.unpriced }} |
| No calls in this window. | ||||||||||
| Month | Calls | Users | In | Out | Input $ | Output $ | Total $ | Unpriced |
|---|---|---|---|---|---|---|---|---|
| {{ r.month|date:"M Y" }} | {{ r.calls }} | {{ r.users }} | {{ r.input_tokens }} | {{ r.output_tokens }} | {{ r.cost_in|floatformat:2|default:"--" }} | {{ r.cost_out|floatformat:2|default:"--" }} | {{ r.cost_total|floatformat:2|default:"--" }} | {{ r.unpriced }} |
| Nothing recorded yet. | ||||||||
{{ u.users }} users made calls in this window. Spend per user: mean {% if u.mean is not None %}${{ u.mean|floatformat:4 }}{% else %}--{% endif %}, median {% if u.median is not None %}${{ u.median|floatformat:4 }}{% else %}--{% endif %}, highest {% if u.max is not None %}${{ u.max|floatformat:4 }}{% else %}--{% endif %}. Counts and averages only; named lookups are in the spans and calls lists.
{% endwith %} {% for section in extra_sections %}{{ section.note }}
{% endif %}| {{ c }} | {% endfor %}
|---|
| {{ cell }} | {% endfor %}