Can you set a hard spending limit on Vercel?
Yes, on Pro and on Enterprise with the Flexible Commitment plan. Spend Management lets you set a spend amount, and Vercel sends web and email notifications at 50, 75 and 100 percent of it. A spend amount doesn't stop usage on its own: you also need to turn on Pause Production Deployments, and then Vercel pauses production for every project on the team once the amount is reached.
Vercel checks your spend every few minutes, so projects keep serving traffic for several minutes past the amount. Projects don't unpause when you raise the amount; you resume each one by hand. Hobby is a free tier with no billing cycles: go over a limit and you wait 30 days to use that feature again. More in Vercel Spend Management and Vercel pricing.
| Control | What it does | The gap |
|---|---|---|
| Spend amount | Notifications at 50, 75 and 100 percent, plus an optional webhook | Doesn't stop usage on its own |
| Pause Production Deployments | Pauses production for every project when the amount is reached | All projects at once; you unpause each by hand |
| Attack Challenge Mode by hand | Challenges every visitor to one project | You have to notice the attack first |
| Costbrake | Spike alerts every 5 minutes, pause or challenge one project | An admin confirms every brake |
What Costbrake reads from Vercel
The live figure is Spend Management's on-demand total for the current period. It leaves out seats, integrations such as Marketplace, and add-ons, which Vercel charges monthly; Costbrake picks those up from the daily bill. Hobby teams have no usage billing, so there is nothing to watch.
The live figure needs a token from a user with the Owner or Billing role. A Member, Developer or Viewer token still gets the daily bill, and Costbrake retries the live figure every hour. If one bot-driven project is behind your bill, see Vercel bill too high.
The Vercel token
Create the token under Account Settings > Tokens, name it Costbrake, set its scope to the team you want to watch and pick an expiry date. Vercel has no read-only scope: a team-scoped token can read and write that team's resources across all of its projects. Costbrake only reads with it, except for brakes an admin starts.
Brakes use the same token, so they need a user with the Owner or Member role. A Billing-role token can watch spend but can't brake.
How a Vercel brake works
Costbrake never brakes on its own. On Pro and Team, an admin turns the killswitch on for the connection, picks a project, types the connection name and clicks Brake now. Both brakes act on one project, so the rest of the team keeps serving traffic.
- Attack Challenge Mode is free on every Vercel plan, and requests it blocks don't count toward your usage.
- Costbrake turns Attack Challenge Mode on with no end time; Undo puts back what was there before.
- Pausing is the stronger brake: it takes production offline until you undo it.
- For how Attack Challenge Mode treats bots and crawlers, see Vercel Attack Challenge Mode.
What triggers a Vercel alert
A spike alert fires when an hour costs more than 3 times your 7-day hourly average and at least $5 more, once Costbrake has 24 hours of history. Budget alerts fire at 50, 80 and 100 percent by default, and Pro adds forecast alerts. Free sends email; Pro adds Slack, Discord and webhooks; Team adds PagerDuty. Compare plans on the pricing page.
Questions and answers
Does Costbrake stop Vercel spend automatically?
No. Costbrake alerts you, and an admin on Pro or Team decides whether to brake. A brake needs the killswitch turned on for the connection, the connection name typed in, and a click on Brake now. Every brake has an Undo.
Does pausing a Vercel project stop all charges?
No. Pausing takes the production deployment offline, but preview deployments stay up, stored resources such as deployment storage and Blob keep billing, and AI Gateway API key usage and v0 usage continue.
Which Vercel role does the Costbrake token need?
Owner or Billing for the live on-demand figure. Member, Developer and Viewer tokens only get the daily bill. Brakes need an Owner or Member token; a Billing-role token can watch spend but can't brake.
Can Costbrake watch a Vercel Hobby account?
No. Hobby is a free tier with no billing cycles and no usage billing, so there is no spend to watch. Vercel pauses a Hobby feature for 30 days once you go over its limit.
How fast does Costbrake see a Vercel spend spike?
Vercel updates the on-demand total every few minutes. Pro and Team check it every 5 minutes, and every 2 minutes for the 2 hours after a spike alert. Free checks hourly.
Sources
Updated