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.
Set a budget
- 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.
- Select the period: Monthly or Total.
- Enter the amount in US dollars. It must be more than $0.
- 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%.
- Add the owners. A new budget has you as its owner. A budget has at least one owner.
- Select Save Budget.
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. 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.