FA Dev Tools

English中文

Cloudflare R2 — Free Tier, Billing and R2 vs S3 (2026)

cloudflare/cloudflare-r2-free-tier-vs-s3 · By Derek Lam · Updated · 46 views · Tags: cloudflare, r2, s3, aws, storage, pricing

Written with claude-opus-5-5


TL;DR

  • R2 needs a card or PayPal on file before it turns on, even if you never leave the free tier.
  • The free tier never expires: 10 GB storage, 1M writes and 10M reads a month, and downloads are always $0.
  • Neither Cloudflare nor PayPal offers a hard spending cap; a low-limit virtual card plus a billing alert is the closest.
  • R2 wins anything served to the internet: 100 GB with 1 TB of downloads is $1.35/mo vs ~$115 on S3 Sydney.
  • Verdict: use R2 by default; pick S3 only for versioning, replication, Glacier archive or tight AWS integration.

What R2 is

R2 is Cloudflare's object storage: buckets of files reached over an S3-compatible API, so rclone, aws s3, and the AWS SDKs work against it by pointing them at a different endpoint. Its selling point is zero egress fees: you pay to store and to write, never to download. It has no regions to choose. You pick auto, or a location hint such as Oceania, and Cloudflare places the bucket.

Amazon S3 is the original object store (2006) and the API that R2 copies. It has more storage classes, more features and deep ties into the rest of AWS, but it charges for every GB that leaves AWS.

How it's used here: Publish a Local Folder to the Web — R2 vs S3 vs EC2 syncs a desktop folder to an R2 bucket on r2.fishapple.com.

Free tier and billing

Turning R2 on needs a payment method

To turn on R2 (Dashboard → R2 Object Storage → Purchase R2 Plan), you have to add a credit card or PayPal to the Cloudflare account. That holds even when you only plan to use the free tier. There is no card-free way in.

The free tier, every month, with no end date

ItemFree each monthPrice after that
Storage (Standard)10 GB-month$0.015 / GB-month
Class A ops (write, list, copy, multipart)1,000,000$4.50 / million
Class B ops (read, head)10,000,000$0.36 / million
Egress (downloads to the internet)unlimited$0
Infrequent Access storagenone$0.01 / GB-month + $0.01 / GB retrieved

The free tier is a standing allowance, not a 12-month trial, so a small bucket can stay at $0 forever.

How to stay at $0

  • Use the Standard storage class only. The free tier doesn't cover Infrequent Access, which also bills at least 30 days per object.
  • Watch for list calls. Listing a bucket is a Class A operation. A sync job that lists the bucket every 5 minutes makes about 8,600 runs a month, which is fine; one that loops every few seconds can use up 1M.
  • Check usage in the dashboard. The R2 overview shows storage and operation counts for the month so far.
  • Turn on a billing notification so you get an email once usage starts to cost money.

Cloudflare has no setting that stops R2 at a dollar amount. Billing notifications only warn you. Go over the free tier and the charge goes to the payment method on file. To stop all billing, delete the buckets and cancel the R2 subscription; you can't just remove the card.

Can PayPal cap what Cloudflare charges?

Not in any useful way.

  • PayPal → Settings → Payments → Manage automatic payments lists Cloudflare's billing agreement. You can view it or cancel it, but there is no field to set a maximum amount per merchant. PayPal's old Automatic Billing product let the buyer pick a monthly limit, but it is deprecated, and with modern billing agreements the merchant sets the terms.
  • Cancelling the agreement doesn't cancel the bill. A failed charge leaves the amount owing on the Cloudflare account, and Cloudflare can suspend it.

The closest thing to a cap: pay with a virtual card that has its own spending limit (many banks, Wise and Revolut offer them), set to a few dollars. Attach it to Cloudflare directly or as PayPal's funding source. A charge above the limit is declined. Pair it with a Cloudflare billing notification, and keep usage under the free tier, because a declined charge is still a debt.

R2 vs S3

S3 prices below are Sydney (ap-southeast-2) list prices, matching AWS Storage Price Sydney. us-east-1 is about 10–20% cheaper but doesn't change any verdict.

Which one

OptionBest for — choose it whenAdvantageDon't use it if you need…
🟩 R2people on the internet download the files: a public bucket, a site's assets, a download folder$0 egress · 40% cheaper storage · free tier with no end date · custom-domain HTTPS in 1 click❌ object versioning❌ cross-region replication❌ an archive tier under $0.01/GB❌ IAM policies per prefix or condition
🟦 S3the data stays inside AWS (read by EC2, Lambda or Athena in the same region), or you need its data-protection features8 storage classes down to $0.002/GB · versioning · replication · Object Lock · fine-grained IAM❌ heavy public downloads (~$0.114/GB)❌ a free tier that lasts❌ HTTPS on your own domain without CloudFront

