macrostack
Head-to-head · Object storage

Garage 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 Garage — same comparison, one verdict.

The short answer

Garage 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.

95

Garage

Object storage for geographically scattered, unreliable hardware.

OPEN SOURCEAGPL-3.0SELF-HOSTLOCAL-FIRST

Garage is a lightweight S3-compatible store built by Deuxfleurs for a case the others handle badly: nodes spread across different homes and cities on ordinary connections, where latency is high and machines come and go. It is deliberately small, has no single point of failure, and runs on hardware you would not consider adequate for object storage. AGPL-3.0. It is the most niche entry here and it earns its place by being the honest answer for community and self-hosted infrastructure rather than a datacentre.

40

Cloudflare R2

S3-compatible with zero egress fees — the direct answer to the complaint.

SOURCE-AVAILABLEProprietary (hosted service)

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

6 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.

 GarageCloudflare R2
Sovereignty ScoreOur transparent 0–100 composite for data ownership and exit cost.9540
Open sourceYesNo
Self-hostableYesNo
Local-first dataYesNo
LicenseAGPL-3.0Proprietary (hosted service)
PricingFree and open source. Designed for commodity and second-hand hardware.About $0.015/GB/month storage. No egress charges. Free tier included. Checked 2026-08-04.
The verdict

Garage edges it on the Sovereignty Score, but the right pick depends on the trade-offs below.

Garage

Strengths

  • +Built for geographically distributed nodes on unreliable links
  • +Extremely light — runs on hardware other stores refuse
  • +No single point of failure by design
  • +AGPL-3.0 with genuinely community governance

Trade-offs

  • Smallest project here by a wide margin
  • Fewer S3 API features implemented than MinIO
  • Not aimed at high-throughput single-datacentre workloads
  • Very small community if you get stuck

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 Garage

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 — smallest project here by a wide margin, 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.

Garage vs Cloudflare R2 — common questions

Is Garage a better fit than Cloudflare R2 for object storage?

It depends on what you are optimising for, and the honest split is this: Garage scores 95 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?

Garage 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 Garage?

Garage can be self-hosted; Cloudflare R2 cannot, so it stays on the vendor's infrastructure whatever you do.

Are Garage 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.

See all 5 Amazon S3 alternatives →

Related alternative guides

Facts verified 2026-08-04. Licenses and pricing change — spotted something out of date? That's a correction we want.

The Macrostack brief

New swaps, worth your inbox.

A short, occasional email when we add a high-intent alternative or ship a new head-to-head. No spam, no selling your address — unsubscribe in one click.