SQLite-compatible, edge-friendly, with HTTP and WebSocket drivers. Free tier, the same SQL you already know, cloud or self-host with the Layerbase CLI.
Free tier, no credit card
Free tier
$0/mo, no credit card
Then flat
$5 or $15/mo, no meters
Encrypted
TLS on every plan
Layerbase Cloud
Managed, in seconds
Desktop and CLI
Run it locally or self-host
Edge access
SQLite semantics over HTTP and WebSockets
The libSQL client wraps SQL queries in HTTPS calls, so Cloudflare Workers, Vercel Edge, and any runtime that cannot hold a TCP socket can talk to a libSQL endpoint. Point the same client library Turso users already have at the URL and auth token from the dashboard, and the SQL you write is still SQLite SQL. It hibernates when idle, wakes on the next connection, and branches like the rest of the branchable engines, copy-on-write once Branching is turned on in the database Settings tab.
Quick start
Connect with any libSQL client
Edge and serverless apps that want SQLite semantics, multi-region replication patterns, and projects already on Turso that want a portable alternative.
- Spin up a libSQL for an edge or Cloudflare Workers app via the HTTP driver
- Run SQLite-compatible schema with an HTTP-friendly client where the file-based mode does not fit
- Per-tenant libSQL databases that hibernate between bursts
- Local-first development on Layerbase Desktop, deploy the same schema to cloud
- Self-host on your own hardware with the Layerbase CLI
const db = createClient({ url: 'https://your-host.cloud.layerbase.dev', authToken: process.env.LIBSQL_AUTH_TOKEN })Where to run it
Cloud, desktop, or self-host
One database, three places it can live. Pick the speed you want and move between them when you outgrow it.
Free libSQL hosting
What you actually get on the free libSQL tier
libSQL is SQLite with a network in front of it: the SQL you already know, reachable over HTTP and WebSocket from edge runtimes. This is what the Free plan includes and where the line is.
Always on
libSQL that never sleeps, from $5/month
Branch libSQL for every preview deploy
Fork a running libSQL into a full, isolated copy with its own connection string. With Branching turned on for the database, copy-on-write makes it near-instant, not a dump and restore. Point a preview deploy at it, test a migration, then throw it away. Layerbase branches 17 engines, not just Postgres.
What you get
Everything a libSQL database should ship with
The same primitives on every libSQL database: TLS, web console, hibernation, and a real dashboard. The rows that need a paid plan say so on the row; nothing here is hidden behind a sales call.
What it costs
What libSQL costs on Layerbase
Plans are flat. There is no per-hour compute meter, no per-database line item, and no ingress or egress fee, so the bill does not change shape when your traffic does. You do not need an AWS, GCP, or Azure account either: Layerbase runs the infrastructure.
Side by side
Hosted libSQL, compared
Competitor facts verified September 7, 2026 against each vendor's own pricing and documentation pages: Turso.
Sibling engine
Want the upstream SQLite specifically?
If you do not need the HTTP or WebSocket driver and want the bare upstream engine, point your client at SQLite on Layerbase instead. Both run on the same platform.
- November 14, 2026
libSQL Is a Relational Database and a Vector Database at the Same Time
libSQL has vector search built in: a vector column type, distance functions and an ANN index, no extension required. Here is how to keep rows and embeddings in one database, with the queries and the one gotcha to know.
Read - November 1, 2026
Cloudflare D1 caps query results at 50 MB from November 4
Starting November 4, 2026, any D1 query that returns more than 50 MB fails. What changes, which queries hit it, how to fix them without paying more in rows read, and when it makes more sense to move the database to libSQL.
Read - October 16, 2026
Deno Deploy is shutting down. Where should your Deno KV data go?
Choose a Deno KV replacement by workload, map atomic operations to Valkey or Postgres, and rehearse a small export and import before moving your application.
Read
October 2, 2026
What the Supabase acquisition means for Turso and libSQL users
Turso Cloud added Frankfurt and Singapore after the acquisition announcement. Here’s what changed for hosted databases and what it means if you run libSQL yourself.
Read
September 13, 2026
libSQL vs Turso
libSQL is the open source SQLite fork. Turso is the company behind it, its managed platform, and now a separate Rust rewrite with the same name. Here is how the three fit together in September 2026.
Read
Upstream project
libSQL is developed by the libSQL project. Layerbase packages and hosts official releases; the engine itself is built upstream.