How much does an ecommerce catalog cost on D1 and R2?
Scenario · r2
Product pages read one indexed row. Images are 40 GB in R2 with 20 million views. The catalog has 4 million page requests at 4 ms.
On the Paid plan this model comes to $9.05. The other plan, with the same inputs, comes to $4.05. The 30-day month is the same length R2 uses in its storage example. Daily free caps are not monthly pools.
D1 bills the rows it scans
A query that returns one row can still read every row in the table if the filter is not indexed. The pricing page's own example is a SELECT * over 5,000 rows counting as 5,000 rows read. Indexes cut the read and add one extra written row when the indexed column changes.
Read this before you trust the total
Free plan lines at $0 can still be an outage: error 1027, error 1102, or a D1 quota error. R2 above its monthly free tier is billed on both plans. Durable Object requests round up to the next million, as in Cloudflare's own Example 1, which bills 500,000 requests as 1 million.
This model
$9.05 · Paid
The $5 is an account minimum for Workers Paid, not a per-product fee. Included usage sits inside it.
40 used, 10 included. 30 billable, rounded up to 30. Exact charge $0.45, shown as $0.45. R2 rounds billable storage up to the next GB-month. 1.1 GB-month of billable storage is billed as 2. R2 does not charge egress bandwidth.
20,000,000 used, 10,000,000 included. 10,000,000 billable, rounded up to 10,000,000. Exact charge $3.60, shown as $3.60. R2 rounds billable operations up to the next million. One operation past a million boundary is billed as another full million. Class B is the read class: GetObject and HeadObject are the common ones.
Assumptions
- A 30-day month and steady traffic across it.
- Rates as published on 2026-10-25; taxes excluded.
- The Workers Paid plan has a $5 monthly minimum. It is charged even if you use nothing, and it covers the included allowances.
- R2 Class B operations adds $3.60 (40% of the bill): you used more than the 10,000,000 included.
- R2 storage adds $0.45 (5% of the bill): you used more than the 10 included.
- R2 egress (bandwidth out) is free, so downloads only cost Class B reads.
Sources
- Workers pricingOfficial
- D1 pricingOfficial
- R2 pricingOfficial