Vercel

Vercel Increases Function Package Size Limit to 5GB in Public Beta


Executive Summary

Vercel has announced a public beta for Large Functions, increasing the maximum deployment package size for both Node.js and Python functions by 20x, from 250MB to 5GB. This enhancement runs on Vercel's Fluid compute infrastructure and is designed to support backend workloads with substantial dependencies, such as AI libraries, browser automation tools, and media processing packages. New projects are automatically enrolled in the beta, while existing projects can opt-in to accommodate larger deployments.

Key Takeaways

* 20x Size Increase: The maximum package size for a single function is now 5GB, a significant increase from the previous 250MB limit.

* Availability: The feature is in public beta. New projects are automatically opted-in, while existing projects can enable it by setting the `VERCEL_SUPPORT_LARGE_FUNCTIONS=1` environment variable.

* Target Use Cases: The update specifically targets workloads that require large libraries or dependencies, including Python data and AI applications, browser automation, and image/video processing.

* Infrastructure Requirement: Large Functions run exclusively on Vercel's "Fluid compute" and are not currently compatible with Secure Compute or Static IPs.

* Implementation: In eligible projects, only functions that exceed the standard 250MB limit will use the new large function infrastructure; smaller functions within the same deployment remain unchanged.

* Future Roadmap: Vercel plans to support even larger functions, with 10GB and beyond coming soon.

Strategic Importance

This update makes Vercel a more competitive platform for full-stack and backend-heavy applications, particularly in the growing AI/ML space, by removing a critical limitation for developers using large libraries.

Original article