- Total number of invocations
- CPU time for the invocations
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.
Edge Middleware Limit
Price (after limit reached)
$0.65 per 1 million invocations
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).
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 $0.65 per 1 million invocations going forward.
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.
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 account 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.