MinIO vs Cloudflare R2
Both are alternatives to Amazon S3. Here's how they stack up — verified facts, no spin.
Also searched as Cloudflare R2 vs MinIO — same comparison, one verdict.
MinIO is open source (AGPL-3.0) and Cloudflare R2 is not (Proprietary (hosted service)) — so the real question is whether you want to own the object storage stack or rent it.
MinIO
TOP PICKThe S3 API on your own hardware — same calls, no egress bill.
MinIO is a high-performance object server that speaks the S3 API closely enough that most applications need only a changed endpoint. Run it on a spare machine, a rack, or across a cluster; it handles erasure coding, versioning and encryption. AGPL-3.0, around 61k stars. For anyone whose objection to S3 is the egress bill rather than the storage price, this removes it entirely — the data is on hardware you already pay for. AGPL is the caveat: read it before you embed MinIO in a product you distribute.
Cloudflare R2
S3-compatible with zero egress fees — the direct answer to the complaint.
R2 is Cloudflare's object store and its defining feature is a deliberate attack on S3's pricing: storage around $0.015 per GB per month and no egress charges whatsoever. For anything read frequently over the internet — media, assets, public datasets — that single difference can turn a four-figure monthly bill into a two-figure one. It is S3-API compatible, so migration is largely a config change. It is proprietary and hosted, which is the honest trade, and it makes Cloudflare rather than Amazon the party you depend on.
Side by side
10 points of comparison, every one read from a verified field. Green marks the side that wins a row outright. A dash means we do not hold that fact — never that it is zero.
| MinIO | Cloudflare R2 | |
|---|---|---|
| Sovereignty ScoreOur transparent 0–100 composite for data ownership and exit cost. | 92 | 40 |
| Open source | Yes | No |
| Self-hostable | Yes | No |
| Local-first data | Yes | No |
| License | AGPL-3.0 | Proprietary (hosted service) |
| Pricing | Free and open source. Commercial licence and support available from MinIO Inc. | About $0.015/GB/month storage. No egress charges. Free tier included. Checked 2026-08-04. |
| RAM to run it wellThe figure that actually matters, not the vendor's minimum. | 4 GB | — |
| Realistic running costWhat the box costs each month if you run it yourself. | $15–40/mo for a few TB on block storage, against S3 pricing that is cheaper per GB but charges for every request and every byte out | — |
| Setup timeHonest first-install estimate, not the marketing quickstart. | 1 hour single-node, a day for a distributed set | — |
| Ongoing maintenanceThe part nobody budgets for. | Moderate. Drive failures are your problem now, and so is capacity planning. | — |
MinIO is Macrostack's recommended Amazon S3 alternative, so it's our pick here.
MinIO
Strengths
- +S3-compatible API — most applications need one endpoint changed
- +No egress charges at all, because the data never leaves your network
- +Genuinely fast; used for high-throughput analytics workloads
- +Erasure coding, versioning and encryption built in
Trade-offs
- −AGPL-3.0 needs reading if you distribute a product containing it
- −You own durability now — replication and backups are your design
- −No Glacier equivalent for cheap cold archive
- −Recent licensing and feature changes have unsettled some users
Cloudflare R2
Strengths
- +Zero egress fees — the single biggest cost difference in this category
- +S3-compatible API, so migration is mostly configuration
- +Cheaper storage than S3 as well
- +Integrates with Cloudflare Workers and the CDN
Trade-offs
- −Proprietary and hosted — you have swapped one vendor for another
- −Fewer surrounding services than S3's ecosystem
- −No deep-archive tier comparable to Glacier
- −Ties you into Cloudflare's platform decisions
Which one fits you
The trade-offs above, turned into a decision. Find the line that describes your team.
Choose MinIO
if you want the source and the option to fork it, and you would rather run it on your own hardware, and your data should stay on machines you control.
Choose Cloudflare R2
if zero egress fees — the single biggest cost difference in this category.
Neither, yet
if both carry a real cost you should weigh first — aGPL-3.0 needs reading if you distribute a product containing it, and proprietary and hosted — you have swapped one vendor for another. If either of those is a dealbreaker for your team, the shortlist is wrong rather than the choice.
What it takes to run these yourself
Real requirements and honest running costs, not the vendor quickstart.
MinIO vs Cloudflare R2 — common questions
Is MinIO a better fit than Cloudflare R2 for object storage?
It depends on what you are optimising for, and the honest split is this: MinIO scores 92 to Cloudflare R2's 40 on data ownership and exit cost, so it is the safer choice if you care about being able to leave. Cloudflare R2 earns its place on a different axis — zero egress fees — the single biggest cost difference in this category. Neither is a wrong answer for every team; the table above is the actual comparison.
What happens if we want to switch later?
MinIO keeps its data local or in open formats, so leaving is an export rather than a negotiation. Cloudflare R2 keeps your data on its own infrastructure, which is the part to plan for: confirm the export path before you commit, not when you are already trying to leave.
Can I self-host MinIO?
MinIO can be self-hosted; Cloudflare R2 cannot, so it stays on the vendor's infrastructure whatever you do.
Are MinIO and Cloudflare R2 both alternatives to Amazon S3?
Yes — both appear in our Amazon S3 comparison, which is why they are worth putting side by side. People usually arrive here already having decided to move off Amazon S3 and now choosing between the two replacements, which is a narrower and much easier question.
Related alternative guides
Facts verified 2026-08-04. Licenses and pricing change — spotted something out of date? That's a correction we want.