<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Yusuf</title>
    <description>The latest articles on DEV Community by Yusuf (@ytkimirti).</description>
    <link>https://dev.to/ytkimirti</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4247774%2F704edf7d-545d-46a3-ab4e-5c662a205a11.jpg</url>
      <title>DEV Community: Yusuf</title>
      <link>https://dev.to/ytkimirti</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ytkimirti"/>
    <language>en</language>
    <item>
      <title>The best sandboxes for AI agents in 2026: E2B, Daytona, Modal, Upstash Box, Fly.io Sprites and Blaxel, priced</title>
      <dc:creator>Yusuf</dc:creator>
      <pubDate>Thu, 19 Nov 2026 11:30:08 +0000</pubDate>
      <link>https://dev.to/ytkimirti/the-best-sandboxes-for-ai-agents-in-2026-e2b-daytona-modal-upstash-box-flyio-sprites-and-57o6</link>
      <guid>https://dev.to/ytkimirti/the-best-sandboxes-for-ai-agents-in-2026-e2b-daytona-modal-upstash-box-flyio-sprites-and-57o6</guid>
      <description>&lt;p&gt;&lt;strong&gt;Disclosure:&lt;/strong&gt; I work at Upstash, which makes Upstash Box. Every price below comes from the vendor's own pricing page or docs (November 2026), so you can check all of it.&lt;/p&gt;

