Course outline
The CTO's playbook for AI coding agents · Module 5: Token economics
Budgeting and forecasting AI spend without guessing
Pick a pricing model, give teams budgets they can see, forecast from pilot data instead of vendor slides, and set alerts that fire before finance does.
Lesson 18 / 20 · ⏱ 9 min
The first AI budget conversation usually goes badly in one of two ways: a number pulled from a vendor slide, or no number at all until the invoice arrives. Neither survives a CFO. What does survive is a model built from your own pilot data, a budget per team, and alerts that tell you about a problem while it is still small.
Know what you are buying
Most offerings are a mix of four pricing shapes. The shape matters more than the sticker price, because it decides who carries the risk of heavy usage.
| Model | How it bills | Good for | Watch out for |
|---|---|---|---|
| Flat seat | Fixed fee per user per month | Predictable budgets, light to moderate use | Throttling or hidden caps for heavy users; paying for idle seats |
| Seat plus usage pool | Seat fee includes an allowance, overage billed | Mixed populations | Overage rates, and whether pools are shared or per user |
| Pure usage | Pay per token or per task | Background agents, spiky workloads | No natural ceiling; needs caps and alerts from day one |
| Committed spend | Prepay a volume for a discount | Stable, proven demand | Committing before you have real usage data |
From visibility to accountability
You can’t hand a team a budget they can’t see. Build the steps in order.
- 1
Step 1
Visibility
Tag every key and automation with a team and a purpose. Without attribution, every later step is guesswork.
- 2
Step 2
Showback
Send each team a monthly view of its spend, cost per active user and top automations. No money moves yet; the report itself changes behavior.
- 3
Step 3
Team budgets
Agree a monthly envelope per team, based on its own trend. Teams own the number and the trade-offs inside it.
- 4
Step 4
Chargeback, if at all
Bill spend to team cost centers only if your finance culture already works that way. Done too early, it teaches people to stop experimenting.
Forecast from your pilot, not from a slide
Here is a worked forecast for a 200-engineer org scaling after a 20-person pilot. All numbers are illustrative; plug in your own.
Pilot facts: median spend $90 per active engineer per month, mean $140 (a few heavy users pull it up), and $150 per month per repo for a CI review agent.
| Line | Month 1 | Month 2 | Month 3 |
|---|---|---|---|
| Active engineers (adoption ramp) | 80 | 130 | 160 |
| Interactive use at $140 mean | $11,200 | $18,200 | $22,400 |
| Repos with CI agent at $150 | 10 → $1,500 | 20 → $3,000 | 30 → $4,500 |
| Subtotal | $12,700 | $21,200 | $26,900 |
| Buffer 20% for learning curve and spikes | $2,540 | $4,240 | $5,380 |
| Forecast | $15,240 | $25,440 | $32,280 |
Three choices make this forecast honest:
- Mean, not median. Budgets pay for the whole distribution. Forecasting with the median under-funds you by the size of your heavy-user tail.
- An adoption ramp, not full headcount. Not everyone switches on in week one, and some never do.
- Automations as their own line. They scale with repos and pushes, not with people.
Alerts that fire early
Set alerts on three levels, so a problem shows up as a message, not as an invoice:
- Budget burn: notify the team at 50% and 80% of its monthly envelope, and the platform owner at 100%.
- Anomalies: flag any day where a team or automation spends more than three times its trailing seven-day average.
- Hard caps on automations: every unattended agent gets a per-run turn limit and a daily ceiling that stops it, not just warns.
Check your plan
🧠 Budgets and forecasts
Score: 0 / 5
1. Your pilot shows a median of $90 and a mean of $140 per engineer per month. Which do you forecast with?
2. Which pricing shape is most dangerous for a CI agent running on every push?
3. What should come before team budgets?
4. Why add a buffer to a forecast built from pilot data?
5. A team's spend triples overnight. What should catch it?
For the business case side of the same numbers, pair this with the Developer productivity initiative guide.
Before you move on
✅ Key takeaways
0 / 4 completed