Skip to content
Dispatch
All releases

Usage pacing: does the budget last?

v3.6.0

You opened the account popover and read 26% used. Was that fine? On day 8 of the month it is. On day 3 it is a problem. The number gave you no reference point, so you did the division in your head, or you did not do it at all. This release does the division for you on every usage window. One line tells you whether the current rate holds until the reset.

See it

Dispatch v3.6.0: open the account popover and read the pace badge, the elapsed marker and the projection line on each usage window

Higher-quality video: dispatch-v3.6.0-usage-pacing.mp4

Every usage window shows its pace

Click the usage chip in the strip. Each window row in the popover keeps its bar and its percent, and gains three things. A thin marker on the bar shows how much of the period is over. You see the gap between usage and time at a glance. A badge reads On track, Ahead of budget, or Will run out. One line below the bar names the projection. A monthly credit budget reads "At this rate, credit runs out on 15 Sept". A session window reads "At this rate, limit hits in 40m". When the rate is fine, the line says so: "credit lasts the month" or "limit holds until reset". Hover the row or the badge to read the raw numbers: used percent, elapsed percent, and the burn rate. The rate is per hour for a session and per day for every other window.

The badge thresholds are simple. Pace is the used percent divided by the elapsed percent. At most 1.0 is On track. Above 1.0 and at most 1.25 is Ahead of budget. Above 1.25 is Will run out. A window at 100% used is always Will run out, and its line reads "Limit reached" or "Credit used up".

The same view applies to every plan. Enterprise accounts see it on the monthly credit budget. Teams, Max and Pro accounts see it on the session and weekly windows. The strip chip and the Settings Accounts tab do not change.

Resume opens the newest conversation

A Dispatch session used to remember one Claude conversation id, captured from the first hook event and never changed. After a context handoff you cleared the pane and started a new conversation. Dispatch logged the new id as a mismatch, and Resume reopened the old, full conversation.

Each session record now keeps a history of every conversation the hooks report. Resume opens the most recent one. When claude --resume answers "No conversation found" for that id, Dispatch marks that conversation missing. The next Resume opens the previous one. A Restart no longer resets the id, so the history survives it. On the first boot after the upgrade, a migration seeds one history entry for every record that already names a conversation. Existing tickets therefore resume the same conversation as before.

What changed underneath

Every usage window on the wire now carries a derived period start and end. The usage endpoint reports only a reset time for session and weekly limits. The start is therefore the known window length back from the reset: 5 hours for a session, 7 days for a weekly limit. The endpoint reports no billing period at all for the enterprise credit budget, so Dispatch uses the local calendar month. A window kind Dispatch does not know gets no period and shows the plain bar.

The pace math runs in the browser, anchored to the instant Dispatch fetched the usage snapshot. The used percent dates from that instant, so the elapsed time does too. A refetch under an open popover cannot skew the ratio. Under 1% elapsed there is no projection, so a fresh period never reads as a problem. A stale snapshot, for example after a rejected token, keeps its bars but hides the pace row. A rate that improves as the data ages would mislead you.

A new environment variable, DISPATCH_USAGE_URL, points the usage fetch at a local stub. It exists for testing recorded Enterprise and Teams payloads. The bearer token goes to whatever host you name, so treat it like any other value in your shell environment.

Known limits

The credit budget's period is a calendar month by assumption. The endpoint returns no billing boundaries, so a plan that bills on another day shows a month that starts on the 1st. The projection is linear. A burst of usage early in a window reads as Will run out until the rate settles.

Upgrade notes

There is no configuration step. Restart the running Dispatch after you upgrade. The first boot runs the session history migration once, with no operator action.

Full changelog: https://github.com/theyashgupta/dispatch/compare/v3.5.1...v3.6.0

Requires Node ≥ 22.22, tmux, ttyd, git, and the Claude Code CLI. Setup is in the README.

View this release on GitHub