Databases · head to head
Dgraph vs Neo4j

Dgraph
Databases
Apache 2.0 distributed graph database written in Go, maintained by Hypermode, queried through GraphQL or its own DQL language.
- From
- Free
- Free plan
- Yes
The short version
- Neo4j is a native graph database.
- Free plans on both; paid from $39/mo and $65/mo.
- Only Dgraph lists predicate sharding; only Neo4j lists native Graph Storage.
- Where Neo4j falls short: AuraDB Free has no service availability SLA, no backups and no point-in-time recovery.
How do Dgraph and Neo4j differ?
Dgraph and Neo4j differ on platforms and year founded (2016 against 2007). Only the attributes on which Dgraph and Neo4j actually diverge.
Identical on both: starting price (Free), pricing model (Freemium), free tier (Yes), category (Databases).
Which features does each one have?
They share no listed features; 10 appear only for Dgraph and 17 only for Neo4j. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Dgraph
- Apache 2.0 licence
- Generated GraphQL API
- DQL query language
- Predicate sharding
- Raft replication
- Distributed ACID transactions
- Written in Go
- Full-text and geo indexing
Only in Neo4j
- Native Graph Storage
- Cypher Query Language
- ACID Transactions
- High Availability
- Graph Data Science
- Full-text Search
- Native Indexes
- GraphQL
What is each one used for?
Neo4j is most often brought in for graph database for learning and exploration. The jobs each tool is most often brought in to do.
Dgraph
- An application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQLnot Neo4j
- A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot Neo4j
- Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot Neo4j
- Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot Neo4j
Neo4j
- Graph database for learning and explorationnot Dgraph
- Production workloads requiring high availability and multi-zone redundancynot Dgraph
- Enterprise deployments needing custom infrastructurenot Dgraph
Where do Dgraph and Neo4j fall short?
Neo4j's most cited limit: AuraDB Free has no service availability SLA, no backups and no point-in-time recovery. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Dgraph
- Sharding is by predicate, so a single very hot predicate lives entirely in one Raft group and cannot be split further; adding nodes does not relieve it and the fix is a data model change
- Stewardship passed from Dgraph Labs to Hypermode after the original company stopped operating independently, so anyone building on it is betting on a second custodian rather than on the original team's roadmap
- The GraphQL layer is generated and opinionated, so anything it does not express drops you into DQL, which is a second language your team must learn and which no other database speaks
- The community is a fraction of Neo4j's, so operational answers, tuning experience, hiring and third-party tooling are all thinner, and unusual failure modes in a Zero and Alpha cluster leave you reading source rather than a forum
- There is no portable graph standard to migrate to; Cypher, Gremlin and SPARQL are all different query models, so the schema and every query is a rewrite if you later leave, and that cost grows with the application
Neo4j
- AuraDB Free has no service availability SLA, no backups and no point-in-time recovery
- AuraDB Free imposes limits on node and relationship counts and runs single-zone only
- SSO authentication and role-based access control are excluded from AuraDB Free and AuraDB Professional, starting only at Business Critical at $146 per GB per month with a 2GB minimum cluster
- AuraDB Professional starts at $65 per GB per month with a minimum 1GB cluster and caps at 128GB memory per instance
- AuraDB Professional backups are daily with only 7-day retention, against 30 days on Business Critical
- Customer managed keys and private endpoints are available only on AuraDB Virtual Dedicated Cloud, which is quote only with no published price
- Change data capture, query log forwarding, secondaries and access to Neo4j Professional Services are excluded below the Business Critical tier
- Support on AuraDB Free is community only and AuraDB Professional is best effort, with 24x7 one-hour response starting at Business Critical
- AuraDB Virtual Dedicated Cloud is sold on prepaid contract terms with enterprise commercial negotiation rather than self-serve card payment
How much do Dgraph and Neo4j cost?
Dgraph has a free plan, with paid plans from $39/mo; Neo4j has a free plan, with paid plans from $65/mo. Plan by plan below, from each vendor's own pricing page.
Dgraph
Free- CommunityFree
- Native GraphQL
- Graph queries
- Full-text search
- Cloud$39/mo
- Managed service
- Auto-scaling
- Enterprise support
Neo4j
Free- FreeFree
- Learning and exploration access
- No credit card required
- All graph tools included
- AuraDB Professional$65/gb/month
- 1GB minimum cluster
- Hourly billing available ($0.09/hour for 1GB)
- Daily backups with 7-day retention
- AuraDB Business Critical$146/gb/month
- 2GB minimum cluster
- Hourly billing available ($0.40/hour for 2GB)
- Up to 512GB maximum
- Virtual Dedicated CloudOn request
- Custom pricing via sales contact
- Dedicated VPC infrastructure
- Hourly backups with 60-day retention
Which should you pick?
Choose Dgraph if
- You need apache 2.0 licence.
- You want to start without paying.
- You work on Linux, macOS, Self-hosted, Web.
- You also want generated graphql api.
Choose Neo4j if
- You need native graph storage.
- You want to start without paying.
- You work on Linux, Windows, macOS, Self-hosted, Web.
- You also want cypher query language.
Questions people ask
- Is Dgraph or Neo4j better?
- It depends on the job. Dgraph fits an application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQL; Neo4j fits graph database for learning and exploration. Dgraph starts at Free and Neo4j at Free.
- Which is cheaper, Dgraph or Neo4j?
- Dgraph starts at Free and Neo4j at Free.
- Does Dgraph or Neo4j run on more platforms?
- Dgraph runs on Linux, macOS, Self-hosted, Web. Neo4j runs on Linux, Windows, macOS, Self-hosted, Web.
- Can I use Dgraph for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Dgraph best used for?
- Dgraph is most often used for an application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes graphql, a knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiation, recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottleneck, teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available one. Of those, an application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes graphql and a knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiation are not what Neo4j is typically brought in for.
- What can Dgraph do that Neo4j cannot?
- Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding. Neo4j covers Native Graph Storage, Cypher Query Language, ACID Transactions, High Availability.
Answered from the vendors’ own pages
Dgraph: Is Dgraph open source?
Yes. The current repository is Apache 2.0, which is a permissive OSI licence, and the project is at v25 under Hypermode's maintenance.
Neo4j: Is Neo4j free?
Neo4j offers a free tier (AuraDB Free) for learning and exploration with no credit card required. Community Edition is also free and GPL3-licensed. Paid tiers start at $65/GB per month for AuraDB Professional.
SourceDgraph: Is it really GraphQL?
It serves a generated GraphQL API, which is real GraphQL for clients. Its native language, DQL, resembles GraphQL syntactically but is Dgraph's own language and is not the GraphQL specification.
Neo4j: What does Neo4j's Professional tier include?
AuraDB Professional costs $65/GB per month with a 1GB minimum cluster, includes daily backups with 7-day retention, single-zone availability, and best-effort support. Hourly billing is available at $0.09/hour per GB.
SourceDgraph: How does it compare to Neo4j?
Neo4j has the larger ecosystem, Cypher, and far more operational precedent. Dgraph distributes storage across nodes by default and gives you a GraphQL endpoint without writing resolvers. The choice usually turns on whether you need horizontal scale and a GraphQL surface more than you need ecosystem depth.
Neo4j: What is Neo4j's most advanced pricing tier?
AuraDB Business Critical costs $146/GB per month with a 2GB minimum and includes multi-zone redundancy, 99.95% uptime SLA, 24/7 premium support with one-hour response times, and point-in-time recovery.
SourceDgraph: What does a production cluster look like?
At minimum a set of Zero nodes for coordination and a replicated set of Alpha nodes for data, typically three of each for fault tolerance, which is a meaningfully larger operational footprint than a single graph server.
Dgraph: Who maintains it now?
Hypermode. Dgraph Labs, the original company, no longer operates it, and that change of custodian is the main non-technical risk to weigh.
Related pages
Other head to heads
- Dgraph vs ArangoDB
- Dgraph vs Azure Cosmos DB
- Dgraph vs SurrealDB
- Dgraph vs Elasticsearch
- Dgraph vs Couchbase
- Dgraph vs Cassandra
- Dgraph vs Aerospike
- Dgraph vs Firebase Realtime Database
- Dgraph vs ScyllaDB
- Dgraph vs FaunaDB
- Dgraph vs RavenDB
- Dgraph vs Nile
- Dgraph vs Readyset
- Dgraph vs SAP HANA
- Dgraph vs Vertica
- Dgraph vs Airtable
- Dgraph vs Supabase
- Dgraph vs Amazon Neptune
- Dgraph vs MongoDB
- Dgraph vs Tinybird
- Dgraph vs turbopuffer
- Dgraph vs Zilliz
- Dgraph vs DynamoDB
- Dgraph vs Amazon DocumentDB
- Dgraph vs Amazon ElastiCache
- Neo4j vs ArangoDB
- Neo4j vs Azure Cosmos DB
- Neo4j vs SurrealDB
- Neo4j vs Elasticsearch
- Neo4j vs Couchbase
- Neo4j vs Cassandra
- Neo4j vs Aerospike
- Neo4j vs Firebase Realtime Database
- Neo4j vs ScyllaDB
- Neo4j vs FaunaDB
- Neo4j vs RavenDB
- Neo4j vs Nile
- Neo4j vs Readyset
- Neo4j vs SAP HANA
- Neo4j vs Vertica
- Neo4j vs Airtable
- Neo4j vs Supabase
- Neo4j vs Amazon Neptune
- Neo4j vs MongoDB
- Neo4j vs Tinybird
- Neo4j vs turbopuffer
- Neo4j vs Zilliz
- Neo4j vs DynamoDB
- Neo4j vs Amazon DocumentDB
- Neo4j vs Amazon ElastiCache

