Usage & Pricing for Edge Middleware
Learn about usage and pricing for using Edge Middleware with Vercel.The following table outlines the price for each resource according to the plan you are on and the region your middleware executes in:
The table below shows the metrics for the Edge Middleware section of the Usage dashboard.
To view information on managing each resource, select the resource link in the Metric column. To jump straight to guidance on optimization, select the corresponding resource link in the Optimize column.
See the manage and optimize Edge Middleware usage section for more information on how to optimize your usage.
Middleware is invoked for every request that is served and runs on all requests by default. You can limit the paths Middleware runs on by using a matcher in your config.
You can see the number of invocations made in the Edge Middleware section of the Usage tab on your dashboard.
The fair use guidelines denotes an average CPU time limit of 50ms/invocation within a one hour period across all of your Team's projects. This 50ms limit refers to the actual net CPU time used, not the execution time. Operations such as network access do not count towards the CPU time limit. These guidelines apply to all plans (Hobby, Pro, Enterprise).
You can see usage of your team's average CPU time on the Edge Middleware section of the Usage tab on your dashboard.
For Teams on a Pro trials, the trial will end if your Team has made over 1 million invocations.
Vercel will send you emails as you are nearing your usage limits, but you will also be advised of any alerts within the dashboard. Once your team exceeds the 1 million invocations limit, you will continue to be charged per 1 million invocations going forward. See the pricing section for more information.
Pro teams can set up Spend Management to get notified or to automatically take action, such as using a webhook or pausing your projects when your usage hits a set spend amount.
Enterprise agreements provide custom limits and pricing for Edge Middleware.
Vercel Edge Middleware is free for Hobby users within the usage limits.
Vercel will send you emails as you are nearing your usage limits. You will not pay for any additional usage. However, your account may be paused if you exceed the limits.
When your Hobby team is set to paused, it remains in this state indefinitely unless you take action. This means all new and existing deployments will be paused.
If you have reached this state, your application is likely a good candidate for a Pro account.
To unpause your account, you have two main options:
- Contact Support: You can reach out to our support team to discuss the reason for the pause and potential resolutions
- Transfer to a Pro team:
If your Hobby team is paused, you won't have the option to initiate a Pro trial. Instead, you can set up a Pro team:
- Create a Pro team account
- Add a valid credit card to this account. Select the Settings tab, then select Billing and Payment Method
Once set up, a transfer modal will appear, prompting you to transfer your previous Hobby projects to this new team. After transferring, you can continue with your projects as usual.
Was this helpful?