Compare edge SQLite databases.
SQLite is back in style with edge-native solutions. Turso, Cloudflare D1, and Fly LiteFS each take a different approach to bringing SQLite to serverless and edge environments.
Turso: 3GB, libSQL, global replication | D1: 5GB, Workers only | LiteFS: 1GB, Fly only, distributed
libSQL-powered with embedded replicas. Best DX — great CLI, solid docs. 3GB free storage. Works anywhere via HTTP client or their SDK. The libSQL fork adds vector search and better replication.
Pros: 3GB storage, works everywhere, excellent DX. Cons: Not pure SQLite, slight API differences.
Native to Cloudflare ecosystem. 5GB free — biggest free tier. Only works with Workers and Pages, but the integration is tight. Query binding makes it trivial to use.
Pros: 5GB free, native Workers integration. Cons: Cloudflare-locked, limited outside ecosystem.
Distributed filesystem approach. Best for apps already on Fly.io. Uses Fly volume for persistence with LiteFS for replication. 1GB free.
Pros: True distributed filesystem, great for read replicas. Cons: Fly-locked, 1GB limit, more complex setup.
Get weekly updates on free database tiers, provider changes, and new hosting options.
No spam, unsubscribe anytime.