Context {fmtTokens(contextTokens)} / {fmtTokens(contextWindow)}
{#each windows as w (w.window)} {@const known = figure(w) !== null && figure(w) !== undefined}
{limitLabel(w.window)} {#if known} {bound(w)}{pct(w)} % {fmtCountdown(w.resets_at, now).replace("resets ", "")} {:else} {limitWord(w.status)} {fmtCountdown(w.resets_at, now).replace("resets ", "")} {fmtTokens( w.gateway.input + w.gateway.output + w.gateway.cache_creation )} · {fmtMoney(w.gateway.cost_usd)} {/if}
{/each} {#if spend !== null}
Spend · 24 h {fmtMoney(spend)} in API price
{/if}