{#if usage?.refreshedAt} usage read {sinceText(now - usage.refreshedAt)} {:else if summary && usage?.state === 'loading'} {USAGE_COPY.readingUsage} {/if} {#if usage?.state === 'stale'} not the newest read {/if} {#if retrying && summary} {/if}
{usageNote(offsetName(offset))} · {scopeLine}
{#if usage?.state === 'error'}(。•︿•。) {USAGE_COPY.usageFailed}
{:else}{USAGE_COPY.readingUsage}
{/if}{usageNote(offsetName(offset))} · {scopeLine}
{dayLabel(start, now, offset)}
{callsText(shown.calls)} calls
{#if shown.errors}{failedText(shown.errors)} failed
{/if}{countText(shown.input_tokens)} input
{#if cached !== null}{cached}% cached
{/if}{countText(shown.output_tokens)} output
{#if shown.reasoning_tokens}{countText(shown.reasoning_tokens)} reasoning
{/if}{announced}
{/if} {:else if totals.calls > 0}no tokens recorded {days === 1 ? 'today' : `in the last ${days} days`}, only calls
{:else}no recorded calls {days === 1 ? 'today' : `in the last ${days} days`}
{/if}the busiest hundred model lines of {windowText(days)}; smaller ones are left out
{/if} {:else}nothing recorded {days === 1 ? 'today' : `in the last ${days} days`} yet; the totals move when a call finishes
{/if}{USAGE_COPY.limitsNote} · not filtered by period or scope
{#if !limits || (limits.state === 'loading' && !limits.data)}{USAGE_COPY.readingLimits}
{:else if !limits.data}(。•︿•。) {USAGE_COPY.limitsFailed}
{:else} {#if limits.state === 'stale'}as of {limits.refreshedAt === null ? 'an unknown time' : sinceText(now - limits.refreshedAt)} · {USAGE_COPY.limitsStale}
{/if} {#if groups.length}{USAGE_COPY.noLimits}
{/if} {/if}totals are hourly counts the daemon keeps beside its request records, and the whole window is cut with the offset this page has now ({offsetName( offset, )}). days across a clock change may therefore differ from their historical local boundaries, and in a zone that is not a whole number of hours from UTC the hour that straddles midnight counts in the earlier day.
a call is one provider request, so a compaction summary and a warm-up ping count as calls. input tokens include what was served from cache, which is shown beside them and never added to them, and what was written to it. output tokens include reasoning where a provider reports it separately. today's counts are so far.
nothing here is priced: what a call costs depends on the plan it was made under. limits are what the providers report for the account itself, so they may count use outside albedo.