{% extends "base.html" %} {% block title %}Provider Quotas - AISBF Dashboard{% endblock %} {% block content %}
Debug view for normalized provider quota/free-tier data persisted from upstream usage endpoints. This page is intentionally not linked from the main navigation.
{% if provider_rows %}| Provider | Configured Free Tier | Normalized Runtime Quota | User Snapshot | {% if is_admin %}Global Snapshot | {% endif %}
|---|---|---|---|---|
| {{ row.provider_id }} |
{% if row.free_tier_info %}
{{ row.free_tier_info.description or row.provider_id }}
{{ row.free_tier_info.limit }}/{{ row.free_tier_info.period }} {{ row.free_tier_info.limit_type }}
ยท {{ row.free_tier_info.source }}
{% else %}
N/A
{% endif %}
|
{% if row.normalized_quota %}
{{ row.normalized_quota | tojson(indent=2) }}
{% else %}
N/A
{% endif %}
|
{% if row.user_snapshot %}
{{ row.user_snapshot.last_updated or 'unknown time' }}
{{ row.user_snapshot.usage_data | tojson(indent=2) }}
{% else %}
N/A
{% endif %}
|
{% if is_admin %}
{% if row.global_snapshot %}
{{ row.global_snapshot.last_updated or 'unknown time' }}
{{ row.global_snapshot.usage_data | tojson(indent=2) }}
{% else %}
N/A
{% endif %}
|
{% endif %}
No provider quota data available.
{% endif %} {% endblock %}