For the complete documentation index, see llms.txt. A markdown version of this page is at /reference/cli/commands/usage/index.md.

Usage report

Read how long your workstations and Edge VMs ran, and the model tokens and network bytes they used, per UTC day, see an estimate of what they cost, and download a month as CSV.

Ringleader records what each workstation and each cloud Edge VM used, per UTC day: the hours it spent running, stopped and in between, the model requests and tokens it used, and the bytes it sent and received. rl usage reads those records for a namespace, an organization or everything, as a table, JSON or CSV. Every number is a quantity, such as hours, tokens or bytes. With --cost, rl usage also prices those quantities at list price, so you can see roughly what the virtual machines, disks, buckets and model tokens cost before the bills arrive.

rl usage                                                # your namespace, the last 30 days, one row per workstation
rl usage --by user                                      # the same window, one row per owner
rl usage --org acme --month 2026-10 --csv > acme-2026-10.csv   # one month of an organization, as CSV
rl usage --by user --cost                               # the same window per owner, with an estimated cost

A day’s numbers can change until 5 days after the day ends, so rl usage shows only the days that are final unless you pass --include-open. Before you export a month, check that its last day is final, as Download a month as CSV shows.

If that is all you need, you are done. The rest of this page covers the table and CSV columns, the estimated cost, who can read whose usage, and every flag. Usage and cost explains what the hours and the estimate count.

Table columns

The first line names what was read and the UTC days it covers. The second line says the last day that is final. Then comes one row per group:

rl usage --org acme --month 2026-10 --by user
Usage in organization acme by user, 2026-10-01 .. 2026-10-31 (UTC days)
Final through 2026-11-04. Later days are not shown; pass --include-open to see them.

NAME                 RUNNING-H  STOPPED-H  NOT-CHARGED-H  REQUESTS    INPUT  OUTPUT  CACHE-READ  CACHE-WRITE  THINKING  EDGE-OUT    EDGE-IN   WS-OUT      WS-IN
-------------------  ---------  ---------  -------------  --------  -------  ------  ----------  -----------  --------  --------  ---------  -------  ---------
user:alice@acme.com      112.4      548.1            1.3      1840  2310455  412870    18402331       902114    120554   4823110  912004833  5012334  931220118
user:bob@acme.com         64.0      679.4            0.6         0        0       0           0            0         0   1203344  288410022  1250981  290114770
-                        744.0        0.0            0.0         0        0       0           0            0         0         0          0        0          0

EDGE-OUT and EDGE-IN are bytes an Edge counted. WS-OUT and WS-IN are bytes the workstations reported about themselves. They are never added together.

An Edge VM has no owner, so with --by user it sits on the row named -. Each column holds this:

ColumnWhat it shows
NAMEWhat the row is grouped by (see Row grouping), or - when the row has no value for it.
STATEfinal or open. Shown only with --include-open.
RUNNING-HHours in the Running bucket, to one decimal place.
STOPPED-HHours in the Stopped bucket.
NOT-CHARGED-HHours in every other phase.
REQUESTSModel requests Ringleader counted.
INPUT, OUTPUTInput and output tokens of those requests.
CACHE-READ, CACHE-WRITETokens read from and written to the provider’s prompt cache.
THINKINGReasoning tokens.
EDGE-OUT, EDGE-INBytes an Edge counted leaving and entering the workstations.
WS-OUT, WS-INBytes the workstations reported their own network interfaces sent and received.

The token columns count the model calls Ringleader sees. Those are the calls a workstation makes through an Integration with source: ringleader and the calls a cloud Edge counts, as The LLM setting describes. When some of those requests reported no token counts Ringleader could read, a line under the table says how many, and their tokens are not in the columns.

Hour buckets says which workstation phases each hours column counts, and Final days says when a day’s numbers stop changing.

Download a month as CSV

An organization admin downloads one month for the whole organization like this:

rl usage --org acme --month 2026-10 --csv > acme-2026-10.csv

A month export without --include-open leaves out every day that is not final yet, and the CSV has no line that says so. The last day of a month closes on the 6th of the next month, UTC. So export a month on or after that day, and first run the same command without --csv:

rl usage --org acme --month 2026-10

When its second line says Final through 2026-10-31 or a later day, the export holds every day of the month. Nothing is sent to you on a schedule, so run the export yourself.