&lt;p&gt;The rate cards look close: one vCPU with 2 GB lists at $0.08 to $0.17 an hour. The bills aren't, because each provider meters something different while your agent sits waiting on the model. So I priced one concrete workload on seven sandboxes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A coding-agent hour:&lt;/strong&gt; Claude Code or Codex running inside a 2 vCPU, 4 GB sandbox for an hour. Most of that hour goes to waiting on the model: the CPU does 10 vCPU-minutes of work, and about 1.5 GB of memory is in use.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The same for 100 users:&lt;/strong&gt; each user gets their own sandbox and one such hour a day, for a month (3,000 hours).&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Sandbox&lt;/th&gt;
&lt;th&gt;One coding-agent hour&lt;/th&gt;
&lt;th&gt;100 users, one month&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Upstash Box&lt;/td&gt;
&lt;td&gt;$0.017&lt;/td&gt;
&lt;td&gt;$50&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fly.io Sprites&lt;/td&gt;
&lt;td&gt;$0.041&lt;/td&gt;
&lt;td&gt;$122&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Modal&lt;/td&gt;
&lt;td&gt;$0.064&lt;/td&gt;
&lt;td&gt;$192&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vercel Sandbox&lt;/td&gt;
&lt;td&gt;$0.106&lt;/td&gt;
&lt;td&gt;$318&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;E2B&lt;/td&gt;
&lt;td&gt;$0.166&lt;/td&gt;
&lt;td&gt;$497&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Daytona&lt;/td&gt;
&lt;td&gt;$0.166&lt;/td&gt;
&lt;td&gt;$497&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Blaxel&lt;/td&gt;
&lt;td&gt;$0.166&lt;/td&gt;
&lt;td&gt;$497&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdo4pdth0ayo5vrfaefqg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdo4pdth0ayo5vrfaefqg.png" alt="Monthly bill for 100 per-user coding agents, one 1-hour session per user per day on a 2 vCPU, 4 GB sandbox: Upstash Box $50, Fly.io Sprites $122, Modal $192, Vercel Sandbox $318, E2B $497, Daytona $497, Blaxel $497" width="800" height="664"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What decides the bill
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Wall clock or actual use.&lt;/strong&gt; E2B and Daytona bill every vCPU and GB for every second the sandbox runs, waiting included. Box, Sprites and Vercel bill CPU only when it's busy. Modal bills the higher of what you request or what you use.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory.&lt;/strong&gt; Vercel bills provisioned memory for every running minute, which is 80% of its bill here. Sprites and Modal bill the memory actually in use. Box doesn't bill memory.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Where the agent loop runs.&lt;/strong&gt; Blaxel suspends about 15 seconds after the last connection. If your agent runs on your server and only calls the sandbox to run code, Blaxel bills each call plus those 15 seconds instead of the whole hour.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Busy CPU flips the order.&lt;/strong&gt; At 100% of both vCPUs, Box's default meter costs $0.20 an hour, more than E2B or Daytona at $0.1656. For always-busy work, a keep-alive Box costs a flat $0.0111 an hour ($8 a month).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The seven at a glance
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Sandbox&lt;/th&gt;
&lt;th&gt;Price (2 vCPU, 4 GB)&lt;/th&gt;
&lt;th&gt;Billed while the agent waits&lt;/th&gt;
&lt;th&gt;Between sessions&lt;/th&gt;
&lt;th&gt;Longest session&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Upstash Box&lt;/td&gt;
&lt;td&gt;$0.10 per busy vCPU-hour, memory free&lt;/td&gt;
&lt;td&gt;Nothing&lt;/td&gt;
&lt;td&gt;Auto-pauses with files kept, ~0.6 s resume&lt;/td&gt;
&lt;td&gt;No cap&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;E2B&lt;/td&gt;
&lt;td&gt;$0.1656/hour, per second&lt;/td&gt;
&lt;td&gt;CPU and memory&lt;/td&gt;
&lt;td&gt;Pause keeps memory and files, ~1 s resume&lt;/td&gt;
&lt;td&gt;24 h on Pro, 1 h free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Daytona&lt;/td&gt;
&lt;td&gt;$0.1656/hour, per second&lt;/td&gt;
&lt;td&gt;CPU and memory&lt;/td&gt;
&lt;td&gt;Stops after 15 min idle by default&lt;/td&gt;
&lt;td&gt;No cap&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Modal&lt;/td&gt;
&lt;td&gt;$0.142 per physical core-hour + $0.024/GiB-hour&lt;/td&gt;
&lt;td&gt;Memory in use, small CPU floor&lt;/td&gt;
&lt;td&gt;No pause; filesystem snapshots&lt;/td&gt;
&lt;td&gt;24 h&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fly.io Sprites&lt;/td&gt;
&lt;td&gt;$0.0385/CPU-hour + $0.021875/GB-hour, actual use&lt;/td&gt;
&lt;td&gt;Memory in use&lt;/td&gt;
&lt;td&gt;Sleeps when idle, 100 GB disk kept&lt;/td&gt;
&lt;td&gt;No cap&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Blaxel&lt;/td&gt;
&lt;td&gt;$0.0414/GB-hour while awake, CPU included&lt;/td&gt;
&lt;td&gt;Memory&lt;/td&gt;
&lt;td&gt;Standby keeps memory, under 25 ms resume&lt;/td&gt;
&lt;td&gt;No cap&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vercel Sandbox&lt;/td&gt;
&lt;td&gt;$0.128/busy CPU-hour + $0.0212/GB-hour&lt;/td&gt;
&lt;td&gt;Memory&lt;/td&gt;
&lt;td&gt;Snapshot on stop, resumes on the next call&lt;/td&gt;
&lt;td&gt;24 h on Pro, 45 min free&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  So which one
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Running untrusted code from your users:&lt;/strong&gt; E2B. Each sandbox is its own Firecracker microVM, the Python and JS SDKs are mature, and its Code Interpreter SDK runs model-written code in one call. Sessions over an hour need the $150/month Pro plan, and the meter runs while the agent waits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Long-running agent sessions and one sandbox per user:&lt;/strong&gt; Upstash Box. You pay for the CPU your agent burns, so a box waiting on the model or sitting idle between a user's visits costs only its disk ($0.10/GB-month). Each box is a persistent computer that keeps its files, packages and git history between sessions, with no session cap. It also does the agent plumbing you'd otherwise write:

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;box.agent.run()&lt;/code&gt; runs Claude Code, Codex, OpenCode or Cursor in the box with your own model key, or plugs in your own agent&lt;/li&gt;
&lt;li&gt;git clone, commit, push and &lt;code&gt;createPR&lt;/code&gt;, cron schedules that run a command or an agent prompt, and a managed Chromium&lt;/li&gt;
&lt;li&gt;Attach Headers adds API keys outside the box, so code inside can't read them, plus a network allowlist you can change on a running box&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPU work:&lt;/strong&gt; Modal. Sandboxes can take a GPU and bill per second. Daytona also rents GPUs by the hour.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A persistent dev machine with a big disk:&lt;/strong&gt; Fly.io Sprites. A hardware-isolated VM with a 100 GB disk, checkpoints in about a second, and its own HTTPS URL.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resuming in milliseconds between short tasks:&lt;/strong&gt; Blaxel. Standby keeps memory and running processes, and resumes in under 25 ms.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Windows or macOS desktops for computer-use agents:&lt;/strong&gt; Daytona. It also has Linux VMs, GPUs and $200 of free compute. If you picked it to self-host, its open-source GitHub repo is now archived; BYOC is an Enterprise option.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Apps already on Vercel:&lt;/strong&gt; Vercel Sandbox. Firecracker isolation, persistent by default, billed on your Vercel account.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Before you pick
&lt;/h2&gt;

