AI agent spending limits: how to cap costs before they cap you
How to set an AI agent spending limit that actually holds: why agents overspend, the four layers of limits, and what should happen when one is hit.

On this page
Part of AI employees without credit burn: Sintra, Lindy and Marblism alternatives
An AI agent spending limit is a ceiling on what an agent may spend on AI, per day, per month or per job, that stops new work before it overspends. The good ones hold the work instead of cancelling it, warn you before the limit, and sit at several levels, because a single cap on the provider's side only tells you after the money is gone.
Agents spend in a way people don't. They work at 3am, they retry, they re-read the same 40-page document on every turn. This page covers why that happens, the four layers of limits that stop it, and the separate question of an agent spending your actual money.
Why AI agents overspend
A chatbot costs what you type into it. An agent costs what it decides to do, and it decides a lot.
- Heartbeats on expensive models. An agent that wakes every few minutes to check "anything new?" pays for every check. One OpenClaw user's agent spent $18.75 overnight asking whether it was daytime yet, per Notebookcheck.
- Loops and retries. A tool fails, the agent tries again, and again. Another user reported burning $250 of tokens in a single day (Indie Hackers).
- Context that only grows. Every turn resends the conversation, the instructions and any files. A long-running job gets more expensive per step.
- The wrong model for the job. Using a frontier model to tag support tickets is like hiring a barrister to sort the post.
None of this is unique to open source. Credit-based products have the same physics; they just show it as credits. Lindy, for example, says a quick ask costs 2 to 250 credits and deep work 250 to 1,000, and monthly credits do not roll over (lindy.ai/pricing). Grok Bot bills usage beyond its weekly allowance on token cost (x.ai/bot). More in AI employees without credit burn.

Two kinds of AI spend, two kinds of limit
Before setting caps, know which bill you are capping.
| Subscription you sign in to | Pay-per-use API key | |
|---|---|---|
| Examples | Claude Code or Codex with your own login | Anthropic, OpenAI, Google, xAI or OpenRouter keys |
| How it bills | Flat monthly price | Per token, no ceiling by default |
| What runs out | Usage windows that reset | Money |
| What to watch | Time until reset | Dollars per day and month |
Subscriptions cannot run up a surprise bill, but agents can exhaust their windows and stall. API keys never stall and can run up any bill. A good setup shows both: how much of each plan's window is left, and what each key has spent.
The four layers of AI agent spending limits
One limit is a hope. Four is a plan.
- 1Provider capA usage limit in your AI provider's console, the last line of defence
- 2Daily limit per agentStops one agent's day when it reaches the cap
- 3Business monthly ceilingCaps a whole business or client
- 4Job budgetTokens, dollars or both for one big job, with an early warning
In Fluf, the last three are built in. They cap pay-per-use AI (API keys and OpenRouter); plans you sign in to never count toward them.
| Limit | Where in Fluf | What it does |
|---|---|---|
| Daily spend limit | App settings › AI accounts | The default every agent follows: it stops for the day at the cap |
| Each agent's own limit | Business settings › Spending limits | A daily limit for one agent, instead of the default |
| Business monthly limit | Business settings › Spending limits | A ceiling on estimated API dollars for the business each month |
| Job budget | The job's page, under Job budget | A token limit, a spend limit or both, for one job |
A job budget warns you at 80% by default; you can choose 50%, 75%, 80% or 90%. Dollar limits are estimates from live model prices, not an invoice, which is why the provider cap still matters. Full reference: Usage and budgets.

What should happen when a limit is hit
This is where most tools fail. A limit that cancels work loses it. A limit that only emails you lets the work continue. The right behaviour is to hold.
In Fluf, new work is held, not cancelled. The agent's chat says what is holding it and what to do, and held job work waits on the job page under Held work. Raise or remove the limit and it goes straight back to the agents. When Fluf can't price a model, the job budget's When usage has no price setting decides whether that work holds or runs on an estimate.
Agents can also read their own budget with the budget_state and budget_usage tools, so a well-briefed agent plans within it. Only you can raise a held budget.
Five habits that cut agent costs
- Cheap models for chores. Triage, tagging and summaries run well on small or local models. Keep the frontier model for reasoning. Each Fluf agent has its own model, and its memory comes along when you switch.
- Slow the heartbeat. Every 30 minutes is plenty for most check-ins, and a heartbeat that acts only on change wastes less.
- Budget every big job. Research across 40 pages? Give it a job budget and an early warning.
- Watch usage weekly. In Fluf, App settings › Usage shows each plan's windows and reset times, spend on each key, and which agents run on it. Each job shows Spend by agent.
- Use the plan you already pay for. Routing routine work through your Claude Code or Codex login, within that provider's terms and limits, turns a variable bill into a fixed one.
For OpenClaw-specific fixes, read OpenClaw token usage and OpenClaw cost.
The other spending limit: your actual money
AI usage is one bill. An agent that can buy, pay or subscribe is another, and it needs a rule, not a budget.
Every new Fluf organisation starts with four Ask me first rules: spend money, send email, post publicly and use this computer. Spend money is locked, so it asks even when an agent is in Full access. Want it stricter? Set it to Never and no agent can spend in any mode. Answer asks in the agent's chat, on your paired phone, or in Telegram. See Rules and approvals and human-in-the-loop AI agents.
Hire agents that stop before the bill does
Fluf shows what every AI account has left and holds work at the limits you set, with no credits and no markup on your AI. Download Fluf, free to start.
Questions people ask
- How do I stop an AI agent from running up a huge API bill?
- Set limits at more than one level: a daily cap per agent, a monthly ceiling for the business, and a budget on any big job. Add a usage cap in your AI provider's console as the last line of defence, and avoid frequent heartbeats on expensive models.
- Why did my AI agent spend so much overnight?
- Usually a loop: a heartbeat waking it every few minutes, a task retrying after an error, or a growing conversation resent in full each time. Each wake-up costs tokens even when nothing changes.
- Do spending limits apply to Claude or ChatGPT subscriptions?
- Not in dollars, because a subscription is a flat price with its own usage windows. In Fluf, spending limits cap pay-per-use AI such as API keys and OpenRouter; signed-in plans show their usage windows and reset times instead.
- What should happen when an AI agent hits its budget?
- The work should pause and wait, not vanish or carry on. In Fluf new work is held, the agent's chat says why, and raising the limit sends the held work straight back.
- Can an AI agent buy things with my money?
- Only if you let it. In Fluf every new organisation starts with a locked Ask me first rule on spending money, so an agent asks before any purchase even in Full access.
Sources
- Notebookcheck: the economics of OpenClaw's token use, checked 27 November 2026
- Indie Hackers: I burned $250 of tokens in a day with OpenClaw, checked 27 November 2026
- Lindy pricing, checked 27 November 2026
- Grok Bot, checked 27 November 2026



