New: spin up a 3-DB Web App Stack on the free tier

Layerbase: 20 databases
1 platform
0 complexity

The PostgreSQL and Redis you'd expect. DuckDB, FerretDB, MariaDB too - all on one signup, scaled to zero when idle, flat fee when running. The all-in-one nobody else is shipping.

Free tier with PostgreSQL, MySQL, SQLite, DuckDB, libSQL, Valkey, and Redis. No credit card.

Layerbase Cloud/postgresql
Database
PostgreSQLv16.4
Running·us-east-1

Connection

postgresql://layerbase:•••••@postgresql-prod.layerbase.cloud:5432

Scale to zero

On

Storage

256 MB

Plan

Free

01/21
21 Engines
5 Free Engines
0 Docker required
Open Core

The whole data layer, in one signup.

Pre-built stacks that provision database + cache + auth (and more) in parallel. One paste-ready .env block when they're ready. The Web App Stack is free.

Free

Web App Stack

Postgres + Cache + Auth - the SaaS starter pack.

DatabaseCacheAuth Server

~60 seconds

AI App Stack

Postgres + Cache + Vectors + Search - RAG ready.

DatabaseCacheVector storeSearch

~90 seconds

Analytics Stack

ClickHouse + DuckDB + Postgres - query everywhere.

App databaseWarehouseNotebook

~3 minutes

Realtime Stack

QuestDB + Valkey + Postgres - time-series and live data.

Time-seriesPub/subMetadata

~2 minutes

More than a database.

Capabilities built into engines you already run. Email and password auth on libSQL, a job queue on Valkey. No separate service, no separate bill.

Every shape of data.

Relational, document, key-value, vector, time-series, graph, analytical, financial. Filter by category or scan all 21.

Most of these have never had a serverless option.

Until now. Some are still in beta. The rest you can spin up today.

FerretDB
SurrealDB
DuckDB
QuestDB
TypeDB
LibSQL
TigerBeetleBeta

Four ideas other clouds skipped.

Idle
Idle
Active
Idle
Idle

Scale to zero. All of them.

Not just Postgres. Your MySQL, Redis, ClickHouse, and DuckDB instances sleep when idle and wake up in a couple seconds. Pay for storage, not idle time.

curl https://api.layerbase.cloud/query \
-d '{"sql":"SELECT 1"}'
4.3ms·application/json

HTTPS for every database.

Skip the connection pool. Query Postgres, Redis, Qdrant, anything else over HTTPS in a few milliseconds. Works the same from Vercel Edge, Cloudflare Workers, or your laptop.

$ psql postgresql://duckdb-prod.layerbase.cloud
psql (16.4, server DuckDB 1.1)
analytics=>SELECT * FROM events;

psql, for things that aren't Postgres.

Point TablePlus at a DuckDB instance. Run SQLAlchemy against SQLite-as-a-service. The Postgres wire protocol on top of engines that never had network protocols.

Invoice · March#2026-03
Layerbase Cloud$12.00
Total$12.00

One bill. No surprises.

Flat monthly fee. No per-query, no per-request, no end-of-month panic when your weekend project goes viral. The free tier covers most dev needs.

For the vibe-code crowd

Already in the training data.

Compatible with @planetscale/database, @upstash/redis, and the SDKs your AI already generates. Paste a Cursor route, drop in a Vercel template, change the connection string. Ship.

import { Redis } from '@upstash/redis'
const redis = new Redis({
url: 'https://...layerbase.cloud',
})
// Same SDK. New backend.
MITBSDOpen licenses

MongoDB and Redis. Without the license drama.

FerretDB is wire-compatible with MongoDB, MIT-licensed, no SSPL. Valkey is the Linux Foundation fork of Redis, BSD-licensed. Same drivers, same protocols, none of the legal asterisks.

FerretDB

Mongo-compatible

MIT licensed

Valkey

Redis-compatible

BSD licensed

Same engine. Laptop to production.

Your localhost Postgres is bit-for-bit your production Postgres. Same applies to every other engine on Layerbase.

01Develop

Run any engine on your laptop.

No Docker, no brew install hell, no "works on my machine." Use the Desktop app or the CLI, your call.

02Preview

Free instant cloud databases.

Stand up a real engine for a feature branch, a demo, or a staging env. Script it into your CI with the CLI, or click it into existence in the dashboard.

03Ship

Production. Same engine, all the way through.

Scale-to-zero, the HTTPS query API, and one monthly bill. Same engine you have been developing against since day one.

