What counts toward the cap
The cap measures your total Astro AI token spend. This total is the sum of both billable line items:- Model Chargeback
- Intelligence fee
Prerequisites
- The Organization Owner or Organization Billing Admin role.
- AI features enabled for your Organization. See Toggle AI features for your Organization. If AI features are disabled, the setting shows N/A.
Set the cap
- In the Astro UI, click Organization Settings, then click Billing.
- In the Policies section, find Astro AI token spending cap.
- Enter a monthly limit in US dollars and save your changes.
What happens when the cap is reached
When the cap status changes to IN_ALARM, Astro rejects new AI requests from every user in your Organization until the cap resets. This applies to every surface that uses Astro AI, including:- Otto in the Astro UI and the Astro CLI.
- AI-powered authoring in the Astro IDE.
- Otto code review and investigations.
The cap is a soft limit. Requests that are already running when the cap is reached can finish, so your total spend can go slightly above the cap.
Astro doesn’t send a warning or email before the cap is reached. Check the cap status on the Billing page to monitor it.