Softwr

Databases · head to head

Dgraph vs Neo4j

Dgraph logo

Dgraph

Databases

Apache 2.0 distributed graph database written in Go, maintained by Hypermode, queried through GraphQL or its own DQL language.

From
Free
Rated
-
Neo4j logo

Neo4j

Databases

The world's leading graph database

From
Free
Rated
-

The short version

  • Each has a real cost: 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.; Neo4j auraDB Free has no service availability SLA, no backups and no point-in-time recovery
  • They diverge on capability: Dgraph covers Apache 2.0 licence, Neo4j covers Native Graph Storage.
  • Prices and features above were last checked on 30 August 2026.

Where they differ

Only the attributes on which Dgraph and Neo4j actually diverge.

Attributes where Dgraph and Neo4j differ
AttributeDgraphNeo4j
PlatformsLinux, Mac, Docker, WebLinux, Windows, Mac, Docker, Web
Founded20162007

Identical on both: starting price (Free), pricing model (freemium), free tier (Yes), user rating (Not yet rated), category (Databases).

What each one covers

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 people use each for

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 each one falls short

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

Pricing, plan by plan

Dgraph

Free
  • CommunityFree
    • Native GraphQL
    • Graph queries
    • Full-text search
  • Cloud$39/month
    • 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 Cloud$null/custom
    • 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, Mac, Docker, 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, Mac, Docker, Web.
  • You also want cypher query language.

Questions people ask

Is Dgraph or Neo4j better?
Neither clearly leads. Dgraph starts at Free and Neo4j at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
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, Mac, Docker, Web. Neo4j runs on Linux, Windows, Mac, Docker, 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.

Source
Dgraph: 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.

Source
Dgraph: 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.

Source
Dgraph: 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.

Share

Related pages

Other head to heads