TLS, generated credentials, and IP allowlists included on every tier.

Roadmap: automatic per-branch preview databases for every PR, no scripting required.

Built-in IDE for every engine. Yes, including yours.

Most clouds give you a SQL textarea and call it a day. We built four purpose-built consoles, one for each data shape.

Query Console
PostgreSQL 16

Tables

  • users
  • events
  • orders
  • sessions
SELECT id, name, created_at
FROM events
WHERE created_at > NOW() - INTERVAL '7 days'
ORDER BY id DESC LIMIT 5;
idnamecreated_at
1247signup2026-03-12 14:21
1246purchase2026-03-12 14:08
1245login2026-03-12 13:55
1244signup2026-03-12 13:44
1243purchase2026-03-12 13:30
5 rows · 12ms

12 SQL dialects. Syntax-highlighted, autocompleted, ready.

Start free. Pay when you scale.

Seven engines free forever - enough to ship a real Web App Stack (Postgres + Cache + Auth) with three databases on a single signup. No credit card, no trial, no expiring tokens.

PostgreSQLFree
MySQLFree
SQLiteFree
DuckDBFree
LibSQLFree
ValkeyFree
RedisFree

When you need more, you only pay for what you turn on. Backups, region pinning, keep-alive, or one of the heavier engines. Security isn't on that list. TLS, generated credentials, and IP allowlists are included on every tier, including free.

Common questions

What is Layerbase?

Layerbase Cloud is the easy way to run a database in production: 21 engines, a free tier with no credit card, monthly plans, and per-database add-ons for paid features. Most teams start here.

Layerbase Desktop gives you the same engines and admin UI on your laptop. Use it as a database IDE, a local-dev runner, or both. Works with any database connection string, not just ones it created.

If you would rather self-host or run locally on the command line, SpinDB is the open-source CLI that powers both of the above. It installs native binaries, no containers required.

Layerbase Cloud FAQs
Is there really a free tier?

Yes. PostgreSQL, MySQL, SQLite, DuckDB, libSQL, Valkey, and Redis are free at the base configuration: cloud-hosted, HTTPS endpoint, hibernation, real connection string. Free tier includes 3 databases - enough to ship a full Web App Stack (database + cache + auth) on a single signup. Paid plans unlock more engines and optional add-ons such as backups, region pinning, keep-warm, and larger storage.

How does billing work?

Free includes one base database with no credit card. Developer and Startup are monthly plans, and optional per-database add-ons are billed in $1 or $2 monthly increments alongside your plan through Polar.

What does Layerbase Cloud replace?

Neon, PlanetScale, Supabase, Railway, Render, Aiven, Upstash, and DigitalOcean Managed Databases. More engines than any single one of them, and a free tier that does not expire.

When should I NOT use Layerbase Cloud?

High availability and multi-region replication are on the roadmap, not shipped. If your workload requires synchronous multi-region writes today, use the upstream cloud for that engine. Everything else (single-region production, dev/staging, side projects) we are ready for.

Layerbase Desktop FAQs
What does Layerbase Desktop replace?

Your database IDE (TablePlus, DBeaver, DataGrip, pgAdmin, MySQL Workbench, Compass, Navicat, Beekeeper Studio) and your local database runner (DBngin, Postgres.app, XAMPP, MAMP, WAMP, Docker for dev databases). It is a multi-engine database management platform with cloud integration, AI features, and deployment built in. The query editor is a bonus, not the point.

Can I connect to existing databases?

Yes. Layerbase Desktop works with any database connection string, not just databases it created. If the engine is one we support, you can connect to it, whether it is running locally, on another cloud provider, or on bare metal.

Is Layerbase Desktop available offline?

Yes. It works fully offline. The exceptions are AI features (which require a network connection) and the initial authentication when purchasing a plan. After that, everything runs locally.

SpinDB FAQs
What is SpinDB?

A cross-platform CLI for installing and running databases as native binaries. The open-source engine behind both Layerbase Cloud and Layerbase Desktop. Use it directly if you want a scriptable, container-free local-dev workflow or to self-host on your own infrastructure.

What does SpinDB replace?

Docker, DBngin, Postgres.app, and Homebrew-managed databases for local development. Native binaries, no containers, no overhead. Originally built for creating transient databases in automated testing.

Is SpinDB available offline?

Yes. SpinDB works fully offline after the initial binary download. No network connection required to create, start, stop, or manage databases.

Start free. Ship today.

One serverless cloud. Every database. Free tier with no card, no trial, no expiring tokens.