megachangelog
Feature

Set per-user budgets on AI Gateway

You can now set individual dollar spending limits for each user on your team in AI Gateway, controlling spend from all their API keys and app tokens. When a user reaches their budget, AI Gateway rejects new requests until the budget resets or increases, helping prevent uncontrolled spending from coding agents and shared workloads.

You can now use to set a dollar spending limit for each user on your team. AI Gateway budgets

The limit covers spend from every API key attributed to the user, along with their app tokens. After it's reached, AI Gateway rejects new requests until the budget resets or is increased.

This is useful for controlling spend from coding agents and other workloads that run without supervision, and prevents one user from consuming all of the team's shared budget.

Open the view on the to set two kinds of user budgets: UsersBudgets page

Both default and custom budgets reset monthly by default, but you can change them to reset daily, weekly, or not at all. Budgets also support usage alerting via email to notify when you are at 50%, 75%, and/or 100% of your allocation.

User budgets don't replace API key, project, or team budgets. A request must remain within every budget that applies to it. Reaching any applicable limit blocks new requests.

API keys are attributed to the user who created them by default. If a key belongs to a production application or another shared workload, attribute it to the team from the to keep its spend out of the key creator's budget. Keys created prior to the user budget feature release were attributed to the team for backwards-compatibility, so rotate to new keys if you wish to have current usage fall under the user scope.API Keys page

Upgrade to the latest Vercel CLI with . You need Vercel CLI 59.6.2 or newer for user budgets, then set a default or custom user budget:vercel upgrade

Identify a member by their email address, username, or user ID.

Team owners can manage user budgets, and can also grant other members permissions from . Spend using (BYOK) credentials doesn't count toward user budgets.AI Gateway Budget Managerteam member settingsBring Your Own Key

Update to the latest Vercel CLI with to get started, and learn more in the AI Gateway .vercel upgradebudgets documentation

Read more

Set user budgets

Set budgets from the CLI

  • If set, applies separately to every person without a custom budget, including users added later. Each user gets their own allowance rather than sharing one limit across the team.Default budget:

  • Applies to one person and overrides the default. Removing it returns that user to the default budget.Custom budget:

ai-gatewaybillingbudgetscost-control

Source: original entry ↗