Hosting and cloud · Comparison
Amazon S3 vs Cloudflare R2
Both store files in buckets and speak the same API, so code can often switch with a few settings. The big difference is what you pay when people download your files.
2 options · 7 questions side by side · updated
| Compare | Amazon S3 | Cloudflare R2 |
|---|---|---|
| Storage price | About $0.023 per GB-month (Standard) | About $0.015 per GB-month (Standard) |
| Downloads (egress) | About $0.09 per GB after 100 GB free | Free |
| Free allowance | Covered by new-account credits | 10 GB and millions of operations a month |
| Storage classes | Many, down to deep archive | Standard and Infrequent Access |
| Ecosystem | The whole AWS toolset | Workers and Cloudflare's CDN |
| API | The original S3 API | S3-compatible, most features |
| Best for | Apps on AWS and cold archives | Public media and downloads |
How to choose between Amazon S3 and Cloudflare R2
- Pick S3 when the app lives on AWS or needs archive storage classes and deep AWS integrations.
- Pick R2 when files are served to the public often, since downloads cost nothing.
The options
More comparisons
- Vercel vs Netlify vs Cloudflare PagesAll three build your site from Git, serve it from a global CDN and give every branch a preview link. They differ in which frameworks they favour, how they bill, and what sits around the hosting.
- Serverless vs VPS vs shared hostingThree very different ways to run the server side of a site. They trade off how much you manage, how costs behave as traffic grows, and what kinds of software you can run.
- AWS vs Google Cloud vs AzureThe three big clouds offer similar building blocks under different names. The choice usually comes down to your team's experience, the ecosystem you already use and a few standout services.
- Fly.io vs Render vs Railway vs HerokuFour platforms that run your backend from Git or a container without you managing servers. They differ in free options, how they bill and how much control they give you.
- Git vs GitHubThe two names are often used as if they meant the same thing. Git is the program that records a project's history on your machine; GitHub is a website that hosts Git repositories and adds collaboration on top.
- npm vs pnpm vs Yarn vs BunAll four install packages from the same npm registry and read the same package.json. They differ in speed, disk use, strictness and what else comes bundled with them.
Crafted in the dark. Shipped to the world.
Tell us what you are building. You get a private project space with a proposal and a line-by-line quote within a day.