{% extends "base.html" %} {% block title %}Leaderboard — Janus{% endblock %} {% block content %}

🏆 Leaderboard

{% set periods = [(1, 'Today'), (7, 'Week'), (30, 'Month'), (0, 'All Time')] %} {% for d, label in periods %} {{ label }} {% endfor %}
{% if leaderboard %}
{% for row in leaderboard %} {% endfor %}
# API Key Requests Tokens Input ↓ Output ↑ Cost Success %
{% if row.rank == 1 %}🥇 {% elif row.rank == 2 %}🥈 {% elif row.rank == 3 %}🥉 {% else %}{{ row.rank }}{% endif %} {{ row.key_name }} {{ "{:,}".format(row.requests) }} {{ "{:,}".format(row.tokens) }} {{ "{:,}".format(row.input_tokens) }} {{ "{:,}".format(row.output_tokens) }} ${{ "%.4f"|format(row.cost) }} {{ "%.1f"|format(row.success_pct) }}%
{% else %}

No usage data yet.

Send some requests through Janus to populate the leaderboard.

{% endif %}
{% endblock %}