Skip to content
Last updated on March 2, 2023
3 min read

Usage & Pricing for Edge Middleware

Learn about usage and pricing for using Edge Middleware with Vercel.

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 hit)
Hobby
1 million
not allowed
Pro
1 million
$0.65 per 1 million invocations
Enterprise
1 million
$0.65 per 1 million invocations

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

The Fair Use Policy 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. This policy is for 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
CPU utilization usage on your dashboard

For more information on billing, see the Billing section.

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.

Your account may be blocked if you exceed the limits. In this scenario, you will have two options to move forward:

  • Contact support
  • Upgrade to Pro

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.