CLI Mode — Cost by Repository

Total cost today
{% if stats.total_cost is defined %} ${{ "%.4f"|format(stats.total_cost) }} {% else %} not yet measured {% endif %}
Requests today
{{ stats.request_count if stats.request_count is defined else "—" }}
Cache hit rate
{{ stats.cache_hit_pct if stats.cache_hit_pct is defined else "—" }}%

Cost by Working Directory

{% if cost_by_repo %} {% for row in cost_by_repo %} {% endfor %}
DirectoryRequestsCost
{{ row.repo }} {{ row.request_count }} ${{ "%.4f"|format(row.cost) }}
{% else %}

No repo-attributed requests yet. Working directory attribution requires proxy ≥ v1.4.

{% endif %}

Budget Burn Rate

{% if burn_rate %}

{{ burn_rate.rate_per_hour | round(4) }} $/hr (rolling 1h window)

{% else %}

Not yet measured — send a request through TokenPak to see burn rate here.

{% endif %}

Recent tokenpak doctor Runs

{% if doctor_runs %} {% else %}

No doctor runs recorded. Run tokenpak doctor to diagnose your setup.

{% endif %}