Skip to content

Spend Limits & Alerts

Two limits stop spending at an amount you choose:

  • A monthly budget for the whole organization.
  • A monthly spend cap on each API key.

Both count spend on paid models, chat and video, over a calendar month in Japan time (JST): from 00:00 JST on the 1st, resetting on the next 1st. Neither ever refuses a free model. Requests through your organization’s own Anthropic key are billed by Anthropic, so they count toward neither limit, and neither refuses them. Requests already running when a limit is reached can take spend past it, and a video render is accepted only if what remains covers its price plus renders already in progress. Spend alerts email people as spend nears the budget or a key’s cap. The console uses English labels, including when your browser language is Japanese.

The budget covers everything the organization spends on paid models: in the console, in the Playground and with every API key. It is available whether the organization prepays for credits or is billed by invoice. The Owner, Admins and Billing admins set it under Monthly Budget on Settings → Billing.

  1. Turn on Monthly Budget, or select Manage Budget to change a budget already set.
  2. Enter the amount, in your billing currency.
  3. Select Confirm.

The card shows how much of the budget is used and when it resets. Turn the switch off to remove the budget.

When the budget is reached, requests to paid models are refused with 402 monthly_budget_reached, even if credits remain, until the 1st (JST) or until the budget is raised or removed. The console shows a banner to those who can view billing.

A budget at or below what the organization has already spent this month pauses paid requests within a minute of saving: the console warns you, and Confirm and Pause Requests saves it.

A monthly spend cap limits what one API key can spend, and so the damage a leaked key can do. It doesn’t touch other keys.

Set it in Monthly spend cap when you create a key on API Keys, or change it later by selecting the key’s name or Edit. See Organization API Keys for who can edit a key. Leave it empty for no cap, or set 0 to limit the key to free models. The cap is in your billing currency: whole yen for JPY, dollars with up to two decimals for USD.

The cap counts what that key spends on paid models. Requests from the console and the Playground count toward no key. The This month column on API Keys shows each key’s spend against its cap, and Cap reached marks a key at its cap.

When a key reaches its cap, its requests to paid models are refused with 402 api_key_spend_cap_reached until the 1st (JST). Raising or removing the cap lets them through again.

A cap at or below what the key has already spent this month pauses its paid requests within a minute of saving: the console warns you, and Save and Pause Requests saves it.

Spend alerts email people when this month’s spend reaches a share of the monthly budget, or of a key’s cap. They are off by default. The Owner, Admins and Billing admins set them under Spend Alerts on Settings → Billing: turn the switch on, choose the options below, and select Save.

  • Alert when this month’s spend reaches: any of 50%, 80% and 100% of the monthly budget. 80% and 100% are selected by default. Budget alerts need a monthly budget.
  • Send to: Owners and Admins, Billing admins, or both.
  • API key caps, on by default once spend alerts are on: also email when an API key reaches 80% and 100% of its monthly spend cap. A key’s alerts also go to the person who created it, while they are still a member.

Each threshold is emailed once a month: once for the budget, and once for each key. When spend passes several thresholds at once, only the highest is emailed, and a threshold below one already emailed this month is not emailed. The email names the organization, and for a key alert the key, with this month’s spend, the limit and when it resets. It goes out within minutes, in each recipient’s language. The Spend Alerts card shows the last threshold reached.

See this month’s spend in Analytics → Spend.