Vercel announced today that Vercel Functions in public beta now accept request bodies up to 20 MiB, up from the previous 4.5 MB limit. The feature is enabled by setting the environment variable VERCEL_SUPPORT_LARGE_REQUEST_BODY=1 and applies per project and per deployment environment. It requires functions to use the 4 GB performance memory setting and is available for Node.js, Python and Bun runtimes as well as Routing Middleware.
What is new
To activate the larger limit, add VERCEL_SUPPORT_LARGE_REQUEST_BODY=1 to the desired environment (preview or production). The setting affects the whole project; once enabled, all functions running on Node.js, Python or Bun can receive request bodies up to 20 MiB. Edge functions keep the 4.5 MB cap and will return a 413 response if the payload is larger.
What this means
Developers can now handle bigger uploads—such as images or JSON files—directly in a serverless function without resorting to external storage services. Because the limit only works with a 4 GB memory allocation, projects using lower memory must adjust their configuration or switch to the Node.js runtime (runtime: 'nodejs' or proxy.ts in Next.js). The opt‑in can be tested in a preview environment first, allowing a staged rollout.