&lt;p&gt;Boot time matters less than vendors suggest: cloning a repo and installing packages takes longer than any of these starts. What matters more is what the agent can reach. Keep API keys out of environment variables (the code your model writes can read them), lock outbound traffic to the domains the agent needs, and run a day of your real agent before you trust any estimate, including mine.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I compared them
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Prices:&lt;/strong&gt; list prices on 2026-11-18, pay-as-you-go, default US region. Plan fees, free credits and model tokens are left out.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The hour:&lt;/strong&gt; 2 vCPU and 4 GB where you pick a size, awake for the full hour, 10 vCPU-minutes of CPU (8% use; Vercel's own examples assume 10% "reflecting time spent waiting for LLM calls"), 1.5 GB of memory in use (Sprites' own Claude Code example).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Modal:&lt;/strong&gt; default request (0.125 core, 128 MiB), CPU as 5 minutes on one physical core (2 vCPU) and 55 minutes under the floor.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sprites:&lt;/strong&gt; actual CPU and memory plus 2 GB of hot storage while awake.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Blaxel:&lt;/strong&gt; charged for the full hour, assuming the agent runs inside it and keeps it awake.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Storage between sessions:&lt;/strong&gt; left out of the monthly figure. Rates per GB-month: about $0.02 for Sprites' cold storage, $0.08 for Daytona's stopped disk (first 5 GiB free) and Vercel snapshots, $0.10 on Box, $0.20 for Blaxel's memory-and-disk snapshots.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Box resume time:&lt;/strong&gt; my own measurement from Europe, pause then resume to the first command, three runs.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>devops</category>
      <category>security</category>
    </item>
    <item>
      <title>What to use for file uploads in a React app in 2026: UploadThing vs Vercel Blob vs Upstash Blob vs Cloudinary vs Supabase</title>
      <dc:creator>Yusuf</dc:creator>
      <pubDate>Thu, 19 Nov 2026 11:29:38 +0000</pubDate>
      <link>https://dev.to/ytkimirti/what-to-use-for-file-uploads-in-a-react-app-in-2026-uploadthing-vs-vercel-blob-vs-upstash-blob-vs-1k2e</link>
      <guid>https://dev.to/ytkimirti/what-to-use-for-file-uploads-in-a-react-app-in-2026-uploadthing-vs-vercel-blob-vs-upstash-blob-vs-1k2e</guid>
      <description>&lt;p&gt;&lt;strong&gt;Disclosure:&lt;/strong&gt; I work at Upstash, which makes Upstash Blob. Every fact below comes from each vendor's own docs and pricing page (November 2026), so you can check all of it.&lt;/p&gt;

