Vercel Expands Request Body Limit for Functions
Vercel Functions now support request bodies up to 20MiB, up from 4.5MB.

What happened
Vercel has increased the maximum size for inbound request bodies in its Functions to 20MiB, up from the previous limit of 4.5MB. This change allows developers to handle larger data payloads in their serverless functions.
To activate this feature, users must set the environment variable VERCEL_SUPPORT_LARGE_REQUEST_BODY=1. This opt-in setting applies to the entire project within the configured environment, enabling testing on preview deployments before moving to production.
Why it matters
The update addresses the growing need for handling larger data transfers in serverless environments. By allowing larger request bodies, developers can now process more complex or larger payloads without encountering size limitations, which can improve application performance and scalability.
Key details
Enabling this feature requires the project's functions to use a performance memory setting of 4GB. The change applies to functions and routing middleware running on Node.js, Python, and Bun runtimes. However, functions and middleware on the Edge runtime remain limited to 4.5MB and return a 413 status code for oversized bodies.
Users must switch to the Node.js runtime with the configuration 'runtime: 'nodejs'', or use proxy.ts in Next.js to take advantage of the larger request body limit. Middleware still processes other request headers, but body-dependent middleware behavior is no longer available.
Sources
Related stories

Vercel Increases Build Cache Limit to 5 GB
Vercel has raised the maximum build cache size limit to 5 GB for all build machines.

Together AI Releases Deployment Guide for vLLM Image
Together AI has published a guide for deploying a prebuilt vLLM image, accessible via a Google News link.

Zapier Speeds Up Demo Creation With Vercel
Zapier reduced demo development time from weeks to under two hours using Vercel.
Vercel Adds Build Cache Size Tracking
Vercel now shows build cache size and usage in deployment summaries.

Vercel Agent Requires User Approval for Production Changes
Vercel Agent needs user approval to modify production systems safely.

Perplexity Enables Local Model Execution on Macs
Perplexity now allows users to run pplx-decider-flash-v1.2 locally on Macs without an API key.