[](https://devin.ai/blog)

# Hierarchical budgets: manage AI spend the way your company is organized

CognitionNovember 2, 20264 min read

![Sankey diagram of an enterprise account budget flowing into department, project, and user budgets](https://devin.ai/images/blog/hierarchical-budgets/cover.png)

Today we’re introducing a new way for enterprises to manage AI spend: **hierarchical budgets**. Enterprise administrators can allocate ACU budgets to department leaders, who can then distribute and approve usage limits for sub-teams. Now, teams can align Devin usage with the way your company is organized: one centralized account limit, group budgets for business units, dedicated budgets for projects, and per-user limits inside each budget.

Hierarchical budgets build on our work developing [efficiency-based cost controls](https://devin.ai/blog/efficiency-based-cost-controls), to keep your most productive engineers unblocked while giving your team more visibility and granular control over AI spend.

### How it works: a tree of shared ACU pools

Every enterprise has one **Account budget** at the root. Child budgets sit under it, up to three levels deep. A budget can hold one org or several, and each org belongs to exactly one budget.

Each budget has:

- a **limit**: the ACUs that the budget and everything under it can use in a monthly window
- an optional **temporary limit**: a bump that lasts until the end of the current window
- a **parent budget**: the limit is controlled by the parent administrator
- its own **user limits**: tiers and per-user overrides that apply inside that budget
- its own **people**: who can draw from it, adjust child limits, and share permissions with more people

Here are two ways enterprises use them today.

### 1. Departments with delegated administration

Admins of large accounts get overwhelmed trying to micromanage individual user limits. Permissions on a budget let its owner **delegate one layer down**.

Consider Acme Corp, an enterprise software team with 10 departments. Alice in Central IT sets each department’s total, while each department head manages the limits of their own orgs. This means department managers can make their own child budgets, set budget limits, and manage the tiers and limits of their users.

![Sankey diagram of Acme's account budget split across departments, with Engineering split into child budgets](https://devin.ai/images/blog/hierarchical-budgets/hierarchy-sankey.png)

Bob runs Engineering and can set limits on any budget under Engineering. Limit increase requests within Bob’s organization route to Bob. For a busy launch week, Bob might grant the Payments team a **temporary limit increase** of 5,000 ACUs, from 10,000 to 15,000 ACUs for the current window. Meanwhile, the engineering orgs underneath Bob are still bound by the **combined limit** of 30,000 ACUs, because Bob’s **administration grant is granular**. This means that each department head does not have visibility into other department budgets, so if Engineering needs more ACUs this month, Bob can file a request with Alice for a bump.

![Budgets page showing only Engineering and its child budgets, with Payments at 15,000 ACUs this window](https://devin.ai/images/blog/hierarchical-budgets/dept-admin-tree.png)

Bob's Budgets page: only Engineering and its children. Payments shows 15,000 ACUs this window with its temporary allocation.

![Dialog adding a temporary 5,000-ACU allocation to the Payments budget](https://devin.ai/images/blog/hierarchical-budgets/temp-allocation.png)

Bob gives Payments a temporary 5,000-ACU bump for this monthly window.

![Manage access dialog on the Engineering budget](https://devin.ai/images/blog/hierarchical-budgets/dept-admin-access.png)

Manage access on the Engineering budget.

### 2. A dedicated bucket for a sprint

Every Acme developer gets a monthly ACU allowance. For a security hardening initiative, Acme sets aside a dedicated pool of ACUs, in which a small group of security engineers runs a swarm of Devin sessions to find and fix vulnerabilities across the codebase in parallel.

Alice keeps the everyday orgs in a Developer tools budget with a 200-ACU default tier. She creates a Security hardening budget with a 5,000-ACU limit and gives it a more generous default tier with [efficiency-based approvals](https://devin.ai/blog/efficiency-based-cost-controls).

![Sankey diagram of the Developer tools and Security hardening budgets with their default user tiers](https://devin.ai/images/blog/hierarchical-budgets/tiers-sankey.png)

Carol is a developer with access to both budgets. She can use up to 1,000 ACUs in the Security hardening org, and up to 200 ACUs in the Developer tools orgs.

- **The hardening project has a budget ceiling.** The whole initiative is limited to 5,000 ACUs.
- **Trackable spend.** Carol has access to separate pools of spend, but to spend ACUs in the Security hardening budget, she has to actually be working on security hardening.

![My Analytics page showing Carol's ACU usage across the Developer tools and Security hardening budgets](https://devin.ai/images/blog/hierarchical-budgets/my-analytics-all-budgets.png)

Carol's My Analytics page across all her budgets.

Budgets let you set limits at the right level. Carol has 200 ACUs in her discretionary budget. This limit is intended to help accelerate her day-to-day work. She starts with 1,000 ACUs in the dedicated project budget, where the ACUs she spends can be directly attributed to project delivery, and her usage can be audited and graded based on efficiency.

### Get started

We believe budgets are the best way to cap and understand total spend. For customers on a Devin Enterprise plan, you can use hierarchical budgets today: just read the [Budgets docs](https://docs.devin.ai/admin/billing/budgets) and open **Enterprise Settings > Usage Policies > Budgets**.

If your team is interested in getting started with hierarchical budgets in Devin, please [contact us](https://devin.ai/contact).

Table of contents

[How it works: a tree of shared ACU pools](#how-it-works-a-tree-of-shared-acu-pools)[1. Departments with delegated administration](#1-departments-with-delegated-administration)[2. A dedicated bucket for a sprint](#2-a-dedicated-bucket-for-a-sprint)[Get started](#get-started)
