How to set a Vercel spend limit
Enable an On-Demand Budget and Pause Production Deployments. Pausing affects production traffic; storage charges and AI Gateway usage can continue. Enforcement is delayed. Follow these steps to set Vercel’s controls.
Set the budget and pause action
Spend Management requires a team Owner or Billing role. It covers Pro and Enterprise Flexible Commitment teams.
- Select your team, then open Settings → Billing → Spend Management.
- Enable it and enter your On-Demand Budget in USD.
- For automatic pausing, enable Pause Production Deployments and confirm your team name.
Check Settings → My Notifications for alert preferences. On Pro, the budget counts metered usage beyond monthly credits. Checks run every few minutes. Seats, integrations and add-ons are excluded.
If the bill is already rising
Vercel's project controls let you pause one project manually:
- Select the project in the correct team.
- Open Settings → General → Pause Project.
- Review the effects, type the project name and confirm.
Visitors receive a 503 DEPLOYMENT_PAUSED response. Decide whether that interruption is acceptable before enabling automatic pausing across the team.
To restore service, select the paused project and use Resume Project under General settings. Raising the budget alone does not resume projects; resume each one after investigating the usage.
Give AI Gateway its own budget
For AI Gateway budgets, choose a team or project scope, select Add budget, enter the amount and choose a refresh period. The limit applies to Gateway usage for that scope.
Gateway checks budgets before requests and rejects later requests with HTTP 402 after the budget is exceeded. A request already admitted can put spend above the amount. Bring-your-own-key spending is excluded; control those costs with the provider too.
Check what happens after a pause
Before leaving this unattended, record who gets billing alerts and who can restore service. Review stored resources and external provider bills separately. Keep the budget below the amount you can tolerate losing, and decide who will investigate if production stops.
For a sourced example of unexpected usage, read the Cara Vercel bill account. If you also run Workers, our Cloudflare spend-limit guide explains its different controls.
Official sources
- Spend Management, Vercel
- Managing projects, Vercel
- AI Gateway budgets, Vercel