Guides · D1
D1 pricing and limits
D1 bills rows read, rows written and stored GB. Missing indexes multiply rows read, which is the usual surprise.
| Meter | Included (Paid) | Overage (Paid) | Free |
|---|
| Rows read | 25B/mo | $0.001 / M | 5M/day |
| Rows written | 50M/mo | $1.00 / M | 100,000/day |
| Storage | 5 GB | $0.75 / GB-mo | 5 GB |
Estimate your D1 bill in the calculator →
Reviewed 2026-10-25 · Official pricing page
Limit
- How many D1 databases an account can have 10 on Free, 50,000 on Paid.
- Maximum D1 database size 500 MB on Free, 10 GB on Paid.
- D1 row and statement limits 2 MB per row, 100 KB per statement, 100 bound parameters.
- D1 query duration A D1 query has to finish within 30 seconds, because the HTTP API itself must finish in that time.
- D1 queries per Worker invocation 50 on Free, 1,000 on Paid.
- D1 Time Travel retention 7 days on Free, 30 days on Paid.
- D1 rows-read allowance 5 million per day on Free. 25 billion per month included on Paid.
- D1 rows-written allowance 100,000 per day on Free. 50 million per month included on Paid.