> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agent.golf/llms.txt
> Use this file to discover all available pages before exploring further.

# Project Budgets

> Set a monthly or total budget on an initiative or a project, and follow its spend and forecast.

A budget sets an amount of spend for one initiative or one project. Agent Golf shows the spend, the forecast, and the status of the budget on the **Roadmap** and on the item page. Budgets work the same for Linear and Jira items.

A budget never blocks or slows work. Sessions, CI, and provider accounts continue when an item goes over its budget. Agent Golf only shows the spend against the budget.

## Who can set and see budgets

* To set, change, or remove a budget in the dashboard, you need the **Manage Project Budgets** and **View Team Activity** permissions. To remove a budget through the API, you need only **Manage Project Budgets**. The default Admin and Team Manager roles have both permissions.
* To see budgets, you need the **View Team Activity** permission. Without it, the **Roadmap** shows no **Budgets** card and no **Budget** column, and the item page shows no **Budget** card.

Only an initiative or a project can have a budget. An item has at most one budget.

## Set a budget

1. Open the **Roadmap**. In the **Budgets** card, select **Add Budget**. Or open the page of the initiative or project and select **Set Budget** in its **Budget** card.
2. Select the period: **Monthly** or **Total**.
3. Enter the amount in US dollars. It must be more than \$0.
4. Set the alert thresholds, in percent of the amount. A new budget has 50%, 80%, and 100%. A budget has 1 to 5 thresholds, each a whole percent from 1% to 200%.
5. Add the owners. A new budget has you as its owner. A budget has at least one owner.
6. Select **Save Budget**.

To change a budget, select **Edit Budget** in the **Budget** card of the item. To remove it, select **Remove Budget** and confirm. A removal does not change work or spend.

## Periods

* **Monthly**: the budget counts the spend of the current calendar month in UTC. It starts again on the 1st of each month.
* **Total**: the budget counts all spend of the item.

## What a budget counts

**Spent** is the spend of the item in the period: the inference cost plus the CI cost of its linked pull requests. See [How Agent Golf Counts Project Spend](https://docs.agent.golf/linear/project-spend.md).

A budget puts spend in the UTC month in which it happened: a model request by its day, a CI run by its completion. The **Roadmap** period spend uses a different rule: it puts a pull request with all its spend in the period of its last update. So for the same month, a Monthly budget and the **Roadmap** can show different amounts. For example, a pull request with $17 of spend in July and $41 in August adds $41 to the August spend of a Monthly budget. If GitHub last updated the pull request in August, the **Roadmap** counts all $58 in August.

An initiative budget counts the rolled-up spend of the initiative, with the same roll-up as the **Roadmap**: its projects and its sub-initiatives. The budgets of its projects are separate. Each one counts its own project, and an initiative budget does not add them up.

## Forecast

* **Monthly**: the spend of the month to date at its daily rate, for the whole month. For example, $17 of spend on day 10 of a 30-day month forecasts $51.
* **Total**: the spend so far plus the spend at the current monthly rate up to the target date of the item. The current monthly rate is the Monthly forecast of the current UTC month. A target date in the past gives a forecast equal to the spend so far. Without a target date, a Total budget has no forecast.

## Status

* **Over Budget**: the spend is at or above the budget.
* **At Risk**: the spend is below the budget, and the forecast is above it.
* **On Track**: all other budgets.

The **Budgets** card on the **Roadmap** lists Over Budget budgets first, then At Risk, then the highest percent used. The **All Projects** table has a **Budget** filter by status and for projects with no budget.

## Budgets and the item state

A budget stays when its item completes, is canceled, or is archived. The **Budgets** card hides a budget while the team of its item is not imported. The budget shows again when the team is imported again.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.