Skip to content
mentoor

Topic 2 of 5 · 4 min read

Setting AI budgets and spending caps

Goal: Set budgets and caps for teams and agents that stop runaway spend without blocking normal work.

A budget says how much a team plans to spend on AI; a cap is the hard limit that stops spending when the plan fails, and agents need caps most.

Check yourself · 1 of 3

What is the main difference between a budget and a cap?

Choose one answer

Why it matters

People rarely overspend on a chat seat. The risk is an automated agent: a loop that retries, a job that reads a huge folder, a trigger that fires too often. An agent can spend in an hour what a person spends in a month. A budget tells the team what is normal. A cap protects you when something is not.

How to set them

  1. Start from the work. List what each team does with AI and what that work is worth. A budget is a share of that value, not a guess.
  2. Set a team budget for the month, based on the last two or three months of real usage plus room to grow. Use a pilot's numbers if there is no history.
  3. Add per-person limits only where use is metered. Set them above normal heavy use, so a good user is never blocked, and below the level of a mistake.
  4. Give every agent its own cap, per run and per day: a maximum number of steps, a maximum spend, a maximum run time. One agent, one key, one limit, so you can see whose spend it is.
  5. Set alerts before the cap, for example at 50, 80 and 100 percent of the budget, sent to a named owner.
  6. Decide what happens at the cap in advance: stop, slow down, or ask for approval.

Soft cap and hard cap

A soft cap warns and keeps working. A hard cap stops the spend. Use a soft cap for people, where a block costs real work. Use a hard cap for unattended agents, where nobody is watching. For a critical service, a hard cap that switches to a cheaper model or a safe fallback is better than a full stop.

Before and after

Before: "AI spend is under control. The invoice was fine last month."

After: "The support team has a monthly budget, 80 percent alerts to the team lead, a per-run cap on the triage agent, and a hard stop at 120 percent that needs a manager's approval to lift."

What goes wrong

  • Caps set so tight that people hit them in normal work, then ask for exceptions all day, or share accounts to get around them.
  • One shared key for every agent, so nobody can tell which one caused the spike.
  • Alerts sent to a mailbox nobody reads.
  • No decision about what happens at the cap, so the first time it triggers, everyone argues.

A good cap is boring. People never notice it until the day it saves you.

Examples

Caps for a triage agent

A support team runs an agent that sorts tickets. The lead sets a limit of 30 steps and a fixed spend per run, a daily spend limit, an alert to the team lead at 80 percent, and a hard stop at the daily limit. A ticket loop is cut off after one run instead of running all night.

Per-person limits

A marketing team sets a soft limit above its heaviest user's normal month. When someone passes it, the lead gets a message and asks what the work was. Most of the time the answer is a campaign week and the limit is raised for that month.

Key points

  • A budget is the plan for normal spend; a cap is the limit that applies when something goes wrong.
  • Unattended agents are the main source of runaway spend, so each one needs its own cap per run and per day.
  • Alerts should fire before the cap, at levels such as 50, 80 and 100 percent, and reach a named person.
  • Use soft caps where blocking hurts people and hard caps where nobody is watching.
  • Decide in advance what happens at the cap: stop, fall back, or ask for approval.

Common mistakes

  • Setting caps so low that normal work hits them and people find workarounds.
  • Sharing one key across several agents so spend cannot be traced.
  • Sending alerts to a shared inbox with no owner.
  • Leaving the at-cap behaviour undecided until the first incident.

Check yourself · 2 of 3

An unattended agent reads incoming files and calls an AI model for each one. Which setup best protects the budget?

Choose one answer

Check yourself · 3 of 3

A team lead sets a hard per-person cap just above the average user's monthly spend. Within two weeks, several good users are blocked in the middle of work. What is the best fix?

Choose one answer

Practice items, not counted towards your mastery.

Start here