Product
Industries
Roles
Research
Resources

Spend

The model invoice lands as one number per vendor, and finance wants to know which team spent it and what it bought. Oxagen prices each model call your agents make and adds it to the run, the person who started it, the workspace, and the work item. Spend reads that record across every workspace you can open.

How Oxagen reads the bill down to the work

Every model call an enrolled agent makes is recorded with its tokens, its model, and its price. Oxagen adds that cost to the run, the agent, the person who started it, and the work item the run serves, so a total on the page is the sum of calls you can open.

The report opens with one sentence and four figures: spend, cost per merged change, wasted spend, and cost per run. Spend over time splits each day by kind of work, run, operator, agent, or model, against the same span a month earlier.

How spend moves from workspace to work

A platform lead asks where the money went between the payments team and the model vendor. Spend flow answers in one drawing: each workspace to its operators, their harnesses, the models they ran, and the kinds of run, with a band as wide as the spend it carries.

Press a node to filter the whole report to it, or a band to filter to both of its ends. Each column keeps its five largest values and folds the rest into one Other node.

Spend flow with illustrative data: $3,684,120.55 moving from 38 workspaces through 1,212 operators, their harnesses, and four models to five kinds of run.

From each workspace to the kind of run

How spend splits by workspace and harness

Chargeback needs a table, not a picture. The pivot puts any two dimensions against one value: workspace by harness, operator by model, or kind of work by outcome, with spend, change, cost per merged change, runs, or wasted share in each cell.

The top ten rows and five columns show, and the rest add up in Other, so every total stays true. Save the table as a CSV or an SVG from the panel's menu.

The Spend pivot with illustrative data: spend for Acme's ten largest workspaces and the other 28 against Claude Code, Codex, Stella, the Agent SDK, and other harnesses, with row and column totals.

Workspace by harness

How each cost is measured

Who observed each figure
BasisMeaning
Gateway observedThe Oxagen gateway carried the model call and read the provider's usage.
Agent reportedThe agent's harness reported the usage and Oxagen priced it.
MixedSome calls in the figure came from each source.
EstimatedNo recorded price covered the model, so the figure is an estimate.

What each merged change costs

Spend on its own says nothing about value. Spend and outcomes sets each day's spend by kind of task beside the runs that merged, so cost per merged change sits next to the bill.

In the illustrative month, 21,480 of 164,212 runs merged a change, at $171.51 each, down 10% from the 30 days before.

The Spend and outcomes report with illustrative data across 38 workspaces: $3,684,120.55 of spend and 21,480 merged changes at $171.51 each.

Spend beside what merged

How budgets stop spend before it lands

A report tells you what was spent. A budget decides what may be spent next. Set a ceiling for the organization and for each workspace, monthly or over a rolling window, and Oxagen refuses new model calls once an enforced ceiling is reached.

Guardrails shows each workspace's budget beside the organization's, with what is spent, what is left, and where spend will land by the end of the period.

The Budgets tab under Guardrails with illustrative data: the workspace's monthly ceiling and the organization's, each with its spend and what is left.

Ceilings for the workspace and the organization

How Oxagen forecasts the cost of open work

Next quarter's budget starts with the work already open. Roadmap cost forecast prices each open work item from its agent minutes estimate and what past runs of its size cost per minute, then draws 2,000 simulated roadmaps for a likely range.

Each workstream gets its median and its range, so a planner can see which part of the roadmap carries the money before an agent starts.

The Roadmap cost forecast report with illustrative data: the median cost of the open work, its likely range, and each workstream's share.

What the open work will likely cost

Where spend bought no progress

Some of the bill bought nothing: a run that called one tool with the same input nine times, a cache rewritten on every turn, a tool result carried through a whole context. Oxagen reads each run's record for these patterns and adds up wasted spend by family, by day, and by operator.

The wasted spend total counts each call once, and only calls the record shows bought no progress. A finding you dismiss leaves the total, and the calls it cited stay in recorded spend.

The Findings panel with illustrative data: $412,880.14 of wasted spend, 11.2% of the span's spend, split by finding family over 30 days and by operator, beside the open findings.

Wasted spend by family and by operator

How each finding names its fix

A finding says what happened, how sure Oxagen is, the runs it cites, and the change that fixes it, with the saving a month the fix would bring. Open its evidence to see each cited call and what it would have cost the other way.

A saving is an estimate of what the fix could save. It is not a saving already made, and it never adds to wasted spend.

Open findings from the Spend report with illustrative data. Repeated shell commands across 2,318 runs could save $41,200.00 a month if each command's output stays in the run. Spin loops, cache busts, and unpaged results follow.

Findings with the change that fixes each

Why runs waste money

Unproductive spend ranks the causes across every workspace: retry loops, spin loops, spend with no outcome, repeated tool calls, and cache rewrites. Each cause names the agent where it costs most and the saving a month its fix would bring.

The Unproductive spend report with illustrative data: $412,880.14 of $3,684,120.55 bought no progress across 38 workspaces, with each cause and its fix.

Causes of unproductive spend

What cloud sandboxes cost

Model calls are half the bill when agents run in Oxagen cloud sandboxes. Cloud sandbox compute sits under the model spend with the minutes each sandbox ran, what they cost, and the cost per sandbox run, split by sandbox size.

Cloud sandbox compute with illustrative data: 4,811,940 sandbox minutes across 22,914 runs cost $96,238.80, at $4.20 a run, split by Small, Medium, Large, and XL.

Sandbox minutes and their cost

How finance takes the record with it

Export the report as a CSV of runs, or a spreadsheet with the summary, every dimension, the findings, and the runs. A workspace's monthly statement lists one line per operator, agent, model, tool, task, and cost center, each with its basis. The organization's chargeback statement lists one line per cost center with the run ids behind it.

The Spend report on a phone with illustrative data: the lead sentence, Export, the four figures, and spend over time.

The Spend report on a phone

Scope

In scope

  • Model calls Oxagen recorded for a workspace's runs, through its gateway or from the agent's own report.
  • Each call's tokens, price, and the run, agent, and person it belongs to.
  • Minutes and cost of runs on Oxagen cloud sandboxes.

Out of scope

  • Cursor's model calls, which go to Cursor's own servers.
  • Usage your provider billed that no Oxagen record holds.
  • A match against your provider's invoice. The figures are the costs Oxagen recorded.

Product walkthrough

Bring last month's model invoice and read it down to the work.