{% if routing_live and routing_live.sticky %}

Sticky routing pins

Strategy: {{ routing_live.account_strategy }}

{% endif %} {% if overview.providers %} {% for provider in overview.providers %}

{{ provider.prefix }}

Gateway provider {{ provider.id }} · inventory {{ provider.inventory_provider_id }}

{{ provider.account_count }} routable account(s)

{% if provider.quota %}

Quota: {{ "{:,}".format(provider.quota.used) }} / {{ "{:,}".format(provider.quota.limit) }} {{ provider.quota.metric }} ({{ provider.quota.status }}) · resets in {{ provider.quota.resets_in }}

{% endif %} {% if provider.models %}

Models: {{ provider.models | join(', ') }}

{% endif %}
{% if provider.accounts %} {% set ns = namespace(next_shown=false) %}
    {% for account in provider.accounts %}
  1. {{ account.order }}
    try order
    {{ account.key_masked }} {% if not ns.next_shown and not account.cooldown_active and not account.quota_deprioritized %} {% set ns.next_shown = true %} Next {% endif %} {% if account.key_label %} {{ account.key_label }} {% endif %} priority {{ account.priority }} {% if account.source == 'config' %} static config {% endif %}

    account {{ account.account_id }}

    {% if account.credits_remaining is not none %}

    ${{ "%.2f"|format(account.credits_remaining) }}

    {% endif %} {% if account.cooldown_active %}

    cooldown ~{{ account.cooldown_seconds | int }}s

    {% elif account.quota_deprioritized %}

    deprioritized (quota)

    {% else %}

    available

    {% endif %}
    {% if account.key_id %} {% endif %}
  2. {% endfor %}
{% else %}
No routable accounts. Add keys in Key Inventory or configure a provider API key.
{% endif %}
{% endfor %} {% else %}
No enabled gateway providers. Add a provider.
{% endif %}