RimZ
ReferenceCLI

Providers CLI

rimz providers queries the account-global provider picture RimZ shows in the sidebar: login status, plan and version, included rate-limit windows, paid and reset credits, published spend, and configured daily-cap state. It works inside or outside a room and reads only provider credentials and RimZ's user-scoped shared caches.

rimz providers                    # providers with a login, last-known account, or spend
rimz providers codex              # filter the default report to one provider kind
rimz providers --all              # include logged-out and empty registered providers
rimz providers claude --refresh   # force fresh account and usage reads for Claude
rimz providers --json             # stable report array for scripts
Argument or flagEffect
KINDKeep one registered provider kind; an unknown kind fails with the known-kind list
--jsonEmit the stable JSON report array instead of human-readable provider blocks
--refreshBypass account and account-usage TTLs for this invocation
--allInclude logged-out and empty registered kinds; without it, a kind needs a login, last-known account, or recorded spend

Human output

Each provider block starts with Name — Plan · status; its aligned detail rows always begin with version: v…, or a faint dash when the version is unknown.

Codex reset credits render as a count followed by up to the soonest three known expiry instants. Each bullet uses YYYY-MM-DD HH:MM:SS ±HH:MM in the configured machine timezone plus in <interval>, or due once the deadline passes. A cached count with only the legacy earliest-expiry summary renders that one deadline until the next refresh supplies per-credit detail.

Paid-usage, spend, and budget rows apply the money tone only to formatted dollar tokens; surrounding labels, intervals, separators, /day, and parked stay in the normal body tone.

Freshness

A plain query uses the sidebar's refresh semantics: each successful or logged-out account probe stays cached for its normal TTL, unavailable probes retry on their shorter TTL, and each logged-in provider's direct usage query runs only when its own durable cadence is due. The account and usage paths are single-flighted across rooms and concurrent CLI calls.

--refresh makes every registered account probe due and invalidates the selected logged-in providers' direct-usage cadence before reading them. It still uses the same single-flight claims and cache publications, so concurrent refreshes do not stampede a provider.

Provider spend is always the last published provider-spending.json value. This command does not start the transcript spending walk; a cold cache leaves spending absent until rimz stats or a room producer publishes it.

JSON fields

The document is an array in display order: providers with dashboard panels retain the dashboard's usage ranking, then providers without panels follow registry order.

FieldMeaning
kind, product_nameStable adapter kind and product display name
statuslogged_in, logged_out, or unavailable; an unavailable probe may retain last-known account facts
probed_atAccount probe timestamp in RFC 3339 form, or null before the first probe
plan, plan_labelRaw provider plan tier and its formatted display label
account_id, sub_provider, account_scopeNon-secret provider identity and typed kind-wide or sub-provider scope
metered, versionSubscription-window metering state and agent CLI version
windowsIncluded quotas with usage percentage, reset, duration or named scope, provenance, and lifted state
extra_credits, reset_creditsPaid/API credit facts and redeemable reset-credit facts
reset_credits.count, .soonest_expiry, .expiriesProvider-reported available count, earliest available expiry summary, and the additive sorted list of every known valid available-credit expiry; old caches and clients may omit expiries
spendingPublished headline, 7-day, 30-day, and 365-day spend/token tally
day_budgetConfigured provider daily cap, current local-day spend, and parked state
active_sessionsCurrently bound root panes for this provider; zero outside a room-backed panel

Account credential fingerprints and credential material are excluded from both output formats.

On this page