An adjustment row counts in the month it was written, so an October export holds the corrections found in October, each with the day it corrects. A correction found in November to October 30 is in the November export.

The CSV has one header row, then a row per group. These are its columns:

ColumnWhat it holds
sourcecharged for what Ringleader measured, or device report for what a node-bound workstation’s device reported.
nameWhat the row is grouped by. Empty when the row has no value for it.
kindWorkstation or Edge with --by workstation, and empty otherwise.
adjustedDayThe closed day an adjustment row corrects. Empty on an ordinary row.
finaltrue or false. Without --include-open, every row is true.
runningSeconds, stoppedSecondsSeconds in the Running and Stopped buckets.
pendingSeconds, provisioningSeconds, postInstallSeconds, startingSeconds, stoppingSeconds, failedSeconds, terminatingSecondsSeconds in each Not charged phase.
notRunningSecondsSeconds an Edge VM existed and was not running.
unknownSecondsSeconds in a phase Ringleader could not read.
requests, unmeteredRequestsModel requests counted, and how many of them reported no token counts Ringleader could read.
inputTokens, outputTokens, cacheReadTokens, cacheWriteTokens, reasoningTokensToken counts.
edgeEgressBytes, edgeIngressBytesBytes an Edge counted leaving and entering the workstations.
workstationEgressBytes, workstationIngressBytesBytes the workstations reported their own interfaces sent and received.

The CSV carries whole seconds, where the table shows hours. A device report row leaves its token and byte cells empty, because a device reports hours only. A name that starts with =, +, - or @ gets a leading ', so a spreadsheet does not run it as a formula.

Estimated cost

--cost adds an estimated cost to the table, the CSV and the JSON. It prices machines, disks, external IP addresses and buckets at your cloud’s public list price, and model tokens at the model vendor’s. The amounts are in US dollars unless --currency names another currency by its ISO 4217 code:

rl usage --org acme --month 2026-10 --by user --cost
rl usage --org acme --month 2026-10 --by user --cost --currency EUR

The table gains a line under its heading, which names the currency and the days the prices took effect, and eight columns at the end of each row. This is the first command’s table, with the quantity columns from Table columns left out:

Usage in organization acme by user, 2026-10-01 .. 2026-10-31 (UTC days)
Final through 2026-11-04. Later days are not shown; pass --include-open to see them.
Estimated at list price in USD, prices as of 2026-09-14, 2026-10-20, model prices as of 2026-11-02. Your cloud bill is the record. Long-context and priority tiers are priced at the base rate. A cache write with no recorded lifetime is priced at the shorter lifetime rate for its model. Calls to a host nothing counts are priced nowhere when they come from a session something else measured, or from a workstation and day something else measured. Tokens from Edge batches that arrived after their day closed are in no amount and no list. Tokens in a session's token rows that retention pruned while its session row stayed are in no amount and no list.

NAME                 COMPUTE  DISK    IP  STORAGE  TOKENS  TOTAL  SUBSCRIPTION  REPORTED
-------------------  -------  ----  ----  -------  ------  -----  ------------  --------
user:alice@acme.com    21.87  9.12  0.56     0.00   14.20  45.75         25.50      0.00
user:bob@acme.com       0.00  6.40  0.32     0.00    0.00   6.72          0.00      2.15
-                      24.46  0.82  3.72     0.00    0.00  29.00          0.00      0.00

TOTAL includes only the tokens an API key paid for. SUBSCRIPTION is what the tokens a subscription paid for would have cost at list price, and REPORTED is the list price of what agent sessions reported where nothing measured them. Both are outside TOTAL.

Not priced, so left out of the amounts above, which are a lower bound:
  user:alice@acme.com: no price for this model: 120400 API-key tokens
  user:bob@acme.com: custom machine type: 64.0 vm hours

Each cost column holds this:

ColumnWhat it prices
COMPUTEThe hours a workstation’s or an Edge VM’s machine ran, by machine type and region.
DISKA workstation’s root disk or an Edge VM’s boot disk, by size and type, for the hours it existed.
IPThe external IP address, for the hours the machine ran with one.
STORAGEBytes kept in Storage buckets. A bucket is priced on its own row in the Storage section below the table, in a COST column, so the daily rows show 0.00 here.
TOKENSThe model tokens an API key paid for. See Model token pricing.
TOTALThe sum of COMPUTE, DISK, IP, STORAGE and TOKENS. Each is rounded to cents first, so the columns add up to it.
SUBSCRIPTIONWhat the model tokens a subscription paid for would have cost at list price. It is not in TOTAL, because a subscription is a flat fee.
REPORTEDThe list price of the tokens agent sessions reported where Ringleader counted none of their calls. Model token pricing says which reports count. It is not in TOTAL.

