# Set budgets for users and teams

> Create the two budgets that cover people: a pooled limit on a whole team, and a limit on one API key that caps an individual user's workload, each either watching spend or hard-stopping it.

Enterprise Tier

A team is capped with one budget on the whole team; an individual user is capped through an API key they own. Each budget also declares what happens at its limit: Watch spend only reports, Hard stop enforces.

**Persona:** Platform operator working in the Admin Console.

**Estimated time:** 10 minutes to read; 5 minutes per budget.

## Outcomes

By the end of this guide:

- A team carries one pooled monthly limit, created in the New budget drawer.
- One user's API key carries a limit of its own, alongside whatever team budgets already cover it.
- Every budget's action is a deliberate choice between monitoring and enforcement.
- The result is readable on the Budgets page: spend against limit, and a status per budget.

## Prerequisites

- Write access to budgets in the Admin Console. Roles and permissions are listed in [Set a budget and track spend against it](/agent-router-enterprise/guides/operate-and-govern/cost-and-quota-management/set-a-budget-and-track-spend/#prerequisites).
- Teams populated from the identity provider, per [Map Entra ID groups to business functions](/agent-router-enterprise/guides/identity-and-access-management/single-sign-on/map-entra-id-groups-to-business-functions/). A team budget covers exactly the members the mapping says it does.
- API keys issued per purpose, per [Onboard developers and issue keys](/agent-router-enterprise/guides/operate-and-govern/onboard-developers-and-issue-keys/), so a budget on a key caps one workload rather than a shared credential.

## Monitor or enforce: the action decides

A [budget](/product-architecture/budgets/) always measures spend against its limit. Whether anything is stopped at that limit is the budget's **action**, chosen in the form under **When the limit is hit**:

| Action | At the limit | Meant for |
|---|---|---|
| **Watch spend** | An alert is raised. No request is ever blocked | Monitoring and analytics: accountability, forecasting, and trialing a number before it is enforced |
| **Hard stop** | Requests are rejected until the period resets | Enforcing the cap |
| **Degrade gracefully** | Requests keep being served, rerouted to a cheaper fallback model | Enforcement without an outage, offered only when the scope is one API key |

The distinction decides whether the number holds. A **Watch spend** budget is a meter, not a cap: when it is exhausted, the caller is free to keep calling, and the overage shows up in dashboards and alerts only. A **Hard stop** budget is the cap: the gateway rejects further requests until the period resets, and nothing has to be manually re-enabled afterward.

Enforcement acts on live traffic but lags the spend by a few minutes, because spend is totaled from usage rollups before it reaches the gateway, and it fails open: a request is served rather than refused while the totals catch up. An immediate, inline cutoff is a [rate limit](/agent-router-enterprise/guides/operate-and-govern/cost-and-quota-management/stop-runaway-workloads/), not a budget. Which arrangement of budgets and actions fits which situation is worked through in [Enforce budget caps with policies](/agent-router-enterprise/guides/operate-and-govern/cost-and-quota-management/enforce-budget-caps-with-policies/).

## Step 1: set a budget for a team

1. In the Admin Console, open **Policies → Budgets** and select **Add budget**. The New budget drawer opens with a **Policy preview** panel that restates every choice as it is made; the footer tracks the remaining steps.
1. Under **Scope**, keep **Whole team**: one shared limit pooled across members. The caption under the picker states the consequence: all members' usage counts toward one shared pool, and no member has an individual limit.
1. Pick the team. A team that already carries a budget is labeled **Already budgeted**, with its amount and period, so a duplicate is visible before it is created.

    ![The New budget drawer with the Whole team scope selected and the team picker listing three teams](/img/screenshots/agent-router-enterprise/guides/operate-and-govern/cost-and-quota-management/budget-drawer-team-picker.jpeg)

1. Set the **Spend limit** in US dollars and pick the period: **Daily** resets at midnight UTC, **Weekly** on Monday, **Monthly** on the 1st. Suggested amounts follow the period, and the **Policy preview** shows the target's billed spend over the last six months as a sanity check on the number.
1. Under **When the limit is hit**, choose the action. **Watch spend** is the default and never blocks; **Hard stop** makes the limit a real cap. **Degrade gracefully** is disabled at team scope, with the reason stated inline.
1. Name the budget (**Use suggested** fills a name from the target) and select **Create budget**. The footer reads "Ready. Create makes exactly this.", and a toast confirms the creation.

    ![The completed team budget form with a monthly limit of $1,000 and Hard stop selected](/img/screenshots/agent-router-enterprise/guides/operate-and-govern/cost-and-quota-management/budget-drawer-team-hard-stop.jpeg)

:::note The Each teammate scope applies per member
**Each teammate** gives every member the same individual limit, tracked per person. It accepts **Watch spend** and **Hard stop**; with **Hard stop**, a member who reaches the limit is stopped on every key they own, and the rest of the team keeps working. **Degrade gracefully** is not offered at this scope, and alert thresholds are not supported on it. To give one member's work a different limit from the team's, cap the API keys involved, which is Step 2.
:::

## Step 2: cap an individual user through their API key

An each-teammate budget stops every member at the same line. A single user is held to a line of their own by capping an API key they own, which is precise exactly when keys follow the per-purpose convention: the budget then caps one workload, attributed to one owner.

1. Select **Add budget** and choose the **One API key** scope.
1. Pick the key. Each row shows the key's UID (labeled `UID`), its owner, and when it was last used, and the form refuses to proceed until a key is selected.
1. Set the limit and period, choose the action, name the budget, and create it, as in Step 1. All three actions are available at this scope, including **Degrade gracefully**.

    ![The One API key scope with the key picker listing keys by UID, owner, and last use](/img/screenshots/agent-router-enterprise/guides/operate-and-govern/cost-and-quota-management/budget-drawer-key-picker.jpeg)

Two properties of a key budget worth knowing:

- **It survives rotation.** As the form states, usage counts for the key, for any key that replaces it, and for every other key of the same application in the project, so rotating the credential keeps the budget.
- **It caps that key alone.** A user who owns several keys needs a budget per key, or an **Each teammate** budget on the team, which adds up every key a member owns; the keys cannot share one number otherwise. The other keys stay covered by whatever team budgets apply, and where several budgets cover the same key, every one of them is a ceiling. The interaction is worked through in [Enforce budget caps with policies](/agent-router-enterprise/guides/operate-and-govern/cost-and-quota-management/enforce-budget-caps-with-policies/).

**One budget per developer across several tools.** An **Each teammate** budget gives every member one limit that adds up the member's usage from every key they own, so a developer working across Claude Code, Codex, and Cursor is held to a single number. With the organization setting **Count passthrough in budgets** at **Yes** (**Settings → Passthrough**, from 0.12.0), the developer's passthrough usage from all of those keys counts toward that limit, at list price. Once the limit is used up, every key the developer owns gets `429` with the code `budget_exceeded`. With the setting at **No**, the default, passthrough is shown but not counted. The setting is described in [Budgets](/product-architecture/budgets/#spend-is-calculated-from-tokens-not-read-from-the-invoice).

## Step 3: read the result on the Budgets page

The **Budgets** page lists every budget on the **All Budgets**, **Team Budgets**, and **API Key Budgets** tabs. The summary cards total spend across budgets and count the active ones, those near their limit, and those over it; each row shows the period's spend against the limit with a status.

![The Budgets page listing one API key budget and two team budgets, all healthy](/img/screenshots/agent-router-enterprise/guides/operate-and-govern/cost-and-quota-management/budgets-list-three-budgets.jpeg)

Where passthrough traffic runs under a budget, the page shows a **Passthrough estimate (list price)** line. The line is what the same requests would cost on the organization's provider key, not what the developer's subscription costs. With **Count passthrough in budgets** at **No**, the line is informational and does not count toward the limit; with **Yes**, the amount counts toward it. The budget panel says which way the setting is applied, with a **Change this in Settings** link.

A budget's action is not fixed at creation: a budget trialed in **Watch spend** is switched to **Hard stop** from the row's **Edit** menu once the number has proven right. Spend already recorded this period counts against the limit immediately, so switching mid-period can cut a caller off straight away; the reading routine for catching that in time is in [See budget exhaustion coming](/agent-router-enterprise/guides/operate-and-govern/cost-and-quota-management/see-budget-exhaustion-coming/).

Where to go next

  <Link to="/agent-router-enterprise/guides/operate-and-govern/cost-and-quota-management/set-a-budget-and-track-spend/" className="tare-nav-card">
    Set a budget and track spend against it
    The full walkthrough: read the baseline first, then every field in the form.
  </Link>
  <Link to="/agent-router-enterprise/guides/operate-and-govern/cost-and-quota-management/enforce-budget-caps-with-policies/" className="tare-nav-card">
    Enforce budget caps with policies
    Nine scenarios for combining team, member, and key budgets, and the cases a budget cannot cover.
  </Link>
  <Link to="/agent-router-enterprise/guides/operate-and-govern/cost-and-quota-management/compare-user-and-team-spend-in-analytics/" className="tare-nav-card">
    Compare user and team spend in Analytics
    Size the number from real consumption before any budget is created.
  </Link>
  <Link to="/agent-router-enterprise/guides/operate-and-govern/cost-and-quota-management/see-budget-exhaustion-coming/" className="tare-nav-card">
    See budget exhaustion coming
    Read burn and headroom in time to act before a cap fires.
  </Link>
