1 min read

Usage & Pricing for Edge Middleware

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

This section details our improved infrastructure pricing. On April 25, 2024, these changes will apply to all new Pro customers. Starting May 25, 2024, current Pro customers will see these changes take effect on their next billing cycle. The Hobby tier remains free.

The following table outlines the price for each resource according to the plan you are on and the region your middleware executes in:

Select a Region
Managed Infrastructure pricing
Hobby Included
Pro Included
Pro Additional
Pro Price
First 1,000,000First 1,000,0001,000,000 Invocations$1.50

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.

Manage and Optimize pricing
InvocationsThe number of times your Middleware has been invokedYesLearn More
CPU TimeThe time your Middleware has spent computing responses to requestsNoLearn More

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 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 May 22, 2024