A control plane older than token pricing answers with no token amounts, and the table shows - in TOKENS, SUBSCRIPTION and REPORTED.

Anyone who can read the usage can read its cost, with the same scope. Rows under Reported by devices have no cost, because a node-bound workstation runs on a person’s own computer. If the control plane you read keeps no prices, rl usage --cost exits 1 with cost reporting is not available on this control plane. A control plane older than --cost answers with quantities only: the table and the CSV exit 1 with the same message, and --json prints the answer without cost or costBasis.

Usage and cost explains the estimate: what it leaves out, which resources are priced on each cloud, how model tokens are priced and how prices and exchange rates are chosen. Comparison with your bill says how an estimate compares with your bill, and Open days and cut answers says what an open day shows.

Unpriced quantities

When the estimate cannot price a quantity, rl usage lists it under the tables with its row, the reason and its amount, and leaves it out of every amount. A total above such a line is the least that row cost. A token amount carries one of three labels. subscription tokens and reported tokens name the column the tokens would have gone to. API-key tokens names TOKENS, and it is also the label of counted tokens whose payer Ringleader does not know, under credential kind unknown, no model recorded and day not copied yet. These are the reasons you can see:

ReasonWhat it means
AWS pricing is not built yet, Azure pricing is not built yetThe workstation, Edge VM or bucket is on AWS or Azure.
no GCP price listThe control plane holds no GCP prices: it has not read GCP’s price list yet, or it has no Google Cloud credentials to read it with. Ask its operator.
provider unknown, no price list for provider <name>Ringleader did not record which cloud the row ran on, or it ran somewhere other than GCP, AWS or Azure.
machine type unknown, region unknownRingleader did not record the machine type or the region for those hours.
machine shape unknown, GPU count unknownRingleader has not read the machine type’s vCPUs, memory or GPU count yet. Those hours are priced once it has, final days included.
custom machine type, legacy machine type, accelerator typeThe machine type is a custom one, f1-micro or g1-small, or has GPUs.
disk size unknown, disk type unknown, disk type <type> is not pricedRingleader did not record the disk’s size or type, or the type is not one of the four GCP types above.
public address not recordedRingleader did not record whether the machine had an external IP, so its IP hours are not priced.
no price for <item>, no price that day for <item>GCP’s price list has no price for that item in that region, or had none on that day.
bucket location unknown, conflicting bucket locationsNo Storage object in the namespace names the bucket with a location, or two of them name different locations.
bytes have no namespace or bucketThe bytes are in the unattributed totals a global admin reads, which belong to no bucket.
no daily readingsRingleader has a bucket’s total for the window but no reading for each day, which it needs to price it.
no price for this model, no price that day for this modelRingleader’s model price table has no price for the model, or had none on that day. A model name the table does not recognize gets this reason too. So does a call that went through a provider other than the model’s vendor, such as OpenRouter.
credential kind unknownRingleader counted the call but could not tell whether an API key or a subscription paid for it. A call to a custom provider’s host gets this reason.
no model recordedRingleader has the tokens but not the model they were for. These are tokens counted on a day copied before Ringleader kept the model, or tokens a session reported without naming a model.
day not copied yetShown only with --include-open. The day’s token counts are not copied yet, so Ringleader cannot tell yet which calls it counted. They are priced once the day is final.

An n1 machine with a GPU attached when it was created records only its n1 machine type. The estimate prices it as a plain n1 machine, which is lower than its cost.

Cost in CSV and JSON

With --csv, these columns are added at the end of every row:

