Budgets for API keys on AI Gateway
Vercel has added budget controls to its AI Gateway, allowing teams to set spend caps on individual API keys. The feature addresses the challenge of unpredictable AI costs as teams increasingly rely on coding agents and other token-heavy workflows. Administrators can configure a spend quota in dollars and choose a refresh period: daily, weekly, monthly, or none (no automatic reset). Once a key exceeds its limit, AI Gateway rejects further requests on that key until the budget resets or the limit is raised. The cap applies across all AI Gateway providers and models using that key, simplifying cost governance. Budgets can be set when creating a new key via the Vercel dashboard or edited on existing keys through the API Keys page. Additionally, keys can be created programmatically via the Vercel CLI, with the same optional refresh period. All budgeted keys appear in the team's API Keys view for centralized management. This update helps prevent cost overruns from autonomous workflows and allows teams to allocate spending limits per integration or developer.
Prevents surprise AI cost overruns from agents and token-heavy workflows.