Vercelยท
Vercel Functions now support request bodies up to 20MiB
TL;DR
Vercel Functions can now accept request bodies up to 20MiB instead of 4.5MB in Public Beta, enabling larger uploads and payloads. Enable VERCEL_SUPPORT_LARGE_REQUEST_BODY=1 for a project environment with 4GB performance memory on Node.js, Python, or Bun; Edge remains capped at 4.5MB. Opting in removes body access from Routing Middleware to avoid duplicate transfers and added latency, and functions should read bodies promptly without retaining them in memory.
Relevant links
Sign in to save links