Skip to content
Select themeSelect language

Track usage and budget

SupaCloud tracks two different things that limit how much agent work a workspace can do, and shows them in two separate surfaces:

  • Subscription saturation — for providers connected via an OAuth subscription (a prepaid plan with rolling usage windows). You watch how full the windows are, not what you spend.
  • Dollar budget — for providers billed per token via an API key. You set a monthly USD cap and watch the spend against it.

The saturation gauges live under Settings → Workspace, and the dollar-budget card lives there too. A workspace that only uses API keys sees only the budget surface; a workspace with a subscription also sees the saturation gauges.

The Reports section in the sidebar is the home for everything you measure about a workspace. Its tabs are:

Tab What it shows
Overview Period-selectable charts that break down agent work
Usage The same per-provider subscription saturation and budget figures
Delivery The agent-profile delivery overview
Audit The audit event log
Operations The tenant operability view (dispatch metrics, routing, circuit breakers)

The Usage tab is where the per-provider figures described below live. Open Reports → Usage to read them in the UI, or use the usage and budget web-terminal commands shown in the later sections.

Reports → Overview charts agent work across a period you select (for example the last day, week, or month). The breakdowns are:

  • By agent — work attributed to each agent profile.
  • By model — work attributed to each model.
  • By run kind — for example interactive task, workflow, or backlog run.
  • By project — work attributed to each project.

Each task also reports the lines of code (LOC) produced, captured by the runner, so the Overview can show LOC alongside cost and run counts.

The Overview reads GET /api/reports/overview.

Each connected subscription provider renders one gauge per usage window. A window is a rolling allowance that refills on a schedule:

Window What it measures
5-hour window The rolling 5-hour allowance
Weekly The rolling weekly allowance
Monthly The rolling monthly allowance (when the plan has one)

Each gauge shows:

  • A fill bar with the percentage of the window consumed.
  • A refresh countdownResets in Xh Ym, or Resets soon when a window is due imminently.
  • An Estimated tag when the figure comes from telemetry rather than a hard limit reported by the provider — treat it as a lower-confidence estimate.

The bar colour is the saturation band:

Band Meaning Colour
Under the throttling band Comfortable headroom Primary (teal)
Throttling soon Within the throttling band — slow-downs are near Warning (amber)
Exhausted The window is at or over 100 % full Error (red)

The same subscription windows are available in the web terminal:

usage

It lists each subscription window with its fill percentage and an exhausted, throttling soon, or refresh in Xm marker. An API-key-only workspace is told to use budget instead; a non-admin caller is told the view is admin/owner-only.

The AI Budget card controls the monthly dollar cap and spend for API-mode (per-token) agents.

  1. Open Settings → Workspace and find the AI Budget card. It shows This month (spend so far), Remaining, and a Status badge (OK / Warning / Critical / Blocked / Unlimited).

  2. Set the Monthly USD cap. Leave it empty for an unlimited (uncapped) budget.

  3. Optionally set the Warning % and Critical % thresholds (when the status badge flips), the comma-separated Alert thresholds (e.g. 50,80,100) that fire notifications, and per-provider caps under Provider caps.

  4. Toggle Hard stop at cap on to block new API-mode runs once the cap is reached, or off to let them continue past the cap with the status only.

  5. Click Save budget.

You can also read the budget from the web terminal:

budget

It prints the status, the month spend against the cap, the remaining amount, any per-provider spend, and active alerts.

Subscription window Dollar budget
Applies to OAuth-subscription providers (prepaid plans) API-key providers (pay-per-token)
Limited by Rolling usage windows (5-hour / weekly / monthly) A monthly USD cap
You watch How full a window is (the saturation gauges) How much you spend against the cap
At the limit Runs pause and auto-resume on refresh Runs are blocked (when hard stop is on) or continue with a status
Surface Usage & saturation panel (admin/owner) · usage AI Budget card (all members) · budget

In short: a subscription is metered by time windows that refill, so you manage it by reading saturation and timing your work; an API key is metered by money you spend, so you manage it by setting a cap.