4.5 MB Payload Limit

Quick question about Vercel payload limits. I’m hitting a frustrating blocker where Vercel’s 4.5MB API route limit conflicts with S3’s 5MB minimum chunk size for multipart uploads.

I’ve already built an entire upload system around S3 + CloudFront, so moving to Vercel Blob isn’t ideal for my situation.

Any chance Vercel could bump the payload limit to 6MB, at least for specific API routes? Or any other workarounds you’d recommend that don’t involve rebuilding my storage infrastructure?

Sharing the answer from a related thread about the 4.5MB body size limit:

But there are other ways you can get it working. We have a guide about how to use AWS S3 with Vercel projects, and an AWS S3 Image Upload example project that both show how to configure things.

I hope that helps!

1 Like