Skip to content
BataDB

ComparePlanetScale

Start free.Sleep for free.

PlanetScale has no free plan, and every database and branch on it bills around the clock. BataDB starts free, costs $0 while idle, and branches your data without charging for the branch.

Side by side

What's in the box.

Every plan gets branching and point-in-time restore, Free included. Your agents get the same CLI and MCP server you do.

BataDB and PlanetScale, feature by feature
FeatureBataDBPlanetScale
Scale to zeroYes: After 5 idle minutesNo: Bills while running
Branches with your dataYes: Copy-on-write, one commandPartly: Empty, or a full restore
No branch feesYes: NoneNo: $5 a month per dev branch
Point-in-time restoreYes: Up to 30 days, includedYes: Included, 2 days of backups by default
Connection poolingYes: Built inYes: PgBouncer included
CLI with JSON outputYes: --json on every API commandYes: --format json
MCP serverYes: 128 toolsYes: Hosted
One-command importYes: bata importPartly: Dump and restore

The bill

Watch the idle hours add up.

We priced the same workload on BataDB and on PlanetScale, then let the month run.

Side project

One small database, busy two hours a day and idle the rest.

  • BataDBPay as you go$0.58 a month
  • PlanetScalePS-10, single node$10.00 a month

Saved against PlanetScale, every month

$9.4294% less

Move

Moving over takes one command.

bata import copies your database from PlanetScale into a new BataDB project, then checks row counts and sequences on both sides.

From PlanetScale
npm install -g @batadata/cli
bata login
bata import --source "$PLANETSCALE_DATABASE_URL" --name my-app
  • Connect on port 5432, not the PgBouncer on 6432.
  • SSL is required: add sslmode=verify-full.

Move one database.Then watch the bill.