Three abstract graph clusters side by side representing three graph databases

    Neo4j vs. Kuzu vs. Memgraph – which graph DB for which AI setup?

    31. Mai 20264 min read
    Till Freitag

    TL;DR:Neo4j for enterprise and ecosystem. Kuzu for embedded and fast prototyping. Memgraph for streaming and real time. Cypher works everywhere — the choice is almost never about syntax, it's about deployment model."

    Till Freitag

    What this is about

    Once a knowledge graph becomes serious, the DB question arrives. Three engines dominate 2026 for AI setups: Neo4j, Kuzu and Memgraph. They all speak Cypher (in dialects) but differ massively in deployment, performance profile, and licensing.

    This article helps you pick — without drifting into Cypher micro-benchmarks.

    The three profiles in one sentence

    • Neo4j — the industry standard. Server-based, huge ecosystem, enterprise features. What you can defend in a CTO pitch without slides.
    • Kuzu — embedded, columnar, extremely fast for batch analytics. "SQLite for graphs". The default for local RAG prototypes.
    • Memgraph — server, in-memory, stream-native. When the graph changes many times per second (logs, sensors, trading).

    Direct comparison

    Neo4jKuzuMemgraph
    DeploymentServer (self-hosted or Aura Cloud)Embedded (in-process)Server (self-hosted or Cloud)
    Storagenative graph, diskcolumnar, diskin-memory + WAL
    LanguageCypher (de-facto standard)openCypheropenCypher
    Strengthmature tooling, ecosystem, enterpriseanalytical queries, fast startstreaming, low latency
    Weaknesslicense costs, memory-hungryyoung, smaller driver poolRAM-heavy, smaller ecosystem
    LicenseGPLv3 (Community) / Commercial (Enterprise)MITBSL → Apache 2.0 (after 4 yrs)
    Vector indexyes (HNSW, native)yes (HNSW)yes (HNSW)
    GraphRAG frameworksfirst-class, all integratedLlamaIndex, growingLlamaIndex, growing
    Cloud offeringAura(none official)Memgraph Cloud
    Best forenterprise agents, productionembedded RAG, notebooks, local toolsreal-time analytics, fraud, ops

    When which?

    Neo4j

    If you need production-ready in enterprise, Neo4j is almost always the default. Reasons:

    • Every RAG framework has a Neo4j connector (LlamaIndex, LangChain, GraphRAG).
    • Bloom, Neo4j Browser, Workspace — the tools for ontology workshops are mature.
    • Multi-tenant, RBAC, backup, clustering — all there, you don't build it.
    • AuraDB with an EU region for GDPR is out-of-the-box.

    Trade-off: enterprise license isn't cheap, and for small setups (< 5M nodes) Neo4j is overkill.

    Kuzu

    If you think embedded — the graph should live in the same process as your app or notebook — Kuzu is unbeatable:

    • One library, no separate server.
    • Loads Parquet, CSV, JSON natively.
    • Columnar storage → analytical queries (aggregation, path counts) fly.
    • Perfect for local RAG tools, agent sandboxes, Jupyter workflows, edge deployments.

    Trade-off: no multi-user access (file lock), smaller driver pool, fewer integrated tools.

    Memgraph

    If the graph lives — continuous updates from Kafka, webhooks, IoT — Memgraph is the specialist:

    • In-memory with WAL → millisecond queries even under heavy writes.
    • MAGE (module library) for graph algorithms on stream.
    • Native Kafka integration.
    • Stream-first use cases: fraud detection, network monitoring, real-time recommendations.

    Trade-off: RAM scales directly with the graph. Smaller framework ecosystem than Neo4j.

    AI-specific aspects

    Vector index in the graph

    All three now ship native vector indexes (HNSW). In practice: hybrid retrieval in a single query — subgraph traversal combined with semantic search, no separate vector DB. In 2024 that was still an argument for additional tools like Qdrant or Weaviate — today one engine is enough.

    GraphRAG maturity

    • Neo4j: Microsoft GraphRAG, LlamaIndex KG Index, LangChain — all support Neo4j first-class. Best docs and examples.
    • Kuzu: LlamaIndex has an official Kuzu graph store, growing fast. Fastest pick for local prototypes.
    • Memgraph: LlamaIndex support exists, fewer tutorials. The pick when you're coming from a streaming use case and want to add graph.

    Cypher compatibility

    All three speak openCypher in similar dialects. Good news: migration is feasible. Bad news: Neo4j's enterprise features (APOC, GDS library) are often the lock-in argument.

    Decision tree

    Need real-time updates (>10 writes/s, ms latency)?
      → yes → Memgraph
      → no
        │
        Should the graph run in the same process as your app?
          → yes → Kuzu
          → no
            │
            Need multi-tenant, enterprise backup, cluster?
              → yes → Neo4j (Aura or self-hosted Enterprise)
              → no  → Neo4j Community or Kuzu, depending on team experience

    Our pragmatic default

    • Prototype/notebook: Kuzu. Installed fast, gone fast.
    • Production service with web UI / API: Neo4j Aura (EU region).
    • Streaming/real time: Memgraph.
    • Embedded in desktop app or edge: Kuzu, no discussion.

    When a customer asks "which one?", the answer is almost always Neo4j — not because it's objectively superior, but because the ecosystem (tools, hires, docs) makes the difference once more than one person works on it.

    Conclusion

    "Which graph DB?" is rarely decided by Cypher syntax. It's decided by deployment model, read/write profile, and team experience. Three clear profiles, three clear default decisions — and in 80% of cases the choice is made in five minutes.


    Related reading:

    TeilenLinkedInWhatsAppE-Mail

    Related Articles

    Vector embedding cloud next to a structured knowledge graph
    May 29, 20264 min

    GraphRAG vs. Vector RAG – when similarity stops being enough

    Vector RAG is the default — but the moment questions go multi-hop, it falls apart. GraphRAG combines knowledge graphs wi

    Read more
    Visualization of interconnected notes with backlinks – a personal knowledge graph
    May 28, 20265 min

    Obsidian as a Personal Knowledge Graph – Why Notes With Backlinks Change Everything

    Obsidian is more than a note-taking app – it's a personal knowledge graph. Why markdown, backlinks, and local files are

    Read more
    Old library with reference books, golden data streams flowing into a glowing knowledge graph
    June 15, 20265 min

    Professional Publishers Sit on the Most Valuable AI Asset – and Are Giving It Away

    LLMs handle general knowledge. B2B runs on verified, curated domain expertise – which professional publishers have been

    Read more
    Document stack dissolving into data points and reassembling into a structured knowledge graph
    May 30, 20264 min

    Entity extraction with LLMs – from document to knowledge graph

    How does a knowledge graph actually get its entities? With LLMs in four steps: chunking, extraction, deduplication, reso

    Read more
    Abstract visualization of a knowledge graph with nodes and connections
    May 27, 20264 min

    What Is a Knowledge Graph – and Why Is Everyone Talking About It?

    Knowledge graphs are suddenly everywhere – from Google to Palantir to every other AI agent startup. What's behind the hy

    Read more
    Microphone whose soundwaves dissolve into text streams across multiple app windows
    June 16, 20265 min

    WhisperFlow: Voice as a System-Wide Input Channel

    WhisperFlow turns voice into a system-wide input channel – in Lovable, Cursor, ChatGPT, Slack, and every text field. Set

    Read more
    OpenClaw audit: inventory of promises kept – and promises that fizzled
    June 8, 20264 min

    OpenClaw Audit 2026: What's Left of All Those Promises?

    OpenClaw was the hot new thing in 2024, a LinkedIn religion in 2025, and supposedly dead in 2026. A sober audit: what he

    Read more
    Builder looking skeptically at a routing diagram of multiple AI models
    June 5, 20264 min

    Lovable Model Routing: Why Output Quality Has Slipped for Builders

    Lovable now routes chat requests across different models depending on the task. From a builder's perspective, output qua

    Read more
    Coding-Agent Layer 2026: OpenCode, Aider, Continue.dev & Co. Compared
    June 4, 20264 min

    Coding-Agent Layer 2026: OpenCode, Aider, Continue.dev & Co. Compared

    Deep dive into the coding-agent layer: which OpenClaw coding rival fits which workflow? OpenCode, Aider, Continue.dev, S

    Read more