Edge Cloud & Zero-Egress Platform
Cloudflare R2 & Workers AI Pricing Sheet 2026
Cloudflare's developer platform is built around eliminating egress fees. Cloudflare R2 provides S3-compatible object storage with $0 egress worldwide, paired with Workers AI for low-latency serverless model inference.
Cloudflare R2 Object Storage Rate Card
| Metric / Operation | Cloudflare R2 Rate | Free Monthly Tier | AWS S3 Equivalent |
|---|---|---|---|
| Data Egress (Internet Transfer) | $0.00 / GB (Worldwide Free) | Unlimited 100% Free | $0.09 / GB (AWS Egress Tax) |
| Storage Capacity | $0.015 / GB-month | First 10 GB free | $0.023 / GB (S3 Standard) |
| Class A Operations (PUT, POST, LIST) | $4.50 per 1,000,000 requests | First 1,000,000 requests/mo | $5.00 per 1M (AWS S3) |
| Class B Operations (GET and other) | $0.36 per 1,000,000 requests | First 10,000,000 requests/mo | $0.40 per 1M (AWS S3) |
| Minimum Object Retention Time | 0 days (None) | None | 90 - 180 days (AWS Glacier) |
Official Developer SDK / API Integration Example
Python SDK
# Cloudflare R2 S3-Compatible Upload via Python Boto3 ($0.00 Egress Worldwide)
import boto3
r2 = boto3.client(
's3',
endpoint_url='https://.r2.cloudflarestorage.com',
aws_access_key_id='',
aws_secret_access_key='',
region_name='auto'
)
# Reads and downloads from R2 incur 0 data egress fees worldwide!
r2.upload_file('dataset.parquet', 'my-bucket', 'dataset.parquet')
Frequently Asked Billing & Pricing Questions
Why does Cloudflare charge $0 for data egress?
Cloudflare operates one of the world's largest interconnected optical fiber networks (Bandwidth Alliance). By absorbing transit costs internally, Cloudflare attracts petabytes of storage workloads from AWS and GCP.
What is Cloudflare Workers AI?
Workers AI allows running open-source models (Llama 3.3, DeepSeek R1 Distill, Whisper) directly on Cloudflare's edge GPU clusters with billing per neuron/second.
How does Cloudflare AI Gateway save money?
AI Gateway provides rate limiting, fallback routing, and response caching for OpenAI, Anthropic, and Google APIs. Cache hits are served instantly for $0 token cost.