Languages
use cases
Modernize applications
Modernize security
Modernize networks
CxO topics
Industries
Resources
Engage
products
SASE and workspace security
Application security
Application performance
Networking
plans & pricing
Global services
documentation
Products
Artificial Intelligence
Compute
Media
Storage & database
Plans & Pricing
Partnership Types
Build
Explore
Support
Company info
Trust, Privacy, & Safety
Public Interest
Cloudflare R2
How it works
Use cases
Pricing
Powered by our programmable distributed network, R2 enables you to create flexible, multicloud architectures with S3-compatible object storage.
Our S3-compatible API gives you added flexibility — allowing you to access a wide range of S3 tools, libraries, and extensions.
Our affordable, consistent pricing helps free up resources across your organization — and you never have to pay egress fees for data accessed from R2.
Our automated data migration service helps migrate your objects all at once or over time — whatever aligns with your current needs.
HOW IT WORKS
Cloudflare R2 allows you to store large amounts of unstructured data — without the costly egress fees or vendor lock-in associated with other cloud object storage providers.
R2 natively integrates with Cloudflare Workers, so you can easily perform authentication, route requests, and deploy edge functions across our distributed network of 330+ data centers.
View reference architecture
"No egress fees is a big advantage, as surprise costs from surging traffic can be annoying... one has to be careful about surging costs for DDoS or viral traffic, but with Cloudflare, these worries are eliminated. Thanks to Cloudflare, startups don’t need to scale up dramatically or set up their own servers. This results in significant cost savings and eliminates the need for our own infrastructure."
Top use cases for R2 object storage
R2 offers more than just scalable object storage. It helps you create portable multicloud architectures, effortlessly move data between cloud providers, and build exceptional user experiences into your applications. When you combine R2’s cost-effective solution with Cloudflare's global network and Cloudflare Workers, you can innovate freely, scale efficiently, and deploy applications faster without the burden of managing infrastructure.
Use R2 to store your AI/ML training datasets and model checkpoints – with free egress. This allows you to easily leverage GPU compute in any cloud or region globally without ever worrying about expensive data transfer costs.
R2 is now your data warehouse, not just storage! With Apache Iceberg integration, R2 transforms your object storage into a fully functional data warehouse. Enable a data catalog on any bucket to handle analytics directly without moving data.
Your R2 bucket isn’t just storage anymore - it’s now your data warehouse. R2 now integrates Apache Iceberg and transforms your object storage into a fully functional data warehouse without any management overhead.
R2 charges based on the total volume of data stored and two classes of operations on that data. You pay zero egress fees.
Free
Add-ons billed monthly
Get started with R2 object storage with our generous free tier.
Paid
Billed monthly
Monthly billing for usage beyond the free allocation.
Contract
Billed annually
For mission-critical applications that are core to your business.
New Externa packages available
Standard storage is designed for data that is accessed frequently. This is the default storage class for new R2 buckets unless otherwise specified.
10 GB / month
$0.015 / GB-month
1 million
$4.50 / million requests
10 million
$0.36 / million requests
Infrequent Access storage is ideal for data that is accessed less frequently. This storage class offers lower storage cost compared to Standard storage, but includes retrieval fees and a 30 day minimum storage duration requirement.
10 GB-month
$0.01 / GB-month
$9.00 / million requests
$0.90 / million requests
$0.01 / GB
Solutions
BLOG
Guide
Reference Architecture
Cloudflare R2 is a distributed, S3-compatible object storage solution that allows customers to store large amounts of unstructured data, and access that data without paying egress fees.
The most significant pricing benefit is that R2 has free egress, meaning you do not have to pay to access or move your data out of storage. Object storage pricing is based on the total volume of data stored and the number of operations performed.
R2 has an S3-compatible API, which allows customers to use a wide range of existing S3 tools, libraries, and extensions with their R2 storage.
Cloudflare provides an automated data migration service to help move objects from existing providers to R2. You can migrate your data all at once or gradually over time.
R2 natively integrates with Cloudflare Workers. This allows developers to easily perform tasks like authentication, request routing, and deploying edge functions across Cloudflare's distributed network.
Top use cases for R2 object storage include storing and training AI/ML datasets, optimizing the storage and low-latency delivery of video and dynamic content, and using R2 buckets as data warehouses.
Cloudflare R2 offers a generous free tier and zero egress fees on a globally distributed network. Learn more about how Cloudflare R2 compares to Amazon S3.