ColumnWhat it holds
currencyThe currency of the amounts.
estimatedListPriceComputeCost, estimatedListPriceDiskCost, estimatedListPriceIpCost, estimatedListPriceStorageCost, estimatedListPriceTotalCostThe table’s COMPUTE, DISK, IP, STORAGE and TOTAL, written without trailing zeros: 6.4 where the table shows 6.40.
unpricedCountHow many quantities in the row were not priced.
unpricedReasonsEach one with its amount and reason, such as 64.0 vm hours: custom machine type, separated by ; .
estimatedListPriceApiKeyTokenCost, estimatedListPriceSubscriptionEquivalent, estimatedListPriceReportedTokenCostThe table’s TOKENS, SUBSCRIPTION and REPORTED. Empty when the control plane is older than token pricing.

A device report row leaves all eleven cells empty. When some token cost fits no row, one more row follows the group rows. Its source is token-cost-unplaced and its name is (no group), so find it by its source. It fills the currency, the three token amounts, the total and the two unpriced cells, and leaves the rest empty.

With --json, each group carries a cost object with the same amounts and an unpriced list. Its token amounts are apiKeyTokens, subscriptionListPriceEquivalent and reportedNotMeasured, and each is left out when it is zero. The token cost no group could hold is the answer’s tokenCost. The answer also carries a costBasis object. Its priceDays and rateDays are the days the table’s line names, modelPriceDate is the date of the model price table, and tokenNote holds the sentences the line ends with. sourceRefreshed is the last day each price list was read, so you can see when a list has stopped updating.

Cost of agent sessions

With --sessions, --cost prices each session’s tokens:

rl usage --sessions --by user --cost

The table adds four columns to the end of each session row: TOKENS, TOTAL, SUBSCRIPTION and REPORTED. They hold what the daily table’s columns of the same names hold, for the session’s tokens alone. A session has no machine, disk, address or bucket, so its TOTAL is its TOKENS.

A session is priced from the calls Ringleader counted for it. If Ringleader counted none, the session’s own report is priced into REPORTED. The agent’s report and Ringleader’s count can differ, so a session’s cost can rest on different numbers from the reported tokens in its row. Counting calls per session can miss some, so the table says under it that a session’s token amounts are best effort.

Here, unlike the daily table, Ringleader does not check the calls it counted for the session’s workstation. So a session whose calls were counted only for its workstation shows a REPORTED amount here and none in the daily table.

A session has a cost once the day it ended is final. With --include-open, a session that ended on a day that is not final yet is listed as not priced, with the reason day not copied yet. Sessions under Reported by devices are never priced. Session tokens that fit no row go to the Token cost no group could hold line and the token-cost-unplaced CSV row, as in the daily table.

With --csv, each session row ends with these columns: currency, estimatedListPriceApiKeyTokenCost, estimatedListPriceSubscriptionEquivalent, estimatedListPriceReportedTokenCost, estimatedListPriceTotalCost, unpricedCount and unpricedReasons. A device report row leaves them empty. With --json, each session group carries a cost object with the currency, the three token amounts, total and unpriced.

Edge bytes and workstation bytes

Ringleader keeps two byte counts for each workstation, from two sources:

  • EDGE-OUT and EDGE-IN are what an Edge counted for the workstation’s connections through it.
  • WS-OUT and WS-IN are what the workstation reported about its own network interface.

In both pairs, out is bytes leaving the workstation and in is bytes entering it. A workstation with no Edge shows 0 in the Edge columns, and a workstation that reports no number of its own shows 0 in the workstation columns. Two byte counts says why the two pairs are never added together and why the workstation’s number is only a usage figure.

Agent sessions

--sessions shows what each agent session reported about itself, in place of the daily totals: its run time, tokens and bytes. These are the agent’s own numbers. Ringleader did not measure them, and they are never added to the measured usage.

rl usage --sessions --by user

The table has the columns RUN-H, INPUT, OUTPUT, CACHE-READ, CACHE-WRITE, THINKING, BYTES-IN and BYTES-OUT. A dash means no session in the group reported that number. In CSV the columns are source (agent report or device report), name, kind, final, runSeconds, inputTokens, outputTokens, cacheReadTokens, cacheWriteTokens, reasoningTokens, bytesIn and bytesOut, and a number no session reported is an empty cell.

Ringleader records a session when it stops, finishes or fails, and updates that record if the session runs again. Each session is one running total for its whole life, not a count per day. --by day and --by month place a session on the UTC day its numbers last grew. With --by workstation, each row is named by the workstation’s uid. A session has no labels, so --sessions with --by label is refused.

Row grouping

--by decides what one row sums:

