{% extends "base.html" %} {% from "macros.html" import pill, empty_state %} {% block title %}Metrics — Agent Wasp{% endblock %} {% block page_css %} {% endblock %} {% block content %}
Auto-refresh every 30s · loading…
Loading…
| Model | Calls | In | Out | $/1K out | Cost |
|---|---|---|---|---|---|
| {{ m.model[:16] }}{% if m.model|length > 16 %}…{% endif %} {% if m.provider %}{{ m.provider }}{% endif %} | {{ m.calls }} | {% set it = m.input_tokens %} {% if it > 999999 %}{{ (it/1000000)|round(1) }}M{% elif it > 999 %}{{ (it/1000)|round(1) }}K{% else %}{{ it }}{% endif %} | {% set ot = m.output_tokens %} {% if ot > 999999 %}{{ (ot/1000000)|round(1) }}M{% elif ot > 999 %}{{ (ot/1000)|round(1) }}K{% else %}{{ ot }}{% endif %} | {% if m.cost_usd > 0 and m.output_tokens > 0 %} ${{ "%.4f"|format(m.cost_usd / (m.output_tokens / 1000)) }} {% else %}—{% endif %} | {% if m.cost_usd == 0 %}Free{% else %}${{ "%.5f"|format(m.cost_usd) }}{% endif %} |
| Type | Skill / Model | Duration | In / Out | Cost | Status |
|---|---|---|---|---|---|
| {{ pill(t.task_type, "neutral", "xs") }} | {{ (t.skill_name or t.model_used or '—')[:22] }} | {{ t.duration_ms }}ms | {% if t.prompt_tokens or t.completion_tokens %} {{ t.prompt_tokens or 0 }}/{{ t.completion_tokens or 0 }} {% else %}—{% endif %} | {% if t.cost_usd %} ${{ "%.6f"|format(t.cost_usd) }}{% else %}—{% endif %} | {% if t.success %}{{ pill("OK", "success", "xs") }} {% else %}{{ pill("FAIL", "danger", "xs") }}{% endif %} |