What to set before the first run
Set a hard spending limit at the AI provider before the agent's first live run. Add an alert well below it, so you hear about trouble early.
Know which settings stop requests and which only send an email. On a settings page, the two can look alike.
Hard limits and alerts do different things
A hard limit makes the provider refuse requests once spending reaches it. An alert sends an email, and the agent carries on spending.
Limits don't act instantly. OpenAI and Google both say some extra spending can get through first.
OpenAI
You can set a monthly spend limit for the whole organisation and for each project. It stops traffic only if you turn on "Enforce a hard limit".
Without that switch, the limit only tracks spending. With it on, requests fail with an error once spending reaches the limit.
Spend alerts send a notification and never stop requests. New accounts prepay, and requests stop when the credit runs out.
Auto recharge buys more credit when the balance falls low. OpenAI says a recharge limit is not a usage limit. So set a spend limit as well.
Anthropic
Each Claude Console organisation has a monthly spend cap set by its usage tier. As of November 2026, it is $500 on Start, $1,000 on Build and $200,000 on Scale.
You can set your own lower limit on the Billing page. At either limit, requests are refused until the next month or until you raise it.
Each workspace can have its own monthly spend limit, with alerts at thresholds you choose. The Default Workspace can't take a spend limit. So give each agent a workspace of its own.
Most accounts run on prepaid credits, and requests stop when they run out. Auto-reload buys more when the balance falls below a level you set.
Google has two routes to its models, with different controls.
In Google AI Studio, you can set a monthly spend cap for each project. It sits on the Spend page, and Google marks it experimental.
Google says billing data lags about 10 minutes, so spending can pass the cap. Long batch jobs and agent sessions can run past it too.
Each billing account also has a monthly tier cap. It runs from $250 on Tier 1 to $20,000–100,000 on Tier 3.
The tier cap pauses every project on the account until the 1st of the next month. On prepay, every key on the account stops when the balance reaches zero.
In Google Cloud, an ordinary billing budget only sends alerts. Google states that it doesn't cap usage or spending.
To stop spending there, create a spend cap budget for one project and one service. The Gemini API and Vertex AI, now called Gemini Enterprise Agent Platform, are both eligible.
When the cap is reached, new requests pause. Requests already running finish and are billed.
At a glance, as of November 2026
| Provider | Stops requests | Only alerts |
|---|---|---|
| OpenAI | Organisation or project spend limit with "Enforce a hard limit" on; an empty prepaid balance | A spend limit with that switch off; spend alerts |
| Anthropic | Organisation spend limit; workspace spend limit; tier cap; an empty prepaid balance | Workspace alert thresholds |
| AI Studio project spend cap; billing account tier cap; Cloud spend cap budget; an empty prepaid balance | Cloud Billing alerts-only budget |
Limits inside the agent
A provider limit catches what the agent's own settings miss. Set tighter limits inside the agent as well:
- a maximum output length for each request
- a maximum number of steps for each task
- a time limit for each task
- a daily limit on the number of tasks
A runaway bill can start with one task that keeps repeating. A step limit stops that loop long before a monthly cap does.
Decide what the agent does when a limit refuses it. Retrying won't help, so it should stop and tell a person.
Set it up this week
- Give each agent its own project or workspace.
- Set a monthly hard limit on each, such as 1.5 times the spending you expect.
- Add alerts at about half and four-fifths of that limit.
- Set an organisation-wide limit just above the total of all agents.
- If you prepay, turn off auto-reload, or set its monthly maximum where the provider offers one.
- On a test project, set a tiny limit and check that requests fail.
- Write down who gets the alerts, and who can raise a limit.
Check these settings again after any change to the agent. A new step or a longer prompt changes what it spends.