--byOne row perNAME shows
workstation (default)Workstation or Edge VMThe name and uid, such as alice-dev (<uid>). An Edge VM’s name ends with (edge).
userOwnerThe owner, such as user:alice@acme.com. Edge VMs have no owner and show -.
namespaceNamespaceThe namespace’s name and uid.
orgOrganizationThe organization the namespace belonged to on that day.
labelValue of the label key --label namesThe value, or - for workstations without the key.
dayUTC day2026-10-14
monthUTC month2026-10

A row keeps up to 16 of a workstation’s labels, the first in key order, as they stood at the end of the day. Labels whose key starts with ringleader.dev/ are not kept.

rl usage --by label --label team

Time window

The window is the last 30 days unless you name one, and it always widens to whole UTC days.

  • --month 2026-10 reads one UTC calendar month.
  • --since and --until each take an RFC 3339 time, such as 2026-10-01T00:00:00Z, or a Go duration back from now, such as 168h for seven days. A day unit such as 7d is not accepted, and neither is a negative duration.
rl usage --since 168h                                   # the last seven days
rl usage --since 2026-10-01T00:00:00Z --until 2026-10-15T00:00:00Z

Usage access

What you see depends on your role and on the flag that names the scope:

You areRunYou see
A member of the namespacerl usage -n <namespace>Your own workstations only. Edge VMs never appear.
A namespace-admin, or anyone who holds the usage verb on workstations in the namespacerl usage -n <namespace>Every owner’s workstations in the namespace, and its Edge VMs.
An org-adminrl usage --org <org>Everything recorded under the organization, across all its namespaces.
A global-adminrl usage --allEvery organization.

An org-admin holds the usage verb in every namespace of the organization, so -n shows them every owner’s rows there too. --org needs the verb from an OrgRoleBinding on that organization, as Reach of a role binding explains, and a role that grants usage only on the caller’s own workstations does not open --org or --all. The roles are in Built-in roles. Every read is recorded in the control plane’s audit log.

Each row keeps the organization its namespace belonged to when the usage happened. If a namespace moves to another organization, -n shows only the days recorded under its current organization. The earlier days stay with the old organization and appear in its --org read. A namespace that is deleted and created again under the same name starts with no usage: the earlier namespace’s rows are not shown to it.

Flags

FlagDescription
-n, --namespace <ns>Namespace. Defaults to the namespace you selected with rl namespace use, or the one you signed in to.
--org <org>Read one organization, named as rl org get lists it.
--allRead every organization. Global admins only.
--by <grouping>workstation (default), user, namespace, org, label, day or month.
--label <key>The label key to group by. Only with --by label, which needs it.
--since <time>Start of the window: an RFC 3339 time or a Go duration back from now, such as 168h.
--until <time>End of the window, in the same forms.
--month <YYYY-MM>One UTC calendar month, in place of --since and --until.
--include-openAlso show the days that are not final, each marked open.
--sessionsShow the agent sessions’ own reports in place of the daily totals.
--costAdd an estimated cost at list price to each row (see Estimated cost).
--currency <code>The currency of --cost, an ISO 4217 code such as EUR. Defaults to USD.
--csvPrint CSV.
--jsonPrint the answer as JSON. Its finalThrough field is the last final day.
--as <subject>Impersonate a subject.
--home <dir>Data directory.

rl usage exits 2 when it cannot work out what to read:

  • --org with --all, or --namespace with either of them.
  • --json with --csv.
  • --month with --since or --until, or a --month that is not YYYY-MM.
  • A --by value not in the list, --by label without --label, or --label without --by label.
  • --sessions with --by label.
  • --currency without --cost, or a --currency that is not three letters.
  • A --since or --until that is not an RFC 3339 time or a non-negative Go duration.
  • No namespace to read: pass -n, or select one with rl namespace use.

It exits 1 when the control plane refuses the read or cannot answer it. If the control plane keeps no usage records, rl usage prints usage reporting is not available on this control plane. With --cost, it also exits 1 when the control plane keeps no prices, or holds no exchange rate for the --currency you named.

One answer holds at most 10,000 rows in each list. When there are more, rl usage prints the answer was cut at 10000 groups to stderr, and --json sets truncated to true. Narrow the window, the scope or the grouping and read again.

Note

Ringleader keeps daily usage for 400 days by default, and the operator of your control plane can change that. Download the months you need to keep for longer.

Next steps