Budget Management
Set budgets and receive alerts when spending exceeds thresholds.
Creating Budgets
await ants.finops.createBudget({
name: 'Q4 AI Budget',
amount: 10000,
period: 'quarterly',
alerts: [
{ at: 7000, notify: ['slack', 'email'] },
{ at: 9000, notify: ['slack', 'email', 'pagerduty'] }
]
})Budget Alerts
Get notified before you exceed limits:
- Warning at 70% of budget
- Critical at 90% of budget
- Auto-throttle at 100% (optional)