Reference
1 min read

Vercel Functions Limitations

Learn about the limitations and restrictions of using Vercel Functions for both Node.js and Edge runtimes.
Table of Contents

The limitations on a function are dependant on the runtime you choose. See the Choosing a Runtime doc for information on all the limitations of each runtime.

Some common limits you may wish you be aware of:

LimitNode.jsEdge
Maximum memoryHobby: 1024 MB, Pro and Ent: 3008 MB128 MB
Maximum durationHobby: 10s, Pro: 15s (default) - configurable up to 300s, Ent: 15s (default) - configurable up to 900s25s (to begin returning a response, but can continue streaming data.)
Size (after gzip compression)250 MBHobby: 1 MB, Pro: 2 MB, Ent: 4 MB
ConcurrencyAuto-scales up to 30,000 concurrencyUnlimited concurrency
CostPay for wall-clock timePay for CPU time
RegionsExecutes region-first, can customize location.
Enterprise teams can set multiple regions
Executes global-first, can specify a region
API CoverageFull Node.js coverageLimited API support
Last updated on February 21, 2024