Data note

Cloudflare D1 pricing: rows read cost $0.001 per million, writes cost $1, and a small app pays $5

D1 charges $0.001 per million rows read past 25 billion/month and $1 per million rows written past 50 million. A small app with 10 GB pays $8.75.

Verified answer checked

Cloudflare D1 bills $0.001 per million rows read past 25 billion a month, $1.00 per million rows written past 50 million a month, and $0.75 per GB-month of storage past the first 5 GB. A small app with 10 GB of data and a few million rows a month pays $8.75: the $5 Workers Paid minimum plus $3.75 of storage overage (calculated 2026-10-30).

  • D1 charges $0.001 per million rows read after the first 25 billion rows a month included on the Workers Paid plan (checked 2026-10-30).
  • D1 charges $1.00 per million rows written after the first 50 million rows a month included, and the Workers Free plan stops at 100,000 rows written per day (checked 2026-10-30).
  • Storage is $0.75 per GB-month after the first 5 GB included, and the Free plan's 5 GB is a hard total summed across every database in the account (checked 2026-10-30).
  • The Workers Paid plan includes 100,000 databases and charges $0.10 per month for each one beyond that, while Workers Free allows 10 databases (checked 2026-10-30).
  • A small app storing 10 GB pays $8.75 a month: the $5 Workers Paid minimum plus $3.75 for the 5 GB above the included storage (calculated 2026-10-30).
  • D1 bills US$0 for egress, and a row read is a row scanned, so a full scan of a 5,000-row table is billed as 5,000 rows read (checked 2026-10-30).

2 primary sources · If this is out of date, tell us and we will re-measure.

On this page
  1. What each meter charges
  2. What counts as a row read
  3. What a small app actually pays
  4. Where the bill moves first
  5. How this was checked
  6. Bottom line

Cloudflare D1 is billed on three meters — rows read, rows written and storage — and the surprise is how far a small application travels before any of them produces a charge. Every rate below was read from Cloudflare's own pricing pages on 2026-10-30, and the answer is that a small app pays the $5 Workers Paid minimum and, unless it stores more than 5 GB, nothing else.

The two row meters are effectively free at small scale: 25 billion rows read and 50 million rows written are included each month. Storage is the meter that moves first, and it is the only one most apps will ever see on an invoice.

What each meter charges

ItemPriceWhere it comes from
Rows read past 25 billion a month$0.001 per million rowsD1 pricing table, Workers Paid column
Rows written past 50 million a month$1.00 per million rowsD1 pricing table, Workers Paid column
Storage past the first 5 GB$0.75 per GB-monthD1 pricing table, per GB stored
Each database past 100,000$0.10 per monthD1 pricing FAQ, additional databases
Egress and bandwidth$0D1 pricing FAQ, data transfer
Workers Paid plan minimum$5 per monthWorkers pricing, Workers Paid plan

The ratio between the two row meters is the part people miss. A million rows read costs a tenth of a cent; a million rows written costs a dollar. Reading is priced as a rounding error and writing carries the actual money, which makes D1 a read-heavy application's database and a sync job's expense.

What counts as a row read

Cloudflare defines a row read as a row scanned, not a row returned. The documentation's own example is a table of 5,000 rows and a SELECT * FROM table full scan, which counts as 5,000 rows read even though the count of rows delivered is also 5,000; a query filtered on an unindexed column returns fewer rows to the Worker but still scans the table to find them.

Row width is irrelevant to the count: a row of 1 KB and a row of 100 KB are both one row. Rows written follow the same logic, with an INSERT of 10 rows counting as 10 rows written and UPDATE and DELETE counted per row touched. DDL statements such as CREATE, ALTER and DROP can land on either meter.

The one amplifier worth knowing is indexes. Writing to a column that is indexed adds at least one extra row written, because the table records the row and the index records it too. Cloudflare states plainly that the read saving from an index normally outweighs that extra write, and for a read-heavy workload it usually does.

