# Budgets and spend

> Budgets and spend in ControlTower set what the organization, each team, person, key and agent may spend on AI, with alert thresholds and temporary grants.

Canonical: <https://docs.secondstack.ai/controltower/budgets-and-spend/>
Updated: 2026-11-06
Checked against: v3.7.2

---

Budgets and spend in ControlTower set what the organization, each team, each person, each key and each named agent may spend on AI per period, so cost management happens before a request runs rather than on an invoice. SecondGate enforces every level at request time, alerts fire at a threshold, and a supervisor can grant a one-time top-up.

**Labels in the app**

| Our word | Label in the app |
|---|---|
| your budget, in ControlTower | Budget and Spend |
| your budget, in Chat settings | Budget & spend |
| a person's hard cap | User Spend Limit |
| a person's share of a team | Team Member Budget |
| a team's cap | Total Team Budget |
| the Chat App key, on a base install | Regular models in AI Chat |
| the Agent Claude key | Agent Claude using API Billing |
| a one-time top-up | Grant temporary spend |

Video: [How to Adjust Budget & Spend in SecondStack](https://docs.secondstack.ai/videos/budget-and-spend/) (4:37)

The mockup below shows a person's **Budget and Spend** page at v3.7.2, with one key's amount being typed in.

## How the budget levels fit together

A request is charged to a key, and the key sits under a person, a team and the organization, each with a cap of its own. The table lists the levels from the top, with the default site's values.

| Level | What it caps | Default site |
|---|---|---|
| Organization | Everything the platform spends | 10,000 per 30 days |
| **Total Team Budget** | Everything a team spends | Set per team, per month |
| **User Spend Limit** | One person across all their teams | 400 per calendar month for a new user |
| **Team Member Budget** | One person's share of one team | The team's **Default Team Member Budget** |
| Chat App key, shown as **Regular models in AI Chat** | Chats and agent turns in the Chat App | 200 |
| Agent Claude key, shown as **Agent Claude using API Billing** | Agent Claude when no subscription serves it | 100 |
| **API Keys** | Each key a person creates | 50 suggested for a new key |
| **Apps & Agents** keys | Organization-level keys for apps and agents, with an optional **Spend cap** | None |

A named agent on its own budget has an allocation of its own, per month or per day, on the budget of whoever funds it; an agent that charges whoever uses it runs on the caller's Chat App key. The [Agents overview](/agents/) explains that choice.

Three rules hold the tree together. A missing amount means no cap and a zero means a cap that is already spent. A member's share cannot exceed their User Spend Limit or the team's total, though the members' shares together may exceed the team. Lowering a member's share rebalances their keys in proportion. The organization and team caps run per month; budgets set on screen run per calendar month, and a site's defaults or an import can set a daily, weekly or 30-day period instead.

## How SecondGate enforces a budget

SecondGate admits a request only while the key and every level above it have room, and it checks before a byte leaves for the provider. A request that would pass any level is refused with HTTP 402 and the reason `budget_exceeded`, and the Chat App tells the person and links them to their budget. Subscription calls are metered as a value for analytics and debit no budget.

The budgets reach SecondGate through Sync Job 3, **ControlTower → SecondGate**, every 2 minutes, and a spend window resets on the period's boundary; **Next Reset** on the budget page shows the date.

## How people allocate their own budget

A person splits their **Team Member Budget** across their keys on their own **Budget and Spend** page, without an administrator. The page shows **Total User Spend in All Teams**, then one block per team with **Total spend in** that team:

1. Drag a card's slider, or double-click the amount to type one; the hint reads **Double-click to type an amount**. Typed amounts shipped in v3.6.0.
2. Keep the sum within the budget. **Available for allocation** shows what is left, and an allocation over the budget is refused with the amount to reduce.
3. Choose **Save**, or **Reset** to drop the changes. The bar says "Budget allocation changed. Click Save to confirm." until you do.

The Chat App card is shared by regular chat, agent reasoning and the model calls agents make; **Usage Analytics & Logs** separates those workloads. A team supervisor edits a member's share under **Team Supervision**, and an administrator sets the User Spend Limit under **Users**.

## How alerts work

Each budget scope has one alert threshold, 70% of the budget in the default site, and a team can override its own. Alerts exist for keys, users, team members, teams and Apps & Agents keys; the organization budget has none.

- A key, user or team-member alert reaches the person as a Chat App banner, a browser notification and an email. A team or Apps & Agents key alert reaches the supervisors or the administrators as a banner and an email.
- The alert worker runs every 15 minutes. An alert fires once per period, again when a new period starts or when the cap rises and spend grows, and a user-level alert silences that user's key alerts. A team alert repeats daily while the team stays over the threshold.
- A supervisor sets the team's **Alert threshold (% of Total Team Budget)** under **Team Supervision → Settings**, and the alert texts live under **Localized Content → Budget alerts**.

## How a temporary grant works

**Grant temporary spend** adds room to one budget until the current period resets, without changing the configured amount. A team supervisor or an administrator grants it to a team member from the **Members** tab of Team Supervision, and only an administrator grants it to an Apps & Agents key.

The grant is refused when the levels above lack the room, and a member's grant lifts the person's own window by the same amount. The budget page then reads "Includes a one-time grant of … on top of your … budget", the person spreads the extra across their keys with the sliders, and saving a changed budget clears the grant. Users, a person's keys, teams and the organization take no grant.

## What usage analytics shows

**Analytics & Logs** shows what the platform spent, by whom and on what, and every role sees its own slice. Administrators see the whole deployment, supervisors their teams under **Team Supervision → Usage**, and each person their own under **Usage Analytics & Logs**.

- Two reports: **Gateway LLM Traffic**, every request metered at the gateway, and the Chat App's usage.
- Four figures: **Total Requests**, **API-billed Cost**, **Subscription-backed Usage Value** and **Total Tokens**, with a toggle between **API-billed**, **Subscription-backed** and **Both**.
- **Gateway usage breakdown** stacks the spend by **Users**, **Models**, **Keys**, **Teams** or **Subscriptions**, and **Tokens by type** splits the tokens.
- **Request Logs** lists each call with its model, user, tokens, duration and status.

Subscription usage shows with a `¤` sign: it is a value, never a charge. The currency sign on every page is a deployment setting the operator makes.

## What budgets do not do

- A budget does not convert currencies. The sign is set once for the deployment, and amounts are plain numbers.
- A budget does not count subscription calls. They debit nothing and show as a value in analytics.
- The organization budget raises no alert, and the screen offers no weekly period: weekly and daily periods come from site defaults or an import.
- A temporary grant does not go to a user, a key, a team or the organization, and it never outlives the period.
- A person cannot raise their own User Spend Limit or their team's total. Those are the administrator's and the supervisor's.
- A refused request is not queued. SecondGate answers at once, and the person asks for a grant or waits for the reset.

## Related

- [Your dashboard](/controltower/user-dashboard/)
- [People and teams](/controltower/people-and-teams/)
- [Agent fleet](/controltower/agent-fleet/)
- [Gateway](/gateway/)
- [Owners and budgets](/agents/owners-and-budgets/)
- [ControlTower](/controltower/)

On secondstack.ai: [Every AI agent and every run, in one console](https://secondstack.ai/platform/controltower/)
