Skip to content
Reference
3 min read

Usage & Pricing for Edge Middleware

Learn about usage and pricing for using Edge Middleware with Vercel.
Table of Contents
Choose a framework to optimize documentation to:

Usage metrics can be found in the Edge Middleware section of the Usage tab on your dashboard. The dashboard tracks two usage values:

  • 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.

Plan
Edge Middleware Limit
Price (after limit reached)
Hobby
1 million
not allowed
Pro
1 million
$0.65 per 1 million invocations
Enterprise
Custom
Custom

You can see the number of invocations made in the Edge Middleware section of the Usage tab on your dashboard.

Middleware invocations on your dashboard
Middleware invocations 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.

CPU utilization usage on your dashboard
CPU utilization usage 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 $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.

When your Hobby account 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 account is paused, you won't have the option to initiate a Pro trial. Instead, you can set up a Pro team:
    1. Create a Pro team account
    2. 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.

Last updated on March 2, 2023