CONCEPT Cited by 1 source
Dual-budget spend control¶
Definition¶
The practice of governing per-user spend with two coupled budgets operating at different time windows rather than a single limit. Each budget addresses a distinct failure mode:
- Short-window budget (daily): Catches runaway automation — a loop burning through budget in hours. Small relative to total monthly allowance; self-serve unblock via acknowledgment.
- Long-window budget (monthly): Governs extraordinary sustained spend. Set high enough that typical users never encounter it; requires manager approval to raise, time-scoped to a project.
The effective spend cap at any moment is min(month_to_date + one_daily_increment, monthly_maximum).
Why a single limit fails¶
A single monthly cap must serve two contradictory goals: 1. Runaway detection — must be low enough that a few hours of accidental automation trips it. 2. Normal-use headroom — must be high enough that legitimate heavy use doesn't constantly interrupt.
No single number satisfies both. At scale (Databricks reports 500–1,000 engineers hitting a single $500/month cap), this creates hundreds of tickets and interrupted sessions monthly (Source: sources/2026-07-28-databricks-coding-agent-spend-unity-ai-gateway-budgets).
Coupling the two limits¶
The daily and monthly limits are coupled via a fixed ratio so that: - Smooth monthly spend never trips the daily limit (monthly ÷ working days < daily threshold). - Raising the monthly tier proportionally raises the daily increment, keeping runaway protection calibrated.
Key properties¶
| Property | Daily budget | Monthly budget |
|---|---|---|
| Failure mode addressed | Accidental automation bursts | Sustained extraordinary spend |
| Reset cycle | Nightly (+ full monthly reset) | Monthly |
| Unblock mechanism | Self-serve acknowledgment | Manager approval |
| Tier movement | Automatic (resets monthly) | Deliberate (time-scoped, reverts) |
| Approval cost | Zero (one click) | Conversation with manager |
Seen in¶
- sources/2026-07-28-databricks-coding-agent-spend-unity-ai-gateway-budgets — canonical production deployment at Databricks (thousands of engineers, all coding agents).
- systems/unity-ai-gateway-budgets — the system implementing this concept.