Dev.to WebDev 🛠 Dev 👁 0 📖 3 min read

What file storage actually costs for a Next.js app in 2026: Vercel Blob vs R2 vs S3 vs Upstash Blob

Disclosure: I work at Upstash, which makes Upstash Blob. Every number below comes from the vendor's own pricing page (November 2026), so you can check all of it. I priced three Next.js workloads on each provider. These

What file storage actually costs for a Next.js app in 2026: Vercel Blob vs R2 vs S3 vs Upstash Blob

Disclosure: I work at Upstash, which makes Upstash Blob. Every number below comes from the vendor's own pricing page (November 2026), so you can check all of it.

I priced three Next.js workloads on each provider. These are pay-as-you-go list prices, including the monthly allowances every paid account gets (R2's 10GB of storage and free operations, S3's 100GB of free egress, Upstash's 1TB of free egress). Free plans are left out.

  • A. SaaS attachments: 20GB stored, 50GB downloaded, 60K uploads, 500K reads a month.
  • B. Media app: 500GB stored, 5TB downloaded, 100K uploads, 5M reads a month.
  • C. Upload-heavy: 200GB stored, 20GB downloaded, 500K uploads, 200K reads a month.
Workload Upstash Blob Cloudflare R2 Vercel Blob (on-demand) Vercel Blob (Flat Rate CDN) AWS S3
A. SaaS attachments ~$0.82 ~$0.15 ~$3.32 ~$0.82 ~$0.96
B. Media app ~$92 ~$7.35 ~$263 not eligible ~$455
C. Upload-heavy ~$6.31 ~$2.85 ~$8.12 ~$7.12 ~$7.18

Monthly bill for a media app with 500 GB stored and 5 TB downloaded: AWS S3 $455, Vercel Blob $263, Upstash Blob $92, Cloudflare R2 $7.35

What drives the numbers:

  • Downloads are the whole story. S3 charges $0.09/GB after 100GB, Vercel Blob $0.05/GB on-demand, R2 nothing, and Upstash Blob nothing for the first 1TB a month, then $0.02/GB.
  • Storage barely matters: $0.015 to $0.023/GB-month everywhere.
  • Operations only matter for upload-heavy apps: about $4.50 to $5 per million uploads on every provider (R2's first million each month are free).

Download fees for 1 TB a month: AWS S3 $81, Vercel Blob on-demand $50, Upstash Blob $0, Cloudflare R2 $0

The Vercel Flat Rate CDN catch

Since September, Vercel Pro includes Flat Rate CDN: 1TB of transfer a month, or 50TB for $20/mo, and Blob downloads count toward it. For a normal web app on Pro, that makes Vercel Blob downloads close to free. Before you plan around it:

  • You turn it on in billing; otherwise Blob downloads are billed on-demand.
  • The 1TB is shared with all your team's other traffic (pages, APIs, assets), not reserved for Blob.
  • Vercel's eligibility rules exclude apps where delivering files or media is most of the bandwidth, and using the CDN as file hosting. Workload B doesn't qualify, so it stays on-demand at $0.05/GB.
  • Pro itself is $20 per seat a month.

So which one

  • Many terabytes of downloads (video, a media site): Cloudflare R2. Free egress wins at that scale. You write the upload flow yourself (presigned URLs, CORS, multipart for big files), and for production you'll want a custom domain, since r2.dev URLs are rate-limited and meant for development.
  • A normal app already on Vercel Pro, where files are a side feature: Vercel Blob with Flat Rate CDN.
  • Most Next.js apps with user uploads, under 1TB of downloads a month, wherever you host: Upstash Blob. It's a few dollars a month at most above R2 (its buckets are backed by R2), downloads are free up to 1TB a month, and it ships the upload side you'd otherwise write: a Next.js route handler, a React hook, and resumable multipart uploads for large files.
  • AWS S3: if your company already runs on AWS.

Whatever you pick

Don't push files through a Server Action (1MB body limit by default) or a Vercel Function (4.5MB). Upload from the browser straight to storage with a short-lived token from your server, store the object key in your database, and add the storage domain to images.remotePatterns if you use next/image.

Upload flow: the browser asks a Next.js route handler for a short-lived token, puts the file straight into the storage bucket, and the object key is saved in your database

How I priced it: Vercel Blob on-demand uses the iad1 rates ($0.023/GB storage, $0.05/GB transfer, $5 per million uploads, $0.40 per million cache misses at 30% misses). S3 is Standard in us-east-1, served directly from the bucket. Flat Rate CDN assumes the 1TB tier covers the downloads.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.