Vercel Functions can now be up to 5GB in package size
By Steven Van ·
Node.js and Python functions on Fluid compute can now reach 5GB, up from 250MB, with opt-in via an environment variable.
Vercel Functions can now ship up to 5GB in package size on Node.js and Python runtimes, a 20x increase over the previous 250MB limit. The feature, called Large Functions, is in public beta and runs on Fluid compute.
The higher ceiling targets backend workloads that don't fit in 250MB: Python data and AI libraries, large generated clients, browser automation dependencies, image and video processing packages, and routes with substantial shared application code.
New Vercel projects are enrolled in the beta automatically. Existing projects can opt in by setting VERCEL_SUPPORT_LARGE_FUNCTIONS=1 as an environment variable and redeploying, or scope it to preview deployments first to test before turning it on in production. Functions that stay under 250MB keep using the standard path, and the dashboard shows which deployments are using Large Functions.