shadok-ai
All pages

Docs / Core concepts / Quota and pace

Quota and pace

Every agent consumes your Claude quota like a normal session. Five agents working is five sessions' worth of usage. That is the one cost model to keep in mind, and the cockpit puts it on screen rather than letting you find out at the end of the week.

The gauges

Both subscription windows, live: the 5-hour one and the 7-day one. The bar's centre is the pace that would spend the window exactly as it elapses, so the question it answers is not "how much is left" but "am I ahead of the clock".

Beside them, each agent carries a context bar — how full its conversation is, measured against the window the model actually asked for, so an agent on a long-context model is metered against that.

When the gauges stay blank

An instance whose agents run on a token minted with claude setup-token cannot read usage: that token carries the right to run the agents and nothing else, so the endpoint behind the gauges answers without any window and the bars stay empty. The remedy is a second sign-in used only for the gauges — the version menu's 📊 Set up usage gauge login…, then the usual claude.ai code. The agents never touch it: it lives in a credentials store of its own.

Sign in with the account the agents actually run on, or the gauges — and the pace guard reading them — will measure somebody else's week. Anthropic fixes that sign-in at about a month and refreshing it never extends it, so you renew it roughly monthly; the version menu carries the date and a banner reminds you five days ahead. The row is hidden on macOS, where Claude Code keeps its credentials in the keychain rather than in the file this reads.

Which agent is spending it

The gauges above are the whole subscription. For one agent's share, open its ⋯ menu and pick 📊 Stats: its token use over the last hour, 24 hours, 7 days and 30 days, each window split in a tooltip into input, output, cache-write and cache-read. The same view shows how long the agent has been up — the session's age, which survives a restart — and when it last respawned, which is the running process.

The header's own ⋯ menu totals those windows across every agent you can see — your groups if you are a member, the whole instance if you are an admin — so the fleet figure never shows you work you are not allowed to look at.

The token counts are real — the per-message figures the API itself reported. Only the cost beside them is notional, and notional is the word that carries the meaning: shadok drives your Claude subscription, not the API, so nothing is billed per token. That figure prices those tokens at Anthropic's API list rates, which makes it a fair way to compare two agents and not an invoice.

A delegating agent is not billed as if it worked alone: the children it hands work to write transcripts of their own, and their tokens are counted back onto the parent. Without that, a lead that mostly delegates would look implausibly cheap.

The scope is each agent's current session, so work done before a resume is not in the window. The numbers are read once when you open the view; the instance total sums the live agents from memory and reads a dormant one's transcript — and its children's — a single time, keeping it until the file changes, so neither view stalls the cockpit.

The pace guard

Turn it on and a prompt is refused when usage has run ahead of the ideal pace. The agent is not killed and nothing is lost: the prompt is held, you are told, and anything can force through when you mean it.

Two consequences worth knowing:

The way out

An agent on a model you host yourself spends nothing of your subscription, so it is never held by the pace guard and needs no Claude sign-in. Pointing one role at a local model and leaving the rest on the subscription is a profile away.