← All Calculators
Cloudflare D1 Pricing Calculator
D1 is Cloudflare's serverless SQL database built on SQLite. It runs at the edge, providing low-latency reads from globally distributed replicas with automatic replication. D1 is perfect for applications that need relational data without managing database infrastructure, and it integrates seamlessly with Workers.
D1
Serverless SQL database
Free ~150M reads, ~3M writes, 5 GB · Paid 25B reads, 50M writes, 5 GB incl.
Free: ~150M rows read/month, ~3M rows written/month, and 5 GB storage.
Workers Paid: 25B rows read/month, 50M rows written/month, and 5 GB included before overage.
Cost Breakdown
Rows Read $0.00
Rows Written $0.00
Storage $0.00
Subtotal $0.00
D1 Pricing Breakdown
Free
- ~150 million rows read per month (5M/day)
- ~3 million rows written per month (100K/day)
- 5 GB storage
Workers Paid ($5/mo)
- 25 billion rows read per month included
- 50 million rows written per month included
- 5 GB storage included
- $0.001 per additional million rows read
- $1.00 per additional million rows written
- $0.75 per additional GB storage
Frequently Asked Questions
How much does Cloudflare D1 cost?
D1 has a generous free tier: ~150 million rows read and ~3 million rows written per month, plus 5 GB storage. On Workers Paid ($5/mo), the included allowances increase dramatically to 25 billion reads and 50 million writes.
Is Cloudflare D1 free?
Yes. D1 includes ~150 million rows read, ~3 million rows written, and 5 GB storage on the free plan. No credit card required.
What SQL dialect does D1 use?
D1 uses SQLite's SQL dialect. It supports standard SQL operations including joins, indexes, triggers, and full-text search via SQLite's FTS5.