Serverless TypeDB
Strongly-typed knowledge graph with TypeQL. A real graph database without the operational weight, on cloud, desktop, or self-host.
Types
- user
- company
- employment
- friendship
| name | |
|---|---|
| Alice Chen | alice@b.co |
| Ben Ortiz | ben@b.co |
| Dana Suzuki | dana@b.co |
| Evan Walsh | evan@b.co |
| Farah Khan | farah@b.co |
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
Branching
Branch TypeDB for every preview deploy
Fork a running TypeDB into a full, isolated copy with its own connection string. 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 when the pull request merges. Layerbase branches 16 engines, not just Postgres.
See how branching workslbase cloud branch app-db pr-482
lbase cloud branch ls app-db
lbase cloud branch delete app-db pr-482Quick start
Connect with any TypeDB client
Knowledge graphs, expressive entity-relationship modeling, reasoning over structured data, and apps that benefit from a strongly-typed schema.
- Model a knowledge graph for a domain that defeats relational normalization
- Prototype reasoning use cases (drug interactions, supply chains, fraud rings)
- Hand a TypeDB endpoint to teammates who query it with the web console or a TypeDB driver
- Run TypeDB locally with Layerbase Desktop, deploy the same schema to cloud
- Self-host on your own hardware with the Layerbase CLI
typedb console --address your-host.cloud.layerbase.dev:1729 --username admin
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 TypeDB hosting
What you actually get on the free TypeDB tier
TypeDB 3.x is a strongly-typed knowledge graph you query with TypeQL, and it runs on the Free plan here at $0/mo with no card. It got there by being genuinely light: 47 MB idle, less than PostgreSQL. This is what is included and where the line is.
Free is $0/mo with no card
The Free plan covers 2 databases, 5 GB of storage, and up to 20 concurrent connections. TypeDB is one of the engines you can create on it. There is no trial clock on the plan and no expiry date.
A gRPC TypeQL endpoint and a browser console
Layerbase runs TypeDB 3.x, 3.12 by default, and publishes a gRPC TypeQL endpoint. The typedb console and the 3.x drivers for Python, Java, and Rust connect with the dashboard credentials, and the dashboard query console runs ad-hoc TypeQL in the browser. Worth knowing up front: the npm typedb-driver package is still 2.x, and the maintained 3.x JavaScript driver and TypeDB Studio both need the TypeDB HTTP endpoint, which we do not expose today.
It sleeps when idle and wakes on the first connection
A free TypeDB database hibernates after 15 minutes with no connections; paid plans wait 6 hours. It keeps its hostname, its port, and its data volume while it sleeps, and the first connection wakes it, but a TypeDB cold start takes about 13 seconds. Give the client a generous connect timeout, or start the database from its page first if your driver gives up sooner.
Forget about it and it archives, it does not vanish
A free database left hibernated for 14 days is archived (7 days if you never connected to it): its address is released and it takes an explicit Restore, roughly 10 to 30 seconds, to bring it back. Data and backups are kept. After 90 continuous days archived the live resources are reclaimed and the most recent backup is kept and still restorable in one click. Paid plans are never auto-archived.
No card on Free. Solo is $5/mo and Pro is $15/mo when you outgrow it.
FAQ
Common TypeDB questions
What is TypeDB?
TypeDB is a strongly-typed database for knowledge graphs: you declare a schema of entities, relations, and attributes, then query it with TypeQL. It earns its keep on domains that defeat relational normalization, such as supply chains, fraud rings, and drug interactions. Layerbase runs it as a managed database on the Free plan, with a gRPC TypeQL endpoint, the TypeDB drivers, and a web query console for ad-hoc TypeQL.
Which TypeDB version runs here?
TypeDB 3.x (3.12 by default). TypeQL 3.x uses transactions (define for schema, insert for data, match with select or fetch for reads). The 2.x concepts of sessions and rule when/then are not part of 3.x.
How do I connect to TypeDB on Layerbase?
Layerbase publishes a gRPC TypeQL endpoint. The typedb console and the TypeDB 3.x drivers for Python, Java, and Rust connect with the dashboard credentials, and the dashboard query console runs ad-hoc TypeQL in the browser.
What about the Node.js driver and TypeDB Studio?
The npm typedb-driver package is still 2.x. The maintained 3.x JavaScript driver and TypeDB Studio both connect over the TypeDB HTTP endpoint, which Layerbase does not expose today, so use the console, a gRPC driver, or the web query console. TypeDB Cloud is the option when you need Studio and multi-node HA clusters.
How do I define a TypeDB schema and load data?
The same TypeQL schema and ingestion patterns work locally and in cloud. The dashboard query console supports schema definition and ad-hoc TypeQL.
Is there a free TypeDB tier on Layerbase?
Yes. TypeDB is a Standard engine on Layerbase Cloud, included on the Free plan. It sleeps when idle and wakes on connect.
Can I run TypeDB locally?
Yes. The Layerbase CLI and Layerbase Desktop both run TypeDB with the same workflow.
Branch TypeDB in seconds
Fork a running TypeDB into a full, isolated copy with its own connection string. 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 16 engines, not just Postgres.
See how branching worksWhat you get
Everything a TypeDB database should ship with
The same primitives on every TypeDB 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.
Web IDE
Query console in the dashboard, no extra client to install.
TLS by default
All connections encrypted. No setup required.
Always-on connections
Pin a database to your plan's always-on pool so it never hibernates. Free has no pool, so a free database always sleeps when idle; Solo includes 768 MB of pool and Pro 1.5 GB.
Scale to zero
Hibernates when idle. Wakes on the next connection.
Connection pooling
Pooled endpoint for serverless and edge workloads.
Direct connections
Bypass the pooler for migrations and replication.
Native HTTPS endpoint
Engines whose own wire protocol speaks HTTPS. Every database, including this one, is also queryable over the platform's HTTPS query API and web console.
Serverless driver
Drop-in HTTP driver for edge runtimes (Neon serverless, PlanetScale, Upstash REST, or the engine-native client).
IP whitelisting
Restrict access to specific IPs or CIDR ranges.
Automatic backups
Scheduled dumps and volume snapshots with one-click restore on paid plans. Free includes 1 manual backup slot you take and restore yourself.
What it costs
What TypeDB 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.
Scale to zero when idle. No credit card.
The database you pin never sleeps.
Every engine, plus a bigger always-on pool.
Side by side
Hosted TypeDB, compared
| Provider | Free tier | Billing |
|---|---|---|
| TypeDB Cloud | Free Explore tier: one managed server with 10 GB of storage | Launch tier from $0.16/hour |
| Layerbase | TypeDB on the Free tier; sleeps when idle, wakes on connect | Flat pricing, and the same account runs 17 other engines |
TypeDB Cloud
- Free tier
- Free Explore tier: one managed server with 10 GB of storage
- Billing
- Launch tier from $0.16/hour
Layerbase
- Free tier
- TypeDB on the Free tier; sleeps when idle, wakes on connect
- Billing
- Flat pricing, and the same account runs 17 other engines
Competitor facts verified September 7, 2026 against each vendor's own pricing and documentation pages: TypeDB Cloud.
More on TypeDB
All articles- August 5, 2026
What TypeDB's Type System Actually Buys You
TypeDB is not a property graph with extra syntax. Entities, relations with named roles, and attributes are three independent kinds of type, and TypeDB 3 replaced inference rules with typed functions. Here is what that changes about how you model.
Read - July 9, 2026
TypeDB 3.12 is Now on Layerbase
TypeDB 3.12 landed this week with a given stage for injection-safe batch queries, @doc and @meta schema annotations, a new bulk loader, and an admin service that is off by default. You can spin one up free on Layerbase in seconds.
Read - July 8, 2026
Getting Started with TypeDB
Build a knowledge graph with TypeDB 3.x and TypeQL 3, covering type-safe schemas, pattern matching, multi-hop traversals, and functions that derive facts you never inserted.
Read - June 14, 2026
Branching with any database
Neon branches Postgres. PlanetScale branches MySQL. Layerbase branches all of them, because branching happens at the filesystem, not inside the engine. Here is how it works.
Read - June 2, 2026
KuzuDB alternatives: a managed graph database without the embedded ceiling
Kuzu (KuzuDB) is a fast embedded graph database, but with no server and no managed hosting. When to move to a managed graph database, and how TypeDB fits.
Read
Upstream project
TypeDB is developed by the TypeDB project. Layerbase packages and hosts official releases; the engine itself is built upstream.