docs: record the reset history, API value at list prices and window series
The developer asked for figures per reset, with wastage, API value and the gift of early resets (D12, D13). Codex moves its week between slots, so analyses follow a window series (D7). The reset hour before a gap goes to the ending instance (#9). Refs #14
This commit is contained in:
+67
-3
@@ -179,12 +179,20 @@ probe.
|
||||
is reached stops use, so an estimate that would pass it shows "limit reached (estimated)" at
|
||||
the time it crosses. No tokens in the instance means no estimate. Instance boundaries come from
|
||||
resets: an instance starts at its reset minus its length, and ends at its reset or at the next
|
||||
instance's start, whichever comes first (Codex can start a new window early). Spans between
|
||||
instances (a session window opens only with the next message) belong to none. A past instance
|
||||
instance's start, whichever comes first (Codex can start a new window early). Tokens are
|
||||
hourly (D5): an hour that holds a boundary goes to the instance that starts in it, or, when
|
||||
none does, to the instance that ends in it. Other spans between instances (a session window
|
||||
opens only with the next message) belong to none. A sample whose reset contradicts a later
|
||||
instance's start is stale and is ignored. A past instance
|
||||
with samples is always the real one; an instance is only inferred where no samples exist, by
|
||||
stepping back one window length, and never overlaps a real one. Windows of a day or shorter are
|
||||
never inferred, since a session starts with whatever message comes next. Past instances are
|
||||
labelled with their real start and end.
|
||||
- **Window series.** The samples of one limit share the provider, the limit name and the
|
||||
length. The limit name is the window id without a Codex slot suffix (`:primary`,
|
||||
`:secondary`): Codex moves a limit between its slots when another limit appears or goes, as
|
||||
its week did on 2026-09-13 when its 5 h limit went away. Every analysis of a window reads its
|
||||
series, never a window of another length under the same id.
|
||||
|
||||
A window without a known length or reset has no pace; FinalToken never guesses one; an estimate
|
||||
is a marked calculation from measured tokens, not a guess.
|
||||
@@ -223,7 +231,8 @@ an instance and any weighting the provider applies beyond the price ratios.
|
||||
- **Panel (R4).** It leads with one tile per limit window: used percent, pace, the forecasts of
|
||||
[D7](#d7--pace) and, for windows longer than a day, today's use and the daily budget. Then
|
||||
follow the per-day use of the long windows, token totals and charts, one window chart per limit
|
||||
window, and the top entries by model and by project, with the rest folded into an expandable
|
||||
window, the reset history of each long window ([D12](#d12--reset-history)), and the top
|
||||
entries by model and by project, with the rest folded into an expandable
|
||||
"Other". A window chart is a burn-up of one instance from its start to its reset: the used
|
||||
percent as a line (measured, or estimated before the first sample), the even-pace diagonal
|
||||
from 0 % to 100 %, the forecast to the reset and the previous instance faintly behind, with no
|
||||
@@ -295,3 +304,58 @@ setting says so and nothing happens.
|
||||
**Why.** R7.
|
||||
|
||||
**Gives up.** Elgato's double-click `.streamDeckPlugin` installer, which always asks.
|
||||
|
||||
## D12 — Reset history
|
||||
|
||||
**Decision.** For each limit window longer than a day, the panel lists the instances of its
|
||||
window series ([D7](#d7--pace)) that have samples and overlap the panel's range, newest first,
|
||||
with totals over them. Inferred instances are left out, because their resets were not observed.
|
||||
|
||||
- **End.** An instance ends at its reset or at the next instance's start (D7). One that ends
|
||||
more than 15 minutes before its reset **reset early**, and the time from its end to its reset
|
||||
is **skipped**. The running instance is marked as running and has no end figures yet.
|
||||
- **Figures.** Start, end, duration and reset; peak and final use (the last point of its D7
|
||||
burn-up, marked when estimated); when it reached 100 % and how long it stayed there; tokens by
|
||||
kind and by model in its hours (the window's model family only, boundary hours as in D7); and
|
||||
their API value ([D13](#d13--api-value-at-list-prices)).
|
||||
- **Unused.** A finished instance leaves `100 − final use` percent of its limit unused.
|
||||
- **Gift.** An early reset hands out a fresh limit ahead of schedule: its gift is
|
||||
`100 · skipped / W` percent of a limit. Over many windows, that is how many extra limits the
|
||||
provider gave.
|
||||
- **Value of a percent.** Unused and gift percent become tokens and money at the instance's own
|
||||
tokens and API value per percent point when its final use is at least 5 %; otherwise at the
|
||||
median of the series' instances that qualify. Without one, only the percent is shown.
|
||||
- **Totals** over the listed instances: their number, early resets, tokens, API value, unused
|
||||
and gift (in limits and value), and how often and how long 100 % was reached.
|
||||
- **Timeline.** Each series shows its instances on one time axis without joining their lines,
|
||||
marks each reset and the skipped time of early resets, and counts its early resets by local
|
||||
hour and weekday.
|
||||
|
||||
**Why.** R4. The developer asked for figures per reset, including wastage, API value and what
|
||||
early resets give (developer feedback, 2026-10-18). Codex resets early often: 11 of its 12 week
|
||||
instances from 2026-09-21 to 2026-10-17 ended early, some after 10 hours.
|
||||
|
||||
**Gives up.** Resets FinalToken never saw: before its first sample, and instances without any
|
||||
sample. Token figures at a boundary are only as fine as an hour. The gift assumes the provider
|
||||
would have kept its schedule. Unused and gift values assume the instance's model mix. A drop in
|
||||
use without a new reset is not a reset.
|
||||
|
||||
## D13 — API value at list prices
|
||||
|
||||
**Decision.** FinalToken estimates what tokens would cost at the providers' public API list
|
||||
prices. A table compiled into Core gives, per model, US dollars per million tokens for input,
|
||||
output, cache write and cache read (Claude) or input, cached input and output (Codex), with the
|
||||
day it was checked and its source pages. A model id matches its entry exactly or with a
|
||||
trailing date suffix (`claude-haiku-4-5-20251001`). A model without an entry has no value; its
|
||||
tokens are counted and shown as unpriced. Claude cache writes use the 5-minute price. Reasoning
|
||||
is part of output and Codex cached input part of input, as in [D7](#d7--pace). Values are
|
||||
shown with "≈" as "at API list prices".
|
||||
|
||||
**Why.** The developer asked what each window would cost at API prices (developer feedback,
|
||||
2026-10-18). [D2](#d2--the-clis-are-the-only-interface-to-a-provider) rules out asking a
|
||||
provider; a dated table can be checked by hand and is updated with a release.
|
||||
|
||||
**Gives up.** Price changes after the check until a release updates the table. Long-context
|
||||
prices (OpenAI above 272K input tokens, Claude Haiku 5.5 above 100K), because hourly buckets do
|
||||
not keep request sizes. The 1-hour cache write price, fast and batch prices, and models not in
|
||||
the table.
|
||||
|
||||
Reference in New Issue
Block a user