The one caveat that changes the call: traffic inside one AWS region is free, so if only AWS compute reads the files, S3's egress fee never applies and the gap shrinks to storage and request prices.

Status right now — 2026-10-24

🟩 R2🟦 S3
AgeGA since Sep 2022 (4 yrs)Since Mar 2006 (20 yrs)
ScaleNot published by CloudflareHundreds of trillions of objects (AWS)
Still shipping?✅ Monthly release notes: lifecycle rules, event notifications, bucket locks, Data Catalog (Iceberg)✅ Ships every month; storage classes and S3 Tables keep growing
S3 API coverage⚠️ Core object API ✅; versioning, replication, Object Lock, bucket policy, ACLs, tagging and website config ❌✅ the reference

Health verdict: neither is a risk. S3 is the incumbent; R2 is the one changing the price of egress.

Scorecard — the factors that decide it

#Factor🟩 R2🟦 S3 (Sydney)GapWinner
1Storage, Standard$0.015 / GB-mo$0.025 / GB-mo1.7× cheaper🟩
2Egress to internet$0$0.114 / GB after 100 GB/mo free∞🟩
3Requests (write / read, per M)$4.50 / $0.36$5.50 / $0.4418% cheaper🟩
4Free tier10 GB + 1M writes + 10M reads, foreverNew accounts (since 15 Jul 2025): $100–200 credits, 6 months; 100 GB/mo egress free foreverlasts vs expires🟩
5Public HTTPS on own domain1 click (Custom Domains)needs CloudFront; website endpoint is HTTP only~4 steps fewer🟩
6Time to a public bucket~15 min~1 h (Block Public Access, bucket policy, CloudFront, cert)~4× faster🟩
7Storage classes / archive2 (Standard, IA at $0.01)8+, down to $0.002/GB (Deep Archive)5× cheaper archive🟦
8Versioning + replication❌ / ❌✅ / ✅—🟦
9Access controlper-bucket tokens (Admin, Object R/W, Read)IAM policies per action, prefix, IP, condition—🟦
10Choice of locationauto + location hints; EU / FedRAMP jurisdictions30+ regions, exact pick—🟦
11EcosystemWorkers bindings, QueuesLambda, Athena, EventBridge, CloudFront, Backup…—🟦
=Total🏆 65🟩

R2 wins on price and setup, which you pay for every month. S3 wins on features that many small projects never use. Score the rows that matter to you; if 7 or 8 is a hard requirement, S3 wins regardless of the total.

What it costs — three sizes

Monthly, USD, list prices, 1 TB = 1,000 GB. The S3 + CloudFront column puts CloudFront in front, which is free from S3 to CloudFront and has 1 TB/month of egress free.

Scenario🟩 R2🟦 S3 direct🟦 S3 + CloudFrontR2 vs cheapest S3
Hobby: 5 GB stored, 20 GB downloads, 10k writes, 200k reads$0~$0.27~$0.19free vs cents
Small site: 100 GB, 1 TB downloads, 1M writes, 10M reads$1.35~$115~$8.506× cheaper
Busy: 1 TB, 10 TB downloads, 5M writes, 50M reads$47.25~$1,203~$1,13024× cheaper
  • R2: (100 − 10 free) GB × $0.015 = $1.35. 1M writes and 10M reads are inside the free tier. Egress $0.
  • S3 direct: 100 GB × $0.025 = $2.50, 1M PUT × $5.50/M = $5.50, 10M GET × $0.44/M = $4.40, (1,000 − 100 free) GB × $0.114 = $102.60. Total ~$115.
  • S3 + CloudFront: storage $2.50 + PUT $5.50 + ~1M origin GETs (the rest are cache hits) $0.44. CloudFront's free 1 TB and 10M requests cover the rest. Total ~$8.50.

Main features

Capability🟩 R2🟦 S3
S3 API for objects (put, get, list, multipart, presigned URLs)✅✅
CORS✅✅
Lifecycle rules (expire, move to IA)✅✅
Event notifications✅ via Queues✅ SNS, SQS, Lambda, EventBridge
Custom domain with HTTPS, built in✅❌ needs CloudFront
Static website config (index / error document)❌ needs a Worker✅ HTTP only
Object versioning❌✅
Cross-region replication❌✅
WORM retention⚠️ bucket locks (R2 API only)✅ Object Lock, compliance mode
Bucket policy / ACLs❌✅
Object and bucket tagging❌✅
Archive storage (hours to retrieve)❌✅ Glacier Flexible, Deep Archive
Query in place✅ R2 Data Catalog (Iceberg), R2 SQL✅ Athena, S3 Tables
Migrate from the other✅ Super Slurper, Sippy (copy on read)✅ DataSync, rclone
Hard spending cap❌ alerts only⚠️ AWS Budgets actions can deny IAM access; the Free plan stops at its credits

