# Cloudflare D1

> Managed, serverless database with SQLite's SQL semantics

Source: https://talira.ai/catalog/cloudflare-d1-a3hjs6en
Every listing: https://talira.ai/catalog.md

- Kind: SaaS
- Types: Database, Infrastructure
- Categories: [databases / sqlite / hosted](https://talira.ai/categories/databases/sqlite/hosted), [databases / serverless](https://talira.ai/categories/databases/serverless), [hosting / edge](https://talira.ai/categories/hosting/edge)
- Platforms: web, cli
- Licence: proprietary
- Pricing: Free tier, from $5/month
- Pricing notes: Workers Free: 5 million rows read and 100,000 rows written a day, 5 GB storage, 10 databases. Workers Paid ($5 a month account minimum, from the Workers record): 25 billion rows read and 50 million rows written a month included, then $0.001 per million rows read and $1.00 per million rows written; 5 GB included, then $0.75 per GB-month; 100,000 databases included, then $0.10 per database a month.
- Free tier: yes
- Self-hostable: no
- Cloud hosted: yes
- API: yes
- MCP server: yes[^1]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^1]
- Made by: [Cloudflare](https://talira.ai/orgs/cloudflare.md)
- Funding: public company (NYSE:NET)[^2]

D1 is [Cloudflare](https://talira.ai/catalog/cloudflare-01k5h588.md)'s serverless SQL database: [SQLite](https://talira.ai/catalog/sqlite-cys3nt23.md) semantics, queried from Workers and Pages through a binding or from anywhere through the HTTP API. Instead of one large database it's built for many small ones, one per user, tenant or project (up to a million per account on the paid plan, 10 GB each). Time Travel restores a database to any minute in the last 30 days, and read replication adds read-only copies near users to cut read latency. Billing counts rows read, rows written and storage.

## Links

- Website: https://developers.cloudflare.com/d1/
- Docs: https://developers.cloudflare.com/d1/
- Pricing: https://developers.cloudflare.com/d1/platform/pricing/

## Problems it solves

- a SQL database for my Cloudflare Workers app without running a server
- give every customer their own small database instead of one big shared one
- SQLite in production without worrying about the disk it lives on
- restore my database to how it was ten minutes ago after a bad migration
- a cheap database for a side project that costs nothing when nobody's using it
- reads are slow for users far from where the database lives
- query a hosted SQLite database over HTTP from a script
- a serverless database billed by rows read and written, not by instance size

## Features

- SQLite SQL semantics
- Workers and Pages bindings
- HTTP API
- Time Travel: restore to any minute in the last 30 days
- read replication
- up to 1,000,000 databases per account on Workers Paid
- 10 GB per database on Workers Paid (500 MB on Free)

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Has an MCP server: plan not known

## Trust

Overall: 0.57 out of 1.
Signals: backing 0.55, extensibility 0.60.

- made by Cloudflare
- funding: public company (NYSE:NET)
- has an MCP server for agents

## Related

- Works with [Cloudflare Workers](https://talira.ai/catalog/cloudflare-workers-s91ye39z.md)
- Based on [SQLite](https://talira.ai/catalog/sqlite-cys3nt23.md)

## Alternatives

- [Supabase](https://talira.ai/catalog/supabase-524j51hm.md): The Postgres development platform
- [Neon](https://talira.ai/catalog/neon-62ajbpbj.md): Serverless Postgres with branching, autoscaling and scale to zero
- [PlanetScale](https://talira.ai/catalog/planetscale-e7z32n33.md): The world's fastest and most scalable cloud databases
- [Convex](https://talira.ai/catalog/convex-cd5s9zbk.md): The reactive backend platform that keeps up with you and your agents

## Sources

[^1]: https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/workers-bindings (checked 17 Nov 2026)
[^2]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
