Skip to content

An editorial team and a community building with AI

← All articles

News · Vercel · 2 min read

Event date: · Published:

Vercel Functions now support request bodies up to 20MiB in public beta

Vercel announced on November 20, 2026 that Vercel Functions now support request bodies up to 20MiB, up from 4.5MB, as a public beta enabled through an environment variable.

Vercel announced on November 20, 2026 that Vercel Functions now support request bodies up to 20MiB, up from the previous 4.5MB cap, as described in Vercel's changelog post. The change ships as a public beta that developers opt into per project.

What changes in this beta

  • The request body limit rises from 4.5MB to 20MiB, released as a public beta on November 20, 2026.
  • Teams opt in by setting the environment variable VERCEL_SUPPORT_LARGE_REQUEST_BODY=1.
  • The higher limit works with the Node.js, Python and Bun runtimes, plus Routing Middleware.
  • Functions must use the 4GB performance memory setting to take advantage of the larger limit.
  • Edge runtime functions keep the 4.5MB cap and return an HTTP 413 error for oversized bodies.
  • To get the larger limit on Edge, teams must move to the Node.js runtime or use proxy.ts in Next.js.

What it means for people building with AI

A 4.5MB cap routinely broke file uploads and larger webhook or API payloads for apps running on Vercel, including AI apps that pass images, audio or large JSON blobs into a function. Raising the limit to 20MiB removes a common workaround for teams shipping on the platform and targets use cases such as larger uploads, webhooks and bigger API payloads.

Good to know before opting in

When the larger limit is enabled, Routing Middleware receives request headers and metadata but not the request body itself. Vercel advises reading the body promptly and avoiding holding it in memory, since doing otherwise can cause backpressure and memory issues.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

Vercel Functions now support request bodies up to 20MiB in public beta | vibecoding.inc