Skip to main content

Understanding the numbers

Exactly what each figure on the dashboards means, and how it's calculated. (First read How RTK works for where the raw numbers come from.)

The three token counts​

Every command reports three numbers:

  • Tokens in — the command's raw output, what the AI would have read without RTK.
  • Tokens out — what RTK printed instead, which is what the AI read.
  • Tokens saved — what RTK removed (tokens in − tokens out), capped at what the AI would really have read: Claude Code itself cuts very long outputs to a short preview.

"Read" = tokens out. "Raw" = tokens out + tokens saved.

Noise purged & the "% purged" gauge​

  • Noise purged = the sum of tokens saved over the period.
  • % purged = saved ÷ (saved + out) = saved ÷ raw. It's the share of the command output that RTK stripped out before the AI read it. A gauge at 84% means 84% of what would have hit the model was noise RTK removed.

LLM cost avoided ($)​

The headline dollar figure estimates what you didn't spend:

  • Cost avoided — each saved token priced on the requests that would have carried it: when the output first reaches the model, then on every later request of the conversation that reads it again, at your model's real rates.
  • Cost with RTK — the tokens the AI read (tokens out), priced the same way.
  • Cost without RTK — the sum of both.

Details worth knowing:

  • Token counts come from your devices, estimated as bytes ÷ 4. Before pricing, they're converted to your AI provider's tokens with a ratio measured on your organization's own requests, or a default per model when there are too few.
  • A saving that can't be linked to its requests (no local proxy or daemon, older CLI) is priced once at the model's input rate. If the model is unknown (or not in the pricing table), a default rate of $3 per 1M input tokens is applied.

:::note "Savings %" covers command output The savings percentage is cost avoided ÷ cost without RTK, on command output only — not your whole AI bill. Spend analysis compares savings with the whole bill. :::

Per-command: compression & impact​

On the By command tab:

  • Compression ratio = how much of that command's raw output RTK purged (0–100%): saved ÷ (saved + out). git diff at 85% means 85% of its output was noise.
  • Impact = that command's saved tokens as a percentage of your single highest-saving command. The top command is always 100%; it tells you where the big wins are.

Totals & periods​

  • Total commands = the number of usage events in the window (a straight count).
  • Period selector: daily = last 24 h, weekly = 7 days, monthly = 30 days, quarterly = 90 days (rolling windows).

By developer​

Grouped by the account that ran each command. If pseudonymization is on (the org default is off, but it fails safe to on if unset), developers appear as "Dev 1, Dev 2…"; turn it off in Settings → Privacy to show real names. Commands run under a shared machine token (no personal login) all collapse into a single "Anonymous"/"agent" row — see Sign in.

Consumption chart​

  • Consumed and saved per time bucket (consumed = in + out, saved = tokens saved).
  • The budget line is your monthly token budget (Settings) spread evenly across buckets — the sustainable per-bucket rate that would exactly exhaust the budget over a 30-day month.
  • The forecast is your current run-rate extrapolated to a full 30-day month, so you can see if you're trending over budget.

Savings opportunities (Discover)​

  • Potential savings = tokens you could have saved on commands that ran outside RTK. Newer CLIs report the estimate directly; otherwise a built-in table estimates it (e.g. a bypassed git status ≈ 180 tokens, git diff ≈ 500, cat ≈ 200).
  • Cost saveable = those potential tokens priced at roughly $15 per 1M (an approximate premium-model input rate) — a "leave nothing on the table" figure.

Two honest caveats​

  • Tokens saved is measured by the CLI — the cloud caps it at what the AI would have read and converts it to your provider's tokens, but the measurement itself is as good as your rtk version's.
  • Very long, very high-volume windows are capped at 100,000 events server-side, so a 90-day view on an extremely active org can slightly undercount the tail.