&lt;p&gt;Adding file uploads to a React app sounds like one decision, but it's really two:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The file picker.&lt;/strong&gt; react-dropzone is a hook that gives you a drag-and-drop zone and nothing else. Uppy is a full upload dashboard with plugins for S3 and resumable tus uploads. FilePond is a polished file input that sends files to the endpoint you configure. None of them stores anything.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Where the files go.&lt;/strong&gt; A storage service, plus the logic around it: who's allowed to upload, how the file gets there, and what your database records once it lands.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Any picker works with any storage option, so use whichever UI you like. Storage is the choice that's hard to undo later, so that's what this post compares.&lt;/p&gt;

&lt;h2&gt;
  
  
  The options side by side
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Option&lt;/th&gt;
&lt;th&gt;Upload code you get&lt;/th&gt;
&lt;th&gt;Free plan&lt;/th&gt;
&lt;th&gt;Paid pricing&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;UploadThing&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;UploadButton&lt;/code&gt; and &lt;code&gt;UploadDropzone&lt;/code&gt; components; server adapters for Next.js, React Router, Express, Fastify and more&lt;/td&gt;
&lt;td&gt;2GB stored&lt;/td&gt;
&lt;td&gt;$10/mo for 100GB, or $25/mo for 250GB then $0.08/GB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vercel Blob&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;upload()&lt;/code&gt; in the browser plus a &lt;code&gt;handleUpload&lt;/code&gt; route&lt;/td&gt;
&lt;td&gt;1GB stored, 10GB downloads (Hobby)&lt;/td&gt;
&lt;td&gt;$0.023/GB stored, $0.05/GB downloaded, or downloads covered by Flat Rate CDN on Pro&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Upstash Blob&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;useUpload&lt;/code&gt; React hook; upload handler in TypeScript, Python or Go&lt;/td&gt;
&lt;td&gt;1GB stored, 10GB downloads&lt;/td&gt;
&lt;td&gt;$0.02/GB stored, downloads free up to 1TB/mo, then $0.02/GB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cloudinary&lt;/td&gt;
&lt;td&gt;Upload Widget (local files, URL, camera, Google Drive)&lt;/td&gt;
&lt;td&gt;25 credits&lt;/td&gt;
&lt;td&gt;Plus: $99/mo for 225 credits (1 credit = 1GB stored, 1GB delivered or 1,000 transformations)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Supabase Storage&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;supabase-js&lt;/code&gt; uploads, tus resumable uploads, access through Postgres RLS&lt;/td&gt;
&lt;td&gt;1GB stored, 5GB egress, 50MB max file&lt;/td&gt;
&lt;td&gt;Pro from $25/mo: 100GB stored and 250GB egress, then $0.0213/GB and $0.09/GB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Firebase Storage&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;uploadBytesResumable&lt;/code&gt;, access through Security Rules&lt;/td&gt;
&lt;td&gt;Needs the Blaze plan: 5GB stored and 100GB/mo downloads at no cost&lt;/td&gt;
&lt;td&gt;Google Cloud Storage rates past that&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cloudflare R2&lt;/td&gt;
&lt;td&gt;None: you write presigned URLs, CORS and multipart&lt;/td&gt;
&lt;td&gt;10GB stored&lt;/td&gt;
&lt;td&gt;$0.015/GB stored, downloads free&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  So which one
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Upstash Blob, for user uploads in most React apps.&lt;/strong&gt; The &lt;code&gt;useUpload&lt;/code&gt; hook uploads from the browser straight to storage, with progress, retries, and resumable multipart for big files. The server side is an upload handler that checks who is uploading and records the file once it lands. It mounts in Next.js, React Router, Hono, SvelteKit, Cloudflare Workers, FastAPI or Go's &lt;code&gt;net/http&lt;/code&gt;, so a Vite SPA talking to a Python or Go API works the same way as a Next.js app. Downloads are free up to 1TB a month, and buckets are S3-compatible, so the AWS SDK and CLI work too.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloudinary, when the files are images or video you transform.&lt;/strong&gt; Resizing, cropping and format conversion are parameters in the delivery URL, and the Upload Widget handles camera and Google Drive sources for you. It's priced in credits, so heavy delivery adds up: Plus is $99/mo for 225 credits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Supabase Storage or Firebase Storage, when your auth already lives there.&lt;/strong&gt; Access rules sit next to your data (RLS on Supabase, Security Rules on Firebase). Supabase recommends its tus resumable upload for files over 6MB. Firebase Storage needs the pay-as-you-go Blaze plan; projects on the free Spark plan lost access to their buckets in February 2026.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vercel Blob, for a Next.js app on Vercel Pro where files are a side feature.&lt;/strong&gt; With Flat Rate CDN turned on, Blob downloads count toward the 1TB a month Pro includes. That 1TB is shared with the rest of your team's traffic, and Vercel excludes apps where file delivery is most of the bandwidth. Its &lt;code&gt;onUploadCompleted&lt;/code&gt; callback can't reach localhost, so local development needs a tunnel like ngrok.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloudflare R2, for many terabytes of downloads.&lt;/strong&gt; Free egress wins at that scale. You write the upload side yourself (presigned URLs, CORS, multipart), or pair it with Uppy's S3 plugin.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;UploadThing, for a drop-in button on a small Next.js project.&lt;/strong&gt; &lt;code&gt;UploadButton&lt;/code&gt; and &lt;code&gt;UploadDropzone&lt;/code&gt; leave very little to write. The &lt;code&gt;uploadthing&lt;/code&gt; package hasn't had an npm release since 7.7.4 in August 2025, so decide whether you're fine depending on it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The upload flow they all share
&lt;/h2&gt;

