Cap what AI can spend
Set a token budget and a cost budget, commit them, and read on Claw's Usage page what the budget allows and where it went.
Goal
A token budget of 2 million and a cost budget of $50, committed, and shown on Claw → Usage.
Before you start
An agent that runs on a schedule, or a flow that calls Claw for each alert, can spend far more than a person typing. A budget is how you decide the most it may spend before anyone has to look.
Open Limits. On Settings → AI, open Limits. Usage limits: Cumulative caps per window. New requests are refused once one is reached. Two boxes:
- Token budget: Blank uses the install default (
ASSISTANT_TOKEN_BUDGET); 0 means unlimited. - Cost budget (USD): Estimated spend. Blank means no cap. Only enforced for models with a known price.
A model on your own hardware has no price Studio knows, so the token budget is the one that holds it.
- Token budget: Blank uses the install default (
Read where the budget goes. Open Claw → Usage: Where the AI budget went, over Today, 7 days, 30 days or 90 days. At the top, Spend, Model calls, Tokens in / out and Cache reads, Share of input tokens served from the prompt cache. Under BUDGET, Tokens 0 of 2M and Cost $0.00 of $50.00: The budget window rolls. Once a cap is reached, new AI requests are refused until usage ages out of the window. Below, the spend BY FEATURE, BY AGENT and BY MODEL, so you can tell which agent or flow is spending it.

You should now see
BUDGET on Claw → Usage reading 0 of 2M tokens and $0.00 of $50.00. With no provider, nothing has been spent. Once one is connected, this page is where you check the spend, and BY AGENT is where you find the agent to rein in.
Quick check
Go deeper
- Usage, for every figure on the page.
- AI settings, for the limits.

