File Storage · head to head
Cloudflare R2 vs Restic

Cloudflare R2
File Storage
S3-compatible object storage that charges nothing for egress to the internet
- From
- Free
- Free plan
- Yes
The short version
- Restic is a fast, secure backup program.
- Restic is free; Cloudflare R2 starts at $0.015/mo.
- Only Cloudflare R2 lists zero egress billing; only Restic lists content-defined chunking.
- Where Restic falls short: A Windows file whose name contains a character Windows treats as invalid cannot be read by restic and has to be renamed.
How do Cloudflare R2 and Restic differ?
Cloudflare R2 and Restic differ on pricing model, platforms and category (File Storage against Backup). Only the attributes on which Cloudflare R2 and Restic actually diverge.
| Attribute | Cloudflare R2 | Restic |
|---|---|---|
| Pricing model | Per gigabyte stored per month | Free |
| Platforms | Web, API | Windows, macOS, Linux |
| Category | File Storage | Backup |
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: founded for Cloudflare R2.
Which features does each one have?
They share no listed features; 6 appear only for Cloudflare R2 and 15 only for Restic. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Cloudflare R2
- Zero egress billing
- S3 API compatibility
- Worker binding
- Jurisdictional restriction
- Infrequent Access tier
- Custom domain serving
Only in Restic
- Content-defined chunking
- Cryptographic verification
- Deduplication
- Encryption
- Multiple backends
- Snapshot management
- AWS S3
- Azure
What is each one used for?
Restic is most often brought in for scripted server backups with snapshot retention policies. The jobs each tool is most often brought in to do.
Cloudflare R2
- Serving a large media or asset library to the public where transfer out, not storage, is the dominant costnot Restic
- Hosting a container or artefact registry that thousands of CI runners pull from every daynot Restic
- Distributing model weights or open datasets that are downloaded far more often than they are updatednot Restic
- Moving off S3 specifically to stop paying data transfer charges on a read heavy bucketnot Restic
Restic
- Encrypted deduplicated backups to S3, B2, SFTP and local disk from the command linenot Cloudflare R2
- Scripted server backups with snapshot retention policiesnot Cloudflare R2
Where do Cloudflare R2 and Restic fall short?
Restic's most cited limit: A Windows file whose name contains a character Windows treats as invalid cannot be read by restic and has to be renamed. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Cloudflare R2
- There is no archive tier below Infrequent Access, so genuinely cold data costs roughly ten to fifteen times what it would cost in a deep archive class and there is nowhere cheaper to lifecycle it to
- Class A operations are billed at 4.50 USD per million, so a workload that writes millions of small objects can spend more on operations than on the storage those objects occupy
- Infrequent Access carries both a retrieval fee and a thirty day minimum storage duration, so data that is deleted or re-read sooner ends up more expensive than if it had stayed on Standard
- You choose a location hint rather than a region, so you cannot prove to an auditor which datacentre holds an object unless you use a jurisdiction restricted bucket, and jurisdictions are limited
- Support level follows your Cloudflare account plan rather than the storage spend, so a team on a low tier account gets ticket support with no storage specific SLA, and an R2 incident is a Cloudflare incident you cannot fail over from because the free egress only exists inside Cloudflare
Restic
- Cold storage is not natively supported; restoring from S3 Glacier and S3 Glacier Deep Archive is only available as an experimental feature behind a feature flag
- A Windows file whose name contains a character Windows treats as invalid cannot be read by restic and has to be renamed
- Antivirus real-time protection degrades performance on Windows unless the restic binary is added to an exclusions list
- On large repositories the built-in five minute stuck-request timeout fires during file listing and has to be raised manually with --stuck-request-timeout
How much do Cloudflare R2 and Restic cost?
Cloudflare R2 has a free plan, with paid plans from $0.015/mo; Restic is free to use. Plan by plan below, from each vendor's own pricing page.
Cloudflare R2
Free- Free tierFree
- 10 GB stored per month
- 1 million Class A operations
- 10 million Class B operations
- Standard$0.015/mo
- Per gigabyte stored per month
- 4.50 USD per million Class A operations
- 0.36 USD per million Class B operations
- Infrequent Access$0.01/mo
- Per gigabyte stored per month
- Per gigabyte data retrieval fee
- Thirty day minimum storage duration
Restic
Free- FreeFree
- Content-defined chunking
- Encryption
- Multiple backends
Which should you pick?
Choose Cloudflare R2 if
- You need zero egress billing.
- You want to start without paying.
- You work on Web, API.
- You also want s3 api compatibility.
Choose Restic if
- You need content-defined chunking.
- You want to start without paying.
- You work on Windows, macOS, Linux.
- You also want cryptographic verification.
Questions people ask
- Is Cloudflare R2 or Restic better?
- It depends on the job. Cloudflare R2 fits serving a large media or asset library to the public where transfer out, not storage, is the dominant cost; Restic fits encrypted deduplicated backups to S3, B2, SFTP and local disk from the command line. Cloudflare R2 starts at Free and Restic at Free.
- Which is cheaper, Cloudflare R2 or Restic?
- Cloudflare R2 starts at Free and Restic at Free.
- Does Cloudflare R2 or Restic run on more platforms?
- Cloudflare R2 runs on Web, API. Restic runs on Windows, macOS, Linux.
- Can I use Cloudflare R2 for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Cloudflare R2 best used for?
- Cloudflare R2 is most often used for serving a large media or asset library to the public where transfer out, not storage, is the dominant cost, hosting a container or artefact registry that thousands of ci runners pull from every day, distributing model weights or open datasets that are downloaded far more often than they are updated, moving off s3 specifically to stop paying data transfer charges on a read heavy bucket. Of those, serving a large media or asset library to the public where transfer out, not storage, is the dominant cost and hosting a container or artefact registry that thousands of ci runners pull from every day are not what Restic is typically brought in for.
- What can Cloudflare R2 do that Restic cannot?
- Cloudflare R2 covers Zero egress billing, S3 API compatibility, Worker binding, Jurisdictional restriction. Restic covers Content-defined chunking, Cryptographic verification, Deduplication, Encryption.
Answered from the vendors’ own pages
Cloudflare R2: Is egress really free, with no hidden transfer charge?
Yes for data served out of R2 to the internet. You still pay per operation for the requests that serve it, and if you pull data into R2 from another provider you pay that provider the egress on the way in.
Restic: How much does restic cost?
Restic is entirely free to use and completely open source. There are no subscription tiers, paid plans, or licensing costs.
SourceCloudflare R2: How does the total cost compare with S3 for a public download bucket?
Storage is more expensive per terabyte than S3 Infrequent Access, but S3 charges roughly 90 USD per terabyte served. Any bucket that serves more than about a fifth of its stored volume each month is cheaper on R2.
Cloudflare R2: Can I use R2 without using the rest of Cloudflare?
Yes, it works through the plain S3 API from anywhere. You lose the Worker binding and the free CDN caching in front of it, which is where a lot of the practical benefit sits.
Cloudflare R2: Does R2 have a cold archive class like Glacier?
No. Infrequent Access is the coldest tier, at two thirds of the Standard rate plus retrieval fees.
Related pages
More on Cloudflare R2
Other head to heads
- Cloudflare R2 vs IDrive e2
- Cloudflare R2 vs Storj
- Cloudflare R2 vs Tigris
- Cloudflare R2 vs Azure Blob Storage
- Cloudflare R2 vs Google Cloud Storage
- Cloudflare R2 vs Scality RING
- Cloudflare R2 vs MinIO
- Cloudflare R2 vs Cloudian
- Cloudflare R2 vs Panzura
- Cloudflare R2 vs Ceph
- Cloudflare R2 vs Tresorit
- Cloudflare R2 vs TrueNAS
- Cloudflare R2 vs Icedrive
- Cloudflare R2 vs Internxt
- Cloudflare R2 vs MEGA
- Cloudflare R2 vs ownCloud
- Cloudflare R2 vs Seafile
- Cloudflare R2 vs Synology
- Cloudflare R2 vs Borg Backup
- Cloudflare R2 vs Velero
- Cloudflare R2 vs Apple Time Machine
- Cloudflare R2 vs Duplicity
- Cloudflare R2 vs Duplicacy
- Cloudflare R2 vs Kopia
- Cloudflare R2 vs Bacula
- Cloudflare R2 vs rustic
- Cloudflare R2 vs Acronis Cyber Protect
- Cloudflare R2 vs Clonezilla
- Cloudflare R2 vs Duplicati
- Cloudflare R2 vs Comet Backup
- Cloudflare R2 vs Axcient x360Recover
- Cloudflare R2 vs Macrium Reflect
- Cloudflare R2 vs N-able Backup
- Cloudflare R2 vs AOMEI Backupper
- Cloudflare R2 vs Barracuda Backup
- Cloudflare R2 vs IDrive
- Restic vs IDrive e2
- Restic vs Storj
- Restic vs Tigris
- Restic vs Azure Blob Storage
- Restic vs Google Cloud Storage
- Restic vs Scality RING
- Restic vs MinIO
- Restic vs Cloudian
- Restic vs Panzura
- Restic vs Ceph
- Restic vs Tresorit
- Restic vs TrueNAS
- Restic vs Icedrive
- Restic vs Internxt
- Restic vs MEGA
- Restic vs ownCloud
- Restic vs Seafile
- Restic vs Synology
- Restic vs Borg Backup
- Restic vs Velero
- Restic vs Apple Time Machine
- Restic vs Duplicity
- Restic vs Duplicacy
- Restic vs Kopia
- Restic vs Bacula
- Restic vs rustic
- Restic vs Acronis Cyber Protect
- Restic vs Clonezilla
- Restic vs Duplicati
- Restic vs Comet Backup
- Restic vs Axcient x360Recover
- Restic vs Macrium Reflect
- Restic vs N-able Backup
- Restic vs AOMEI Backupper
- Restic vs Barracuda Backup
- Restic vs IDrive

