⏳ This article is scheduled for 31. Mai 2026 and not yet publicly visible.

    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

    Neo4j Kuzu Memgraph
    Deployment Server (self-hosted or Aura Cloud) Embedded (in-process) Server (self-hosted or Cloud)
    Storage native graph, disk columnar, disk in-memory + WAL
    Language Cypher (de-facto standard) openCypher openCypher
    Strength mature tooling, ecosystem, enterprise analytical queries, fast start streaming, low latency
    Weakness license costs, memory-hungry young, smaller driver pool RAM-heavy, smaller ecosystem
    License GPLv3 (Community) / Commercial (Enterprise) MIT BSL → Apache 2.0 (after 4 yrs)
    Vector index yes (HNSW, native) yes (HNSW) yes (HNSW)
    GraphRAG frameworks first-class, all integrated LlamaIndex, growing LlamaIndex, growing
    Cloud offering Aura (none official) Memgraph Cloud
    Best for enterprise agents, production embedded RAG, notebooks, local tools real-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
    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
    Claude Code vs OpenClaw – coding assistant compared to enterprise agent infrastructure
    April 28, 20263 min

    „Claude Code Killed OpenClaw" – Why That Comparison Makes No Sense

    People on LinkedIn keep saying „Claude Code killed OpenClaw." That's like comparing apples with interstellar spaceships.…

    Read more
    Paperclip control plane showing an org chart of AI agents with CEO, managers, workers, approval gates and budget tracking
    April 28, 20266 min

    Paperclip: If OpenClaw Is the Employee, Paperclip Is the Company

    Paperclip is open-source infrastructure to run an entire AI-only company – org chart, budgets, approvals, audit trail. W…

    Read more
    Two robotic hands tearing a golden Claude Pro ticket in half while token coins spill out, with a rising price chart in the background
    April 22, 20265 min

    Claude Code Out of Pro: The End of the All-You-Can-Eat Era for Coding Agents

    Anthropic is removing Claude Code from the Pro plan. Cursor already moved to token-based pricing. Codex is likely next. …

    Read more
    OpenClaw Pricing Shock: How to Avoid the $500 Bill
    April 5, 20262 min

    OpenClaw Pricing Shock: How to Avoid the $500 Bill

    Anthropic just killed third-party tool coverage under Claude subscriptions. If you're running OpenClaw without prep, you…

    Read more
    Microsoft Copilot 2026 – connected AI ecosystem across all M365 apps
    April 4, 20267 min

    Microsoft Copilot 2026: The Complete Guide – Features, Pricing, and Honest Assessment

    Microsoft Copilot evolved from a chat assistant to an autonomous agent platform in 2026. What can it actually do, what d…

    Read more