Unify Agentic AI
Logo
Spending Overview

Spending Overview

Logo

3 mins READ

Spending is where you see what your AI agents and automations cost, set caps so a runaway loop cannot drain the budget, and get warned before a cap is hit.

Overview

An AI agent stuck in a retry loop, or a prompt that fans out into thousands of model calls, can burn through a month's AI budget in an afternoon. An agent that hits an error on a customer ticket and retries the same heavy LLM call with no timeout can run up thousands of dollars before anyone notices. Automations carry the same risk: a scheduled automation that calls an LLM once per record quietly multiplies its cost when the record count grows.

Spending is the governance layer that prevents these runaway costs. It shows exactly where the money goes, lets you cap usage at every level, and warns the right people before a cap is reached.

Open it from AI Agents → Settings → Spending. It has three tabs:

  • Usage: a read-only dashboard of cost trends, projected spend, detected spikes, and spend broken down by model, agent, automation, and user.

  • Limits: where you set the overall budget, per-scope defaults, team caps, and overrides for a single user, agent, automation, or model.

  • Alerts: rules that notify people when spend approaches or breaks a limit, or behaves unusually.

Note: Usage and Alerts are open to everyone who can open Spending. Only the Limits tab needs the Agent Spending Limits permission, which is turned off by default.

Key Terms

Scope is the level a limit or alert applies to. There are seven:

Scope

What it covers

Overall org

One ceiling across every team, agent, automation, and user in the company.

Team

A workspace team, such as engineering, sales, or support. A team cap applies to each member of the team.

AI Agent

The combined cost of one agent across all its sessions.

Automation

The combined cost of one automation across all its runs: every LLM call its own steps make, including the agents it runs.

User

The total spend generated by one user.

Model

The total cost of one LLM, such as a Claude or Vertex AI model, across every caller.

Agent session

A single agent session. Used as an alert scope for anomaly detection, to catch one session spending far more than usual. It cannot be capped in Limits.

  • Hard enforcement: blocks further model calls the moment the cap is reached.

  • Soft enforcement: lets the call, session, or run finish and raises a warning instead.

  • Measurement unit: USD (dollar cost) or Tokens (input and output tokens).

  • Period: Daily, Weekly, or Monthly. You can stack all three on one cap; whichever is reached first applies.

  • Resolution order: when several caps cover the same entity, the default sets the baseline, a team cap raises it for team members, and an override pins an exact cap for one entity. The org cap bounds all of them. See How Caps Resolve.

What's in This Section

Topic

Covers

Usage

Projected spend, the daily spend chart, spike detection, and spend by model, agent, automation, and user.

Limits

The overall budget, per-scope defaults, team caps, and overrides for a user, agent, automation, or model.

Alerts

Alert rules: trigger types, notifications, severity, and how often they are checked.

Where to Go Next

New to Spending? Start with Usage to see what you spend today and who drives it. Then set an overall budget and per-scope defaults in Limits, and add Alerts so you hear about a problem before a hard cap stops work.

FAQs

Who can see the Spending module?

Usage and Alerts are available to everyone who can open Spending. Only the Limits tab needs the Agent Spending Limits permission. It is off by default, so an admin has to grant it before anyone can view or change limits.

Should I track spend in USD or tokens?

Use USD for budgets, since it reflects what each model actually charges. Use Tokens when you want to limit volume regardless of model price, such as capping oversized prompts.

Does Spending cover automations as well as agents?

Yes. LLM calls made by automations are tracked alongside agents. You can see them in the Automations view on Usage and cap one with an override in Limits.