
Serverless SQL database at the edge
Cloudflare D1 is a serverless SQL database built on SQLite that runs on Cloudflare's global edge network. Designed for developers using Cloudflare Workers and Pages, it provides low-latency data access without managing infrastructure. D1 supports standard SQL queries, automatic read replication, and a Time Travel feature for restoring databases to any point within the last 30 days. Its pricing follows a scale-to-zero model with no charges when inactive and no egress fees, making it cost-effective for applications with variable traffic. Individual databases are capped at 10 GB, encouraging a distributed multi-database architecture.
D1 is usage-priced, not a $29 database SKU.
Watch out
Workers CPU that runs the query is billed on Workers pricing, on top of D1 rows (official FAQ).









