mimirwiki.com/wiki/cloudflare-r2
rev 2ff43e96Updated 2026-12-04EN · KO · JA · ZH · ES · DE · FR · PT · RU · IT · HI · AR
Organization/Technology and AI

Cloudflare R2

Managed S3-compatible object storage service by Cloudflare with zero egress fees

Expert review pending
From public information · owner unconfirmedWritten automatically from public sources9 sources
View the page in the format AI receives
Summary

Cloudflare R2 is a managed object storage service announced by Cloudflare on September 28, 2021 and made generally available on September 21, 2022. It stores objects in buckets accessible via an Amazon S3-compatible API or native Cloudflare Workers bindings without charging internet egress bandwidth fees. Billing is based on storage volume and Class A/B operations, plus data retrieval fees for Infrequent Access storage. Direct R2 object operations are strongly consistent globally.

Provider
Cloudflare1
Announced / GA
Sep 28, 2021 / Sep 21, 20222
Egress Bandwidth Fee
Free ($0)4
Standard Storage Rate
$0.015 / GB-month4
Infrequent Access Rate
$0.01 / GB-month + $0.01 / GB retrieval4
Consistency Model
Strongly consistent globally for direct ops7

Cloudflare R2 is a managed distributed object storage service that stores unstructured data in buckets, exposes an Amazon S3-compatible API and Cloudflare Workers bindings, and charges no internet egress bandwidth fees.

Also known as R2, Cloudflare R2 Storage

01

Overview and Product History

Government and public records Academic and news Official sites

Cloudflare announced R2 Object Storage on September 28, 2021 as an alternative to cloud object stores that charge significant outbound data transfer (egress) fees, and launched general availability on September 21, 2022.12

R2 organizes unstructured data into buckets and objects and integrates directly with Cloudflare's global network, allowing applications to serve assets, backups, datasets, and application files without per-gigabyte internet egress charges.34

02

Pricing Structure and Storage Classes

While internet egress bandwidth is free across all storage classes, Cloudflare R2 bills for monthly stored volume and two request tiers: Class A operations (state-mutating actions such as uploads and listing) and Class B operations (read actions).4

According to Cloudflare's pricing documentation (updated October 30, 2026), Standard storage is priced at $0.015 per GB-month, $4.50 per million Class A operations, and $0.36 per million Class B operations with no retrieval fee. Infrequent Access storage lowers storage to $0.01 per GB-month but charges $9.00 per million Class A operations, $0.90 per million Class B operations, and a $0.01 per GB data retrieval processing fee.49 The first 100,000 buckets per account are included, with additional buckets billed at $0.10 per bucket-month.4

03

S3 API Compatibility and Workers Bindings

Developers can access R2 through an Amazon S3-compatible HTTP API using existing S3 SDKs and tools, or directly inside Cloudflare Workers through native R2 bucket bindings.356

Cloudflare's S3 compatibility matrix notes that support varies by individual S3 operation and header, so applications migrating from AWS S3 should verify specific features rather than assuming 100% parity.5 Workers bindings expose low-latency programmatic methods such as get, put, delete, head, and list directly from serverless code.6

04

Strong Consistency and Public Bucket Caching

Direct operations on R2 buckets and objects are strongly, globally consistent: once a write, update, or delete succeeds, subsequent direct reads immediately observe the latest state worldwide rather than stale eventually consistent data.7

However, when a bucket is exposed publicly through a custom domain with Cloudflare caching enabled in front of R2, edge caches may continue serving a previously cached response until the cache expires or is purged.78 Actual total bills and migration costs depend on workload storage class, request mix, and external provider egress fees.49

05

Frequently asked questions

What usage is billed on Cloudflare R2 if egress is free?
R2 charges for stored data volume ($0.015/GB-month for Standard, $0.01/GB-month for Infrequent Access), Class A mutating requests, Class B read requests, and a $0.01/GB data retrieval fee for Infrequent Access.49
Is Cloudflare R2 100% compatible with every Amazon S3 API feature?
No. R2 provides an S3-compatible API for common bucket and object operations, but Cloudflare's compatibility table specifies per-operation and per-header differences.5
How does R2 consistency work when using public buckets?
Direct R2 reads and writes are strongly consistent globally, but if a public bucket is served through a custom domain with caching enabled, cached responses can persist until cache expiration or purge.78
How do Cloudflare Workers connect to R2?
Workers can access R2 buckets directly through native R2 bindings using methods like get, put, delete, head, and list without going through the S3 HTTP signature layer.6
06