How to choose

flowchart TD
  A["Need versioning, replication,<br/>Object Lock or Glacier?"] -->|Yes| S["S3"]
  A -->|No| B["Read only by AWS compute<br/>in the same region?"]
  B -->|Yes| S
  B -->|No| C["Files downloaded from<br/>the internet?"]
  C -->|Yes| R["R2"]
  C -->|No| D["DNS already on Cloudflare?"]
  D -->|Yes| R
  D -->|No| E["Everything else on AWS?"]
  E -->|Yes| S
  E -->|No| R

Hard blockers: compliance-mode WORM, versioned backups or a multi-region copy → S3. A public download bucket or a site's assets → R2.

Default: R2. It's cheaper on every metered line, and the free tier doesn't expire.

Pros

Dimension🟩 R2🟦 S3
Cost✅ $0 egress; storage 1.7× cheaper✅ Deep Archive at $0.002/GB for cold data
Free tier✅ 10 GB, with no end date100 GB/mo egress free across AWS
Public serving✅ custom domain + cert in 1 click, CDN includedCloudFront has 1 TB/mo free
FeaturesData Catalog, Sippy for lazy migration✅ versioning, replication, Object Lock, 8+ classes
Access controlsimple tokens scoped to one bucket✅ IAM down to prefix, IP and condition
EcosystemWorkers can read and write it directly✅ wired into most AWS services

Cons

Dimension🟩 R2🟦 S3
CostIA has a 30-day minimum and a retrieval fee❌ $0.114/GB egress to the internet
Free tierStandard class only❌ new accounts get credits that end in 6 months
Public servingno folder listing, no index.html without a Worker❌ website endpoint is HTTP only
Features❌ no versioning, replication, tagging, bucket policy—
Access control❌ no per-prefix or conditional rules❌ easy to get wrong: Block Public Access + policy + ACLs
Billing safety❌ no cap; payment method required to start❌ no cap outside the Free plan

Similarities

  • Both are object stores with the same core API: one rclone config or AWS SDK works with either.
  • Both are strongly consistent: a read after a write sees the new object.
  • Both encrypt at rest by default and support multipart upload for large objects.
  • Both need a payment method on the account, and neither caps spending on a normal paid account.

The core split: R2 prices storage as if downloads were free, because they are. S3 prices for data that stays inside AWS, and charges for every GB that leaves.

🟩 R2🟦 S3
DocsR2 docsS3 user guide
PricingR2 pricingS3 pricing
Free tierR2 pricing → free tierAWS Free Tier
API coverageR2 S3 API compatibility—
ChangelogR2 release notesWhat's new in AWS
CDN in frontbuilt inCloudFront pricing

Third option: Backblaze B2 is also S3-compatible, at about $6/TB-month with free egress up to 3× what you store. It's worth a look for large backups.

Background

Skip unless you're writing an ADR.

  • S3 launched on 14 Mar 2006 as AWS's first public service. Its API became the de facto standard that R2, B2, MinIO and others implement.
  • Cloudflare announced R2 in Sep 2021 and made it generally available in Sep 2022. The name is one letter and one number before "S3".
  • R2 runs on Cloudflare's own network, which is why it doesn't charge egress. Cloudflare makes its money on the wider platform (Workers, CDN, security), not on bandwidth.

Caveats

  1. Prices are list prices for October 2026. S3 Sydney figures come from the AWS Price List API (see the linked Sydney doc). Check both pricing pages before a big decision.
  2. The cost scenarios assume simple access patterns. The CloudFront column assumes ~90% cache hits, and the busy row ignores CloudFront's volume discounts above 10 TB.
  3. CloudFront's 1 TB/month free egress is an "always free" offer. AWS reworked its free tier in July 2025, so confirm it still applies to your account type.
  4. R2's missing S3 APIs come from Cloudflare's compatibility page. R2 adds features often, so a ❌ here can become a ✅.
  5. Neither PayPal nor Cloudflare documents a per-merchant spending cap (only PayPal's deprecated Automatic Billing had one), so the advice is "use a limited card", not a setting to flip. Check Manage automatic payments in your own PayPal account before relying on that.

Sources

R2 pricing · R2 S3 API compatibility · Cloudflare plans · AWS Free Tier July 2025 announcement · S3 pricing · PayPal Automatic Billing (archived developer guide) · flarecalc R2 calculator · Researched 2026-10-24.

Disclaimer: These documents are personal notes. The information may be incomplete, out of date or wrong, so check it before you rely on it.