Vercel Functions now support up to 5GB package size
Vercel Functions now support Node.js and Python deployments up to 5GB in package size through Fluid compute, a 20x increase from the previous 250MB limit. This enables support for large workloads like data science libraries, browser automation, image/video processing, and extensive application code.
now support Node.js and Python deployments up to 5GB in package size on , a 20x increase over the previous 250MB limit. Large Functions support is in .Vercel FunctionsFluid computepublic beta
This makes Vercel compatible with backend workloads that do not fit within the 250MB limit, such as Python data and AI libraries, large generated clients, browser automation dependencies, image and video processing packages, and routes with substantial shared application code.
New projects are automatically enrolled in the beta. Existing projects can opt in by adding as an , then redeploying, or you'll be asked to opt in if a Function ever crosses the 250MB limit. You can scope the variable to preview deployments first to test before enabling it in production.VERCEL_SUPPORT_LARGE_FUNCTIONS=1Environment Variable
Vercel still keeps Functions under 250MB in package size on the standard path. In eligible projects, only Functions that exceed the standard 250MB limit use the beta; other Functions in the same deployment are unchanged. The dashboard surfaces when a deployment is using Large Functions, so you always know exactly what's running.
Learn more in the .Vercel Functions limits documentation
Source: original entry ↗