What a small app actually pays

Take a small app doing 3.6 million rows read and 4 million rows written in a month, holding three databases and 10 GB of data. Reads sit at a fraction of a percent of the 25 billion allowance, writes are under a tenth of the 50 million allowance, and three databases are far below the 100,000 included, so all three of those meters bill nothing.

Storage is where the invoice is. The first 5 GB is included, the remaining 5 GB is billed at $0.75 per GB-month, and the total is $3.75 on top of the $5 minimum — $8.75 for the month. Cut the data to 4 GB and the bill drops to the $5 floor, which is the more common shape for a small app on D1.

Where the bill moves first

The realistic way to generate a D1 charge is a bulk write job, not traffic. A nightly job that updates 1 million rows, where the updated column is indexed, writes 2 million rows a night; thirty nights is 60 million rows, 10 million past the included allowance, and $10 of overage. That turns a $5 bill into a $15 bill without a single user noticing.

Queries from the dashboard and from Wrangler count as billable the same as queries from a Worker, so an afternoon of manual poking at a large table is metered too. Importing an existing dataset into a new database is charged as writes for every row inserted.

Free-plan behaviour is different in kind, not degree. Exceeding the daily read or write limits returns errors instead of billing, and filling the 5 GB stops inserts and table changes until data is removed. There is no overage on Free, only a wall.

How this was checked

The D1 pricing page and the Workers pricing page were fetched with curl on 2026-10-30 and read directly. Every rate and allowance in this article appears on one of those two pages; the Workers Paid minimum of $5 is stated on the Workers page as a minimum monthly charge for an account, and the rows read, rows written and storage rates repeat on both. No account was created and no database was queried, so the example traffic figures are illustrative and the money totals are arithmetic, marked calculated.

Bottom line

D1 inverts the usual database worry. Reads are almost free, writes are the real meter at $1.00 per million, and storage is the only line a small app is likely to see — at $0.75 per GB-month above 5 GB. Budget the $5 minimum, watch the data size, and treat a bulk import or a wide nightly update as the thing that will move the bill.

Frequently asked questions

Does D1 charge for bandwidth or egress?

No. Cloudflare states there are no data transfer or throughput charges for data accessed from D1, and read replication does not add a charge for replicas: the same rows_read and rows_written billing applies. The meter that replaces egress is rows read, which counts rows scanned rather than bytes shipped.

What happens on D1 when the Free plan limits are hit?

Queries fail. Hitting the daily read or write limit means D1 returns errors to the client and queries stop running, and hitting the 5 GB storage limit means no new inserts, tables, indexes or triggers until data is deleted. Upgrading to Workers Paid removes those caps, usually within minutes.

Why did my D1 bill appear before my row counts did?

Storage is the first meter to bill, because the included 5 GB is shared across every database in the account and is charged at $0.75 per GB-month beyond it. Rows read and rows written each carry allowances of 25 billion and 50 million a month, which a small app rarely approaches.

Does an index make D1 cheaper or more expensive?

Both, in different meters. An index cuts rows read, so a query filtered on an indexed column scans a subset instead of the whole table; but writing to an indexed column adds at least one extra row written, because the table and the index each record a row. Cloudflare notes the read saving normally outweighs the extra write.

Sources

  1. Cloudflare D1 pricingChecked 2026-10-30
  2. Cloudflare Workers pricing (Workers Paid minimum and the D1 billing table)Checked 2026-10-30

Cite this page

Nadia Voss (2026). “Cloudflare D1 pricing: rows read cost $0.001 per million, writes cost $1, and a small app pays $5”. Actual Database. https://actualdatabase.com/cloudflare-d1-pricing/

Written and verified by

Nadia Voss · Data researcher

I collect prices, limits and quotas from primary sources, date every figure, and re-check them on a fixed schedule. No sponsored placements inside a table, ever.