Stop paying for a graph database you're not querying.

Leyline charges for compute only while a query is running. Between queries you pay for storage and nothing else, even with billions of nodes and edges.

See how it works

No queries, no compute.

Your data stays in storage and nothing else runs. When a query arrives, compute starts, answers it, and shuts down again. The first query after a quiet spell takes a few hundred milliseconds longer.

Thousands of graphs. All at once.

A new graph is ready in milliseconds. Each one is fully isolated, and you can query all of them at the same time. You're billed for the total data you store, not per graph, so a thousand 1 GB graphs cost the same to store as one 1 TB graph.

Run PageRank while your app keeps querying.

Five algorithms are built in. Each gets its own compute, so it doesn't slow down live traffic on the same graph, and you start it with a single API call.

Built for billions.

Everything is written in Rust and runs in parallel, so a bigger graph gets more workers.

  • 893M nodes in one graph
  • 3.37B relationships
  • 19,000 reads a second
  • 14-minute import of 465 GB

One call, from any stack.

example.ts
import { LeylineClient, type ExecuteQueryOutput } from "@operation-leyline/client";

const result: ExecuteQueryOutput = await client.executeQuery({
  organizationId,
  graphId,
  query: "MATCH (n) RETURN n LIMIT 10"
});

Your next graph starts on Leyline.

Create it with one API call. You're billed for the data you store and the time your queries run.

Read the docs