Memgraph
by Memgraph
In-memory graph database for real-time AI context and sub-millisecond traversals
Memgraph is an in-memory, ACID-compliant graph database written in C++ that speaks openCypher over the Bolt protocol, so most Neo4j client code ports across unchanged. It targets teams building GraphRAG pipelines, agent memory, fraud detection and network analysis, where sub-millisecond multi-hop traversal matters more than storing a graph larger than available RAM.
Memgraph is an in-memory, ACID-compliant graph database written in C++ that now positions itself as "the graph engine for AI context." It speaks openCypher over the Bolt protocol, making it a near drop-in swap for existing Neo4j clients, but it keeps the working graph in RAM rather than paging it from disk. That single architectural choice is behind both its headline claims — sub-millisecond multi-hop traversals, roughly 1,000 read and write transactions per second, graph sizes the vendor scopes from 100 GB to 4 TB — and its main constraint, since the dataset has to fit in memory and the documented guidance is to provision about twice as much RAM as data. Durability comes from write-ahead logging plus periodic snapshots, with replication and automatic failover for high availability, and an on-disk transactional storage mode exists for datasets that exceed RAM at explicitly slower performance. The MAGE library ships 40-plus graph algorithms including PageRank, community detection and centrality; native stream connectors read from Kafka, Pulsar and Redpanda, alongside Parquet and JSONL loading. The AI push is the recent story: built-in vector and text indexes let one query combine similarity search with full graph traversal, which is the substance of Memgraph's GraphRAG pitch, and a documented AI-memory pattern stores semantic, episodic and procedural agent memory in a single graph with inspectable execution traces. Memgraph Lab handles visual query and schema exploration. Named users include NASA, which publicly moved off Neo4j citing cost, plus Cedars-Sinai, Capitec Bank, Microchip, Sayari and Skillsoft.
The data platform or AI infrastructure team that already writes Cypher and needs traversal latency low enough to sit inside a live request path — GraphRAG retrieval, agent memory lookups, or real-time fraud scoring — and can size the graph to fit in RAM.
Sub-millisecond multi-hop traversals with vector and text indexes in the same engine, so retrieval that would otherwise span a vector store and a graph database happens in one query.
At a Glance
- Category
- Data & Analytics
- Pricing
- Freemium, Subscription, Usage-based, Contact for pricing
- Target Market
- CTOs, Data Engineers, Enterprise Developers, ML/AI Engineers, Platform Engineers
- Deployment
- Self-hosted, Hybrid, Cloud-first
- Founded
- 2016
- Headquarters
- London, United Kingdom
Key Features
- ✓In-memory C++ storage engine
Keeps the working graph in RAM with ACID transactions, delivering sub-millisecond multi-hop traversals instead of disk-paged reads.
- ✓openCypher and Bolt compatibility
Speaks the same query language and wire protocol as Neo4j, so existing drivers, tooling and queries largely port across without a rewrite.
- ✓Native vector and text indexes
Combines similarity search with graph traversal inside a single query, removing the round-trip between a separate vector store and the graph.
- ✓MAGE algorithm library
Ships 40-plus graph algorithms including PageRank, centrality and community detection, callable directly from Cypher without exporting data.
- ✓Streaming and bulk ingestion connectors
Reads directly from Kafka, Pulsar and Redpanda for live graphs, plus native Parquet and JSONL loading for bulk backfills.
- ✓Enterprise access control and multi-tenancy
Fine-grained RBAC, label-based access, multiple roles per user, SSO via Entra ID, Okta, OIDC and SAML, LDAP/PAM and query audit logging.
- ✓Memgraph Lab
Visual query editor, schema explorer and result graph visualisation, which shortens the debugging loop on unfamiliar or evolving graph models.
Capabilities
Use Cases
- •GraphRAG retrieval for enterprise assistants
Traverse a knowledge graph across multiple hops to assemble context that pure vector similarity misses, then return it inside a single low-latency query.
- •Real-time credit and risk scoring
Capitec Bank runs scoring across more than 3.5 million clients daily, completing the pass in roughly two hours on Memgraph.
- •Agent memory and reasoning state
Store semantic, episodic and procedural agent memory in one graph with inspectable execution traces, so agent decisions can be audited after the fact.
- •Fraud ring and anomaly detection
Detect connected-entity patterns inside a live transaction path where a disk-backed graph traversal would blow the latency budget.
- •Network and dependency analysis
Model infrastructure, supply chain or identity dependency graphs and run centrality and community algorithms directly against the live dataset.
Ideal For
Best For
- ✓GraphRAG retrieval where multi-hop relationship traversal has to beat plain vector similarity
- ✓Agent memory stores that need semantic, episodic and procedural context in one queryable graph
- ✓Real-time fraud and anomaly detection scoring inside a live transaction path
- ✓Network, supply-chain and dependency analysis over graphs that fit comfortably in RAM
- ✓Teams migrating off Neo4j for licence or cost reasons who want to keep their Cypher and Bolt drivers
Not Ideal For
- ✗Graphs materially larger than affordable RAM — there is no sharding and no way to partition a graph across nodes, so growth means a bigger server rather than more servers, and RAM runs roughly 30-50x the per-GB cost of SSD
- ✗Write-heavy workloads that need horizontal write scaling; the scaling model is vertical, with replication for availability rather than throughput
- ✗Organisations with a hard OSI-approved-open-source procurement requirement — Community Edition ships under BSL 1.1, which restricts offering Memgraph as a service and is not recognised as open source by the OSI
- ✗Teams wanting one datastore for documents, key-value and time-series alongside graph; Memgraph is graph-first and expects the rest to live elsewhere
Integrations
Deployment
Market Analysis
Pros
- ✓Genuine latency advantage for hot graphs — sub-millisecond multi-hop traversals that a disk-first engine cannot match
- ✓Cypher and Bolt compatibility lowers migration cost from Neo4j to close to a connection-string change for many workloads
- ✓Vector plus graph in one engine removes an entire system from a GraphRAG architecture
- ✓Community Edition is genuinely capable — replication, vector search, MAGE and stream connectors are not paywalled
- ✓Public reference customers with real numbers, including NASA moving off Neo4j on cost and Capitec scoring 3.5M+ clients daily
Cons
- ✗No sharding and no graph partitioning across nodes — scaling is vertical only, and write throughput hits a ceiling that adding machines will not lift
- ✗The in-memory model makes hardware the dominant cost: RAM runs roughly 30-50x the per-GB price of SSD, so a large graph gets expensive fast and recovery means reloading the whole dataset into memory
- ✗BSL 1.1 is not OSI-approved open source despite the open-source framing, and restricts commercial use — a procurement blocker at some enterprises
- ✗The ecosystem lags Neo4j materially: fewer integrations, less community tooling, and nothing equivalent to AuraDB's managed-service maturity or the GDS library's breadth
- ✗Graph-only by design, so document, key-value and time-series workloads need another datastore alongside it
- ✗Little independent review coverage — no G2 or PeerSpot profile of substance, and Hacker News discussion is thin and mostly vendor-posted
Pricing
Community Edition
$0
- ✓Full in-memory graph engine
- ✓ACID transactions with on-disk persistence
- ✓Replication for high availability
- ✓Cypher, vector search and MAGE algorithms
- ✓Kafka/Pulsar/Redpanda connectors
- ✓Community support via Discord
- ✓BSL 1.1 licence
Enterprise Edition
Contact for pricing
- ✓Fine-grained and label-based RBAC
- ✓SSO via Entra ID, Okta, OIDC, SAML
- ✓LDAP/PAM authentication
- ✓Multi-tenancy and multiple roles per user
- ✓Automatic failover and no-downtime updates
- ✓Disaster recovery and query audit logging
- ✓Prometheus monitoring
- ✓Dedicated engineering support
Memgraph Cloud
From $0 (2-week trial, then pay-as-you-go)
- ✓Managed instances from 1 GB to 32 GB RAM
- ✓Pay-as-you-go metering
- ✓No infrastructure to operate
OEM / embedded
Contact for pricing
- ✓Custom terms for embedding Memgraph in a SaaS product
Community Edition is free but ships under BSL 1.1, which is source-available rather than OSI-approved open source and explicitly bars offering Memgraph as a service. Enterprise is quoted against memory capacity rather than seats or cores, and an independent 2026 comparison reports list starting around $25,000/year for 16 GB. Two Enterprise variants exist: the AI Platform tier meters graph data only and leaves vector indexes unlicensed, while Standard meters graph data and vector indexes combined. Memgraph Cloud bills pay-as-you-go on 1-32 GB instances after a two-week trial. Budget the RAM alongside the licence — it is usually the larger line.
Security & Compliance
Connect
Sources
This page was written from 8 sources, 5 on domains other than memgraph.com.
- 1.memgraph.com — pricingvendor
- 2.memgraph.com — install memgraphvendor
- 3.memgraph.com — authentication and authorizationvendor
- 4.github.com — memgraph
- 5.puppygraph.com — memgraph vs neo4j
- 6.arcadedb.com — neo4j alternatives in 2026 a fair look at the open source op
- 7.tracxn.com — funding and investors
- 8.hn.algolia.com — hn.algolia.com
Stay Ahead of the Curve
Weekly enterprise AI insights for technology leaders. No spam, no vendor pitches—unsubscribe anytime.
SubscribeRelated Products
Monte Carlo
Data and AI agent observability for enterprises running production AI
DataBahn
Agentic data control plane that cuts security telemetry 40-70% before it reaches your SIEM
Actian VectorAI DB
A local-first vector database for AI that runs on the edge, on-prem and air-gapped
Nimble
Expert-level web search agents that learn your domain, cutting AI research token spend roughly in half