Skip to content

Commit 6a187f0

Browse files
authored
Further clarifying R2 pricing. (#19678)
1 parent 605f68f commit 6a187f0

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

src/content/docs/r2/pricing.mdx

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -30,30 +30,18 @@ To learn about potential cost savings from using R2, refer to the [R2 pricing ca
3030
| Class A Operations | $4.50 / million requests | $9.00 / million requests |
3131
| Class B Operations | $0.36 / million requests | $0.90 / million requests |
3232
| Data Retrieval (processing) | None | $0.01 / GB |
33-
| Egress (data transfer to Internet) | Free <sup>1</sup> | Free <sup>1</sup> |
34-
35-
<sup>1</sup> Egressing directly from R2, including via the [Workers
36-
API](/r2/api/workers/), [S3 API](/r2/api/s3/), and [`r2.dev`
37-
domains](/r2/buckets/public-buckets/#enable-managed-public-access) does not
38-
incur data transfer (egress) charges and is free. If you connect other metered
39-
services to an R2 bucket, you may be charged by those services.
33+
| Egress (data transfer to Internet) | Free [^1] | Free [^1] |
4034

4135
### Free tier
4236

4337
You can use the following amount of storage and operations each month for free. The free tier only applies to Standard storage.
4438

4539
| | Free |
4640
| ---------------------------------- | --------------------------- |
47-
| Storage | 10 GB / month |
41+
| Storage | 10 GB-month / month |
4842
| Class A Operations | 1 million requests / month |
4943
| Class B Operations | 10 million requests / month |
50-
| Egress (data transfer to Internet) | Free <sup>1</sup> |
51-
52-
<sup>1</sup> Egressing directly from R2, including via the [Workers
53-
API](/r2/api/workers/), [S3 API](/r2/api/s3/), and [`r2.dev`
54-
domains](/r2/buckets/public-buckets/#enable-managed-public-access) does not
55-
incur data transfer (egress) charges and is free. If you connect other metered
56-
services to an R2 bucket, you may be charged by those services.
44+
| Egress (data transfer to Internet) | Free [^1] |
5745

5846
### Storage usage
5947

@@ -112,18 +100,30 @@ To learn about potential cost savings from using R2, refer to the [R2 pricing ca
112100

113101
## R2 billing examples
114102

115-
### Data storage
103+
### Data storage example 1
116104

117105
If a user writes 1,000 objects in R2 for 1 month with an average size of 1 GB and requests each 1,000 times per month, the estimated cost for the month would be:
118106

119107
| | Usage | Free Tier | Billable Quantity | Price |
120108
| ------------------ | ------------------------------------------- | ------------ | ----------------- | ---------- |
121109
| Class B Operations | (1,000 objects) \* (1,000 reads per object) | 10 million | 0 | $0.00 |
122110
| Class A Operations | (1,000 objects) \* (1 write per object) | 1 million | 0 | $0.00 |
123-
| Storage | (1,000 objects) \* (1GB per object) | 10 GB-months | 990 GB-months | $14.85 |
111+
| Storage | (1,000 objects) \* (1 GB per object) | 10 GB-months | 990 GB-months | $14.85 |
124112
| **TOTAL** | | | | **$14.85** |
125113
| | | | | |
126114

115+
### Data storage example 2
116+
117+
If a user writes 10 objects in R2 for 1 month with an average size of 1 GB and requests 1,000 times per month, the estimated cost for the month would be:
118+
119+
| | Usage | Free Tier | Billable Quantity | Price |
120+
| ------------------ | ------------------------------------------- | ------------ | ----------------- | ---------- |
121+
| Class B Operations | (1,000 objects) \* (1,000 reads per object) | 10 million | 0 | $0.00 |
122+
| Class A Operations | (1,000 objects) \* (1 write per object) | 1 million | 0 | $0.00 |
123+
| Storage | (10 objects) \* (1 GB per object) | 10 GB-months | 0 | $0.00 |
124+
| **TOTAL** | | | | **$0.00** |
125+
| | | | | |
126+
127127
### Asset hosting
128128

129129
If a user writes 100,000 files with an average size of 100 KB object and reads 10,000,000 objects per day, the estimated cost in a month would be:
@@ -145,3 +145,5 @@ To learn more about how usage is billed, refer to [Cloudflare Billing Policy](/s
145145
### Will I be charged for unauthorized requests to my R2 bucket?
146146

147147
No. You are not charged for operations when the caller does not have permission to make the request (HTTP 401 `Unauthorized` response status code).
148+
149+
[^1]: Egressing directly from R2, including via the [Workers API](/r2/api/workers/), [S3 API](/r2/api/s3/), and [`r2.dev` domains](/r2/buckets/public-buckets/#enable-managed-public-access) does not incur data transfer (egress) charges and is free. If you connect other metered services to an R2 bucket, you may be charged by those services.

0 commit comments

Comments
 (0)