Usage & costs¶
Every model call is metered: tokens in, tokens out, and the resulting cost at the model's current price. You can watch spend live per session, review it for your organization, and cap it with budgets.
Cost while a session runs¶
The session status bar shows the running total for that session (for example Cost: $0.0842), updating as the session works. This is the number to watch when you are experimenting with a new routing setup or an expensive model.
A project's Sessions list has a sortable Cost column, so finding the expensive runs in a project takes one click.
Organization → Usage¶
Organization owners and admins get the detailed usage console on the Usage tab of the Organization page. It covers your organization only and reports over three windows, Month to date, Last 30 days, and All time:
- Headline cards: tokens for the window (split into input and output), cost for the window with the number of model calls behind it, and all-time tokens with all-time cost.
- Daily tokens: a bar per day, for spotting spikes and trends.
- Active Sessions: the organization's sessions running right now.
- Breakdowns: three tables, each with Tokens, Input, Output, Cost, and Calls columns:
- By model: which models are consuming your budget. Usually the first place to look before changing routing.
- By user: who is running the sessions.
- By project: which projects the spend belongs to.
- Export CSV: one row per day, user, project, provider, model, and session type, with input, output, and cached tokens, cost, and call count. The file has an
organizationcolumn too.
Calls made outside a session count too: those of workflows and agents, and the AI calls of the apps your sessions build. They are in the totals, the daily chart, By model and By project (as No project when they belong to none), but not in By user, since no one's session made them. In the CSV their user is empty and their session type is workflow, or agent for an agent's calls.
Note
Tokens are the primary metric; cost is derived from them using the catalog's per-model prices, which automatic price sync keeps current. If you use a flat-rate or self-hosted provider, token counts stay accurate even when the dollar figure does not reflect what you actually pay. Self-hosted operators can pin negotiated rates with orchestrator.modelPricing in the Helm values; those prices take precedence over synced ones.
The instance console¶
Instance admins see usage across every organization on the Usage tab of the admin panel (Admin). It has the same windows, headline cards, and daily chart, but instance-wide, plus:
- By organization: which organizations the spend belongs to.
- Active Sessions: every organization's running sessions, each tagged with its organization.
- Monthly budgets: each organization's tokens and cost over the last 30 days, the window budgets are enforced on, against its budgets, with a utilization bar (or Unlimited). Reset Usage restarts one organization's window.
- Export CSV: the same file as above, for all organizations.
The per-user, per-project, and per-model breakdowns live on each organization's own Usage tab. The instance console replaced the former Analytics tab and the standalone /org dashboard, which are gone; old links land on Usage or on the projects list.
Budgets¶
Budgets are set per organization by an instance admin, when creating or editing the organization on the Organizations tab of the admin panel (see instance administration):
- Per-session token budget: a token ceiling for each session in the organization. This is the everyday guard against one runaway session.
- Monthly token budget: the organization's token allowance, counted over the last 30 days.
- Monthly cost limit (USD): the same idea in dollars.
A field left blank when the organization is created gets the default, which is effectively unlimited: 20 billion tokens a month, 2 billion per session, and $1,000,000 a month. A field left blank when editing keeps its current value. A budget of 0 means unlimited, and a negative budget is refused. At 80% of a budget, warnings are raised; when a budget is reached, new model calls are refused until usage falls back under it, an admin raises the budget, or an instance admin resets the organization's budget usage (Reset Usage on the admin Usage tab). The monthly budgets cover workflow, agent and app calls as well: once one is reached, a workflow step that calls a model fails with a budget error, and an app's AI call is refused with "the organization's monthly AI quota is used up".
Self-hosted operators can also set a per-session dollar backstop at deployment time (orchestrator.config.sessionCostHardCapUSD, off by default): a session whose billed model cost reaches it is paused, with its work kept. See costs and budgets for what a session does as it approaches a ceiling.
Keeping costs down¶
Model choice dominates cost. The levers, in order of impact:
- Route cheaper models to cheap work: classification, wording, and utility calls do not need your best model. See model routing.
- Watch the By model breakdown: one over-routed session type often accounts for most of the bill.
- Ask an instance admin to lower the per-session token budget when exploratory work keeps producing runaway sessions.
- Use fallbacks wisely: a fallback pointing at a much more expensive model can surprise you during a primary outage.