Quotable sentences

Each sentence has a source, so you can quote it as it is.
  1. Cloudflare announced R2 on September 28, 2021 and launched general availability on September 21, 2022.12
  2. Cloudflare R2 charges no internet egress bandwidth fees, billing instead for storage ($0.015/GB-month Standard, $0.01/GB-month Infrequent Access), Class A/B operations, and $0.01/GB retrieval on Infrequent Access.49
  3. R2 offers an Amazon S3-compatible API (with operation- and header-specific compatibility boundaries) alongside native Cloudflare Workers bucket bindings.56
  4. Direct R2 object operations are strongly consistent globally, though enabling CDN caching in front of a public bucket can serve cached responses until expiration or purge.78
07

Timeline

  1. Cloudflare announces R2 Object Storage with zero egress bandwidth fees.1
  2. Cloudflare R2 reaches general availability.2
  3. Cloudflare updates Storage Classes documentation covering Standard and Infrequent Access tiers.9
  4. Cloudflare updates R2 pricing documentation ($0.015/GB-month Standard, $0.01/GB-month Infrequent Access, free egress).4
08

Sources

9 sources

Official sites

  1. 1
    Introducing Cloudflare R2 Storage: Rapid and Reliable Object Storage, Minus the Egress Fees · Cloudflare Blog · published 2021-09-28 · checked 2026-12-04https://blog.cloudflare.com/introducing-r2-object-storage/
  2. 2
    Cloudflare R2 Storage is Now Generally Available · Cloudflare Blog · published 2022-09-21 · checked 2026-12-04https://blog.cloudflare.com/r2-ga/
  3. 3
    Cloudflare R2 Overview · Cloudflare Docs · published 2026-10-01 · checked 2026-12-04https://developers.cloudflare.com/r2/
  4. 4
    Cloudflare R2 Pricing · Cloudflare Docs · published 2026-10-30 · checked 2026-12-04https://developers.cloudflare.com/r2/pricing/
  5. 5
    S3 API Compatibility · Cloudflare Docs · published 2026-11-10 · checked 2026-12-04https://developers.cloudflare.com/r2/api/s3/api/
  6. 6
    Workers API Reference for R2 · Cloudflare Docs · published 2026-11-30 · checked 2026-12-04https://developers.cloudflare.com/r2/api/workers/workers-api-reference/
  7. 7
    R2 Consistency Model · Cloudflare Docs · published 2026-11-10 · checked 2026-12-04https://developers.cloudflare.com/r2/reference/consistency/
  8. 8
    Public Buckets · Cloudflare Docs · published 2026-11-12 · checked 2026-12-04https://developers.cloudflare.com/r2/buckets/public-buckets/
  9. 9
    Storage Classes (Standard and Infrequent Access) · Cloudflare Docs · published 2026-04-21 · checked 2026-12-04https://developers.cloudflare.com/r2/buckets/storage-classes/
09

Review and writing

review signature

Expert review pending

When a credentialed expert reviews this page, the reviewer's name and the review date appear here. (Current version 2ff43e96)

How this page was written

Written automatically from the public information in the sources above.

10

Version

SHA-256

2ff43e966c4823656c2911ab381d7bbdd54602b1ee8e65c609fabeacdef23b11

Each edit gives the page a new version number.

Cite this page

Mimirwiki. "Cloudflare R2." Version 2ff43e96, 2026-12-04. https://mimirwiki.com/wiki/cloudflare-r2

Formats for AI
# Markdown
curl https://mimirwiki.com/wiki/cloudflare-r2.md

# JSON-LD, by content negotiation
curl -H "Accept: application/ld+json" \
  https://mimirwiki.com/wiki/cloudflare-r2

Add an extension to the address to get the same content in that format.

Pages that link here