Best CockroachDB Alternatives for Indie Hackers in 2026
New CockroachDB Cloud orgs now get a 30-day trial instead of a free plan. Five databases that still have a real free tier, and which one fits your app.
If you were running a side project on CockroachDB's free Basic plan, the pricing page changed under you. On September 15, 2026, Cockroach Labs launched Cockroach Continuum, and the new page lists two Cloud editions. Standard starts at $0.092 per vCPU-hour, which Cockroach Labs estimates at about $203 a month for 2 vCPUs and 100 GB. New organizations get a 30-day trial with $400 in credit, and then the bill starts.
Basic, with its $15 of free usage a month, isn't on that page. Existing customers keep their current plans, per the same page. But anyone starting fresh is looking at a trial, not a free tier.
Most indie hackers never needed multi-region distributed SQL anyway. Prices below were checked on September 23, 2026.
Quick Verdict
| Tool | Best for | Price | Rating |
|---|---|---|---|
| Neon | Most side projects and early SaaS | Free, then $0.106/CU-hour | 4.5/5 |
| TiDB Cloud | Biggest free quota, MySQL apps | Free up to 25 GiB and 250M RUs/month | 4/5 |
| Aurora DSQL | Serverless distributed SQL on AWS | Free up to 100K DPUs and 1 GB/month | 3.5/5 |
| YugabyteDB | Distributed Postgres you can self-host | Open source, Aeon from $125/vCPU/month | 4/5 |
| Supabase | Database plus auth and storage | Free, Pro $25/month | 4/5 |
Do You Actually Need Distributed SQL?
Be honest about why you picked CockroachDB. If it was the free tier and the Postgres wire protocol, you want a serverless Postgres, and Neon or Supabase will feel the same from your ORM. If it was surviving a region going down, or writing to several regions at once, you need one of the distributed options, and that's a different price bracket everywhere.
Neon
Neon is serverless Postgres that scales compute to zero when idle, and suspended compute costs $0. The Free plan is permanent with no card, and gives you 100 CU-hours per project, 0.5 GB of storage and autoscaling up to 2 CU. Launch is pay-as-you-go at $0.106 per CU-hour and $0.35 per GB-month, with no monthly minimum.
It's real Postgres, so CockroachDB's wire compatibility works in your favour. Your driver doesn't change.
Who shouldn't use it: anyone who needs writes in more than one region. Neon is a single primary. And 0.5 GB fills up faster than you'd think once you store anything real.
Pick this if CockroachDB was just "free Postgres" for you. The Turso vs Neon vs Supabase comparison goes deeper on the trade-offs.
TiDB Cloud
TiDB Cloud Starter has the most generous free quota here. You get 25 GiB of row storage, 25 GiB of column storage and 250 million Request Units a month per organization, free. Past that it's $0.20 per GiB and $0.10 per million RUs. TiDB itself is open source under Apache 2.0.
It's distributed SQL like CockroachDB, but MySQL-compatible rather than Postgres-compatible. That's the dealbreaker for most people leaving Cockroach.
Who shouldn't use it: any Postgres app. Switching dialects means rewriting queries and migrations. The production-grade Essential tier is estimated at about $20 a day for a small production setup, so the jump from free is steep.
Pick this if your app is MySQL-flavoured or you want the most free headroom.
Aurora DSQL
Aurora DSQL is AWS's serverless distributed SQL database, and it's the closest thing to CockroachDB's model. You pay per unit of work, $8 per million DPUs and $0.33 per GB-month in US East (Ohio), and the free tier covers 100,000 DPUs and 1 GB a month.
It speaks the Postgres wire protocol, but it isn't Postgres. It uses optimistic concurrency, so conflicting transactions fail with a serialization error and your code has to retry. A transaction can modify at most 3,000 rows, DDL and DML need separate transactions, and there are no temporary tables and no PL/pgSQL.
Who shouldn't use it: anyone not already on AWS, and anyone whose app runs big batch updates. That 3,000-row limit bites on the first backfill.
Pick this if you're on AWS and multi-region writes are the reason you chose CockroachDB.
YugabyteDB
YugabyteDB is the architectural twin. It's distributed SQL that reuses the Postgres query layer, and the core is open source, free to download and run without restrictions. That's the difference from CockroachDB's self-hosted Enterprise Free license, which is capped at $10 million in revenue and comes with telemetry you can't turn off.
The managed version, YugabyteDB Aeon, starts at $125 per vCPU a month. Its free Sandbox cluster (up to 2 vCPUs, 4 GB of memory, 10 GB of storage) isn't meant for production, caps you at 15 connections, pauses after 10 days of inactivity and gets deleted 5 days after that.
Who shouldn't use it: a solo founder who doesn't want to run a three-node cluster. The managed tier costs more than CockroachDB Standard.
Pick this if you want distributed Postgres on your own servers with no licence strings.
Supabase
Supabase is Postgres plus auth, storage and realtime in one dashboard. Free gives you 2 active projects with a 500 MB database each, and Pro is $25 a month including $10 in compute credits, which covers one Micro instance.
Who shouldn't use it: anyone running a live app on the free tier. Free projects pause after a week of inactivity, which is fine for a prototype and bad for a demo you send to a customer. The Supabase alternatives post covers what to use if that's a problem.
Pick this if you'd rather replace CockroachDB and your auth provider in one move.
How Should You Choose?
For a side project or an early SaaS on one region, Neon. For a full backend in one place, Supabase. If you truly need multi-region writes, pick by cloud and dialect. Aurora DSQL if you're on AWS and want Postgres syntax, TiDB Cloud if you're happy with MySQL, and YugabyteDB if you'd rather own the cluster. The PlanetScale alternatives post covers the last time a free database tier disappeared, and Railway vs Render vs Fly.io covers where the app runs.
And if you're under $10 million in revenue and don't mind the telemetry, self-hosting CockroachDB is still free. That's a valid answer.
Final Recommendation
Neon for almost everyone. It's the same wire protocol, a free plan that doesn't expire and a $0 bill while idle, which is what the old Basic tier gave you. If multi-region is real for you, Aurora DSQL on AWS or YugabyteDB anywhere else.
Found a better option? Let me know on Twitter @devtoolpicks.
Frequently Asked Questions
Does CockroachDB still have a free tier?
Not for new sign-ups on the new pricing. Since September 15, 2026 the pricing page lists two Cloud editions, Standard and Mission Critical, and new organizations get a 30-day trial with $400 in credit. The old Basic plan with $15 of free monthly usage is not on that page. Existing Cloud customers stay on their current plans. Self-hosting is free under the Enterprise Free license if your company makes under $10 million a year.
How much does CockroachDB cost in 2026?
Checked September 23, 2026. Standard, on shared infrastructure, is $0.092 per vCPU-hour, which Cockroach Labs estimates at about $203 a month for 2 vCPUs and 100 GB. Mission Critical, on dedicated infrastructure, is $0.162 per vCPU-hour, estimated at $1,528 a month for 12 vCPUs. Storage, backups and data transfer are billed on top.
What is the closest alternative to CockroachDB?
YugabyteDB is the closest architecturally. It is a distributed SQL database that reuses the Postgres query layer, and the core is open source, so you can self-host it with no revenue cap. Aurora DSQL is the closest serverless match, since it is distributed, Postgres-compatible and billed per unit of work. TiDB is the closest if you prefer MySQL compatibility.
Can I migrate from CockroachDB to Neon?
Usually, yes. CockroachDB speaks the Postgres wire protocol, so your driver and ORM already work against Neon. Export with CockroachDB's EXPORT or a CSV dump, then import into Neon. Watch for CockroachDB-specific features: unique_rowid() defaults, hash-sharded indexes and multi-region table localities have no direct Postgres equivalent and need rewriting.
Is self-hosting CockroachDB still free?
For small companies, yes. CockroachDB Core was retired on November 18, 2024 and replaced by an Enterprise Free license for businesses under $10 million in annual revenue. The catch is mandatory telemetry, which you cannot opt out of on the free license, and you still run and patch the cluster yourself.
Get honest tool comparisons in your inbox
Join 50+ indie hackers and solo developers who get new comparisons, pricing changes, and tool picks. No spam. Unsubscribe anytime.
Related Articles
Best Airtable Alternatives for Indie Hackers in 2026 (Free and Self-Hosted Picks)
Airtable bills every editor and caps records per base. Four cheaper alternatives...
Best Cron and Scheduled Job Monitoring Tools for Indie Hackers in 2026
Your nightly backup stopped running three weeks ago and nothing alerted you, bec...
LiteLLM vs Portkey vs Cloudflare AI Gateway for Indie Hackers in 2026
Three AI gateways compared at indie scale: self-hosted LiteLLM, Portkey with obs...