Skip to content
TypeDB

Serverless TypeDB

Strongly-typed knowledge graph with TypeQL. A real graph database without the operational weight, on cloud, desktop, or self-host.

Free tier, no credit card
TypeQL Console
TypeDB

Types

  • user
  • company
  • employment
  • friendship
match $u isa user,
has name $name, has email $email;
select $name, $email;
sort $name asc; limit 5;
nameemail
Alice Chenalice@b.co
Ben Ortizben@b.co
Dana Suzukidana@b.co
Evan Walshevan@b.co
Farah Khanfarah@b.co
5 answers ยท 9ms
  • 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

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 works
Branch it from the CLI
lbase cloud branch app-db pr-482
lbase cloud branch ls app-db
lbase cloud branch delete app-db pr-482

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
Full TypeDB connection guide
bash
TypeDB
typedb console --address your-host.cloud.layerbase.dev:1729 --username admin

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.

Create a free TypeDB database

No card on Free. Solo is $5/mo and Pro is $15/mo when you outgrow it.

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 works

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.

Included

TLS by default

All connections encrypted. No setup required.

Included

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.

Included, Paid plans

Scale to zero

Hibernates when idle. Wakes on the next connection.

Included

Connection pooling

Pooled endpoint for serverless and edge workloads.

Included

Direct connections

Bypass the pooler for migrations and replication.

Included

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.

Not available

Serverless driver

Drop-in HTTP driver for edge runtimes (Neon serverless, PlanetScale, Upstash REST, or the engine-native client).

Not available

IP whitelisting

Restrict access to specific IPs or CIDR ranges.

Included

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.

Included, Scheduled: paid plans

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.

Free$0

Scale to zero when idle. No credit card.

Solo$5/mo

The database you pin never sleeps.

Pro$15/mo

Every engine, plus a bigger always-on pool.

Hosted TypeDB, compared

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.

TypeDB is developed by the TypeDB project. Layerbase packages and hosts official releases; the engine itself is built upstream.

typedb.com