&lt;p&gt;Whatever you pick, don't send the file through your own server. Vercel Functions cap request bodies at 4.5MB, AWS Lambda at 6MB, and Next.js Server Actions at 1MB by default. The hosted options above all use the same three steps instead:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The browser asks your server for permission, and your server checks who the user is.&lt;/li&gt;
&lt;li&gt;The browser sends the file straight to storage with a short-lived token or signed URL.&lt;/li&gt;
&lt;li&gt;Your server saves the object key (not the file) in your database once the upload lands.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7wtjy7v8l4idsa9qatgc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7wtjy7v8l4idsa9qatgc.png" alt="How every option uploads a file: the browser asks your server for permission, sends the file straight to storage with a short-lived token, and your server saves the object key in your database" width="799" height="565"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On a Vite SPA, step 1 is one route on the API you already run. Supabase and Firebase fold it into their own auth and access rules. Cloudinary can skip it with an unsigned upload preset, though its docs call signed uploads the more secure option.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I compared them
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Prices:&lt;/strong&gt; list prices from each vendor's pricing page on November 18, 2026, US regions, monthly billing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vercel Blob:&lt;/strong&gt; iad1 (US East) rates for storage and Blob Data Transfer; cache misses and origin transfer are billed on top.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Firebase Storage:&lt;/strong&gt; the no-cost amounts apply to &lt;code&gt;*.firebasestorage.app&lt;/code&gt; buckets in us-central1, us-west1 and us-east1.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Supabase:&lt;/strong&gt; the $25 Pro plan covers the whole project, database included.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Upload features:&lt;/strong&gt; from each SDK's docs; UploadThing's last release date from npm.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>react</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>nextjs</category>
    </item>
    <item>
      <title>The best S3 alternatives in 2026: Cloudflare R2, Backblaze B2, Upstash Blob, Tigris and Wasabi, priced</title>
      <dc:creator>Yusuf</dc:creator>
      <pubDate>Tue, 17 Nov 2026 15:47:55 +0000</pubDate>
      <link>https://dev.to/ytkimirti/the-best-s3-alternatives-in-2026-cloudflare-r2-backblaze-b2-upstash-blob-tigris-and-wasabi-gi4</link>
      <guid>https://dev.to/ytkimirti/the-best-s3-alternatives-in-2026-cloudflare-r2-backblaze-b2-upstash-blob-tigris-and-wasabi-gi4</guid>
      <description>&lt;p&gt;&lt;strong&gt;Disclosure:&lt;/strong&gt; I work at Upstash, which makes Upstash Blob. Every price below comes from the vendor's own pricing page (November 2026), so you can check all of it.&lt;/p&gt;

&lt;p&gt;The best S3 alternative depends on what you store:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Serving many terabytes of downloads:&lt;/strong&gt; Cloudflare R2.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backups and archives:&lt;/strong&gt; Backblaze B2.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User uploads in a web app:&lt;/strong&gt; Upstash Blob.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI data used across several clouds:&lt;/strong&gt; Tigris.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Self-hosting:&lt;/strong&gt; Garage.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No single provider wins: the cheapest provider for a backup job is the wrong one for a video site, and neither is what you want for user uploads in a web app. So I priced three workloads on six S3-compatible services:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A. App uploads:&lt;/strong&gt; 50GB stored, 200GB downloaded, 100K uploads and 2M reads a month (avatars, documents, attachments).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;B. Media site:&lt;/strong&gt; 1TB stored, 10TB downloaded, 200K uploads and 20M reads a month.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;C. Backups:&lt;/strong&gt; 5TB stored, 100GB downloaded (restore tests), 1M uploads and 50K reads a month.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Provider&lt;/th&gt;
&lt;th&gt;A. App uploads&lt;/th&gt;
&lt;th&gt;B. Media site&lt;/th&gt;
&lt;th&gt;C. Backups&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Cloudflare R2&lt;/td&gt;
&lt;td&gt;~$0.60&lt;/td&gt;
&lt;td&gt;~$18&lt;/td&gt;
&lt;td&gt;~$75&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Backblaze B2&lt;/td&gt;
&lt;td&gt;~$0.78&lt;/td&gt;
&lt;td&gt;~$77&lt;/td&gt;
&lt;td&gt;~$35&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Upstash Blob&lt;/td&gt;
&lt;td&gt;~$2.05&lt;/td&gt;
&lt;td&gt;~$207&lt;/td&gt;
&lt;td&gt;~$105&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tigris&lt;/td&gt;
&lt;td&gt;~$2.30&lt;/td&gt;
&lt;td&gt;~$31&lt;/td&gt;
&lt;td&gt;~$105&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wasabi&lt;/td&gt;
&lt;td&gt;$7.99 (1TB minimum)&lt;/td&gt;
&lt;td&gt;not a fit&lt;/td&gt;
&lt;td&gt;~$40&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AWS S3&lt;/td&gt;
&lt;td&gt;~$11&lt;/td&gt;
&lt;td&gt;~$923&lt;/td&gt;
&lt;td&gt;~$120&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9ou5g2zrwy6ts90hnhrn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9ou5g2zrwy6ts90hnhrn.png" alt="Monthly bill for user uploads in a web app with 50 GB stored and 200 GB downloaded: Cloudflare R2 $0.60, Backblaze B2 $0.78, Upstash Blob $2.05, Tigris $2.30, Wasabi $7.99, AWS S3 $11.45" width="800" height="618"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What decides the bill
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Downloads.&lt;/strong&gt; S3 charges $0.09/GB after the first 100GB. R2 and Tigris charge nothing. Backblaze B2 is free up to 3x what you store, then $0.01/GB. Upstash Blob is free up to 1TB a month, then $0.02/GB.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Minimums.&lt;/strong&gt; Wasabi bills at least 1TB and keeps each object billable for 90 days. Its free egress is meant for downloads up to the amount you store, so a media site downloading 10x its storage doesn't fit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Storage price only matters once downloads are low.&lt;/strong&gt; For backups, B2 ($6.95/TB) and Wasabi ($7.99/TB) beat everyone.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  So which one
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Media site or anything serving many terabytes:&lt;/strong&gt; Cloudflare R2. Free egress wins at that scale. You write the upload side yourself (presigned URLs, CORS, multipart for big files) and add a custom domain, since &lt;code&gt;r2.dev&lt;/code&gt; URLs are rate-limited and meant for development.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backups and archives:&lt;/strong&gt; Backblaze B2. Cheapest per TB, API calls are free, and there's no minimum storage time. Wasabi is close if you store 1TB or more and keep it 90 days.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User uploads in a web app, under 1TB of downloads a month:&lt;/strong&gt; Upstash Blob. It costs a dollar or two more than R2 at this size (its buckets are backed by R2), but it ships the upload side you'd otherwise write:

&lt;ul&gt;
&lt;li&gt;an upload handler for your server in TypeScript, Python or Go, which mounts in Next.js, Hono, SvelteKit, Remix, Cloudflare Workers, FastAPI or plain &lt;code&gt;net/http&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;React hooks that upload from the browser straight to storage, so Vercel's 4.5MB and AWS Lambda's 6MB request limits never apply&lt;/li&gt;
&lt;li&gt;resumable multipart uploads for large files, a global CDN with no region to pick, and S3 credentials for the AWS SDK and CLI when you need them&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI data (model weights, datasets) used across several clouds or GPU providers:&lt;/strong&gt; Tigris. It copies objects close to wherever they're read, and moving data out is free.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Self-hosting:&lt;/strong&gt; Garage (AGPL-3.0), built for small-to-medium clusters. The MinIO community repo was archived in April 2026 and no longer ships binaries.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stay on S3:&lt;/strong&gt; if your company already runs on AWS and the egress bill is fine.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Before you switch
&lt;/h2&gt;

&lt;p&gt;All six speak the S3 API, so most code only needs a new endpoint and keys. Copy a test bucket with &lt;code&gt;rclone&lt;/code&gt; first and check the features you rely on (lifecycle rules, object lock, presigned POSTs), since S3-compatible doesn't mean every S3 feature.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I priced it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;List prices:&lt;/strong&gt; pay-as-you-go, US regions, including each paid plan's monthly allowances (R2's 10GB and free operations, B2's first 10GB, Tigris's 5GB, S3's 100GB of free egress, Upstash's 1TB of free egress). Free plans are left out.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AWS S3:&lt;/strong&gt; Standard storage in us-east-1, served straight from the bucket, $0.005 per 1,000 uploads and $0.0004 per 1,000 reads.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Upstash Blob:&lt;/strong&gt; $0.02/GB stored, $4.50 per million uploads, $0.30 per million reads.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wasabi:&lt;/strong&gt; pay-as-you-go at $7.99/TB, billed on the 1TB minimum when you store less.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>aws</category>
      <category>cloud</category>
      <category>webdev</category>
      <category>devops</category>
    </item>
    <item>
      <title>What file storage actually costs for a Next.js app in 2026: Vercel Blob vs R2 vs S3 vs Upstash Blob</title>
      <dc:creator>Yusuf</dc:creator>
      <pubDate>Tue, 17 Nov 2026 14:23:15 +0000</pubDate>
      <link>https://dev.to/ytkimirti/what-file-storage-actually-costs-for-a-nextjs-app-in-2026-vercel-blob-vs-r2-vs-s3-vs-upstash-blob-4lgc</link>
      <guid>https://dev.to/ytkimirti/what-file-storage-actually-costs-for-a-nextjs-app-in-2026-vercel-blob-vs-r2-vs-s3-vs-upstash-blob-4lgc</guid>
      <description>&lt;p&gt;&lt;strong&gt;Disclosure:&lt;/strong&gt; 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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A. SaaS attachments:&lt;/strong&gt; 20GB stored, 50GB downloaded, 60K uploads, 500K reads a month.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;B. Media app:&lt;/strong&gt; 500GB stored, 5TB downloaded, 100K uploads, 5M reads a month.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;C. Upload-heavy:&lt;/strong&gt; 200GB stored, 20GB downloaded, 500K uploads, 200K reads a month.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Workload&lt;/th&gt;
&lt;th&gt;Upstash Blob&lt;/th&gt;
&lt;th&gt;Cloudflare R2&lt;/th&gt;
&lt;th&gt;Vercel Blob (on-demand)&lt;/th&gt;
&lt;th&gt;Vercel Blob (Flat Rate CDN)&lt;/th&gt;
&lt;th&gt;AWS S3&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;A. SaaS attachments&lt;/td&gt;
&lt;td&gt;~$0.82&lt;/td&gt;
&lt;td&gt;~$0.15&lt;/td&gt;
&lt;td&gt;~$3.32&lt;/td&gt;
&lt;td&gt;~$0.82&lt;/td&gt;
&lt;td&gt;~$0.96&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;B. Media app&lt;/td&gt;
&lt;td&gt;~$92&lt;/td&gt;
&lt;td&gt;~$7.35&lt;/td&gt;
&lt;td&gt;~$263&lt;/td&gt;
&lt;td&gt;not eligible&lt;/td&gt;
&lt;td&gt;~$455&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;C. Upload-heavy&lt;/td&gt;
&lt;td&gt;~$6.31&lt;/td&gt;
&lt;td&gt;~$2.85&lt;/td&gt;
&lt;td&gt;~$8.12&lt;/td&gt;
&lt;td&gt;~$7.12&lt;/td&gt;
&lt;td&gt;~$7.18&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fys5jz8maydlrg31zjm6u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fys5jz8maydlrg31zjm6u.png" alt="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" width="800" height="528"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What drives the numbers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Downloads are the whole story.&lt;/strong&gt; 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.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Storage barely matters:&lt;/strong&gt; $0.015 to $0.023/GB-month everywhere.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Operations only matter for upload-heavy apps:&lt;/strong&gt; about $4.50 to $5 per million uploads on every provider (R2's first million each month are free).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9hwcni40k696wv2a26ar.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9hwcni40k696wv2a26ar.png" alt="Download fees for 1 TB a month: AWS S3 $81, Vercel Blob on-demand $50, Upstash Blob $0, Cloudflare R2 $0" width="800" height="528"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Vercel Flat Rate CDN catch
&lt;/h2&gt;

&lt;p&gt;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:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You turn it on in billing; otherwise Blob downloads are billed on-demand.&lt;/li&gt;
&lt;li&gt;The 1TB is shared with all your team's other traffic (pages, APIs, assets), not reserved for Blob.&lt;/li&gt;
&lt;li&gt;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.&lt;/li&gt;
&lt;li&gt;Pro itself is $20 per seat a month.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  So which one
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Many terabytes of downloads (video, a media site):&lt;/strong&gt; 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 &lt;code&gt;r2.dev&lt;/code&gt; URLs are rate-limited and meant for development.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A normal app already on Vercel Pro, where files are a side feature:&lt;/strong&gt; Vercel Blob with Flat Rate CDN.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Most Next.js apps with user uploads, under 1TB of downloads a month, wherever you host:&lt;/strong&gt; 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.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AWS S3:&lt;/strong&gt; if your company already runs on AWS.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Whatever you pick
&lt;/h2&gt;

&lt;p&gt;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 &lt;code&gt;images.remotePatterns&lt;/code&gt; if you use &lt;code&gt;next/image&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F54tnangdhr9u95r7ruuq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F54tnangdhr9u95r7ruuq.png" alt="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" width="800" height="828"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;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.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>nextjs</category>
      <category>webdev</category>
      <category>cloud</category>
      <category>vercel</category>
    </item>
  </channel>
</rss>
