Databases · head to head
Dgraph vs Kong Gateway

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

Kong Gateway
APIs
Open-source and cloud API gateway for managing microservices traffic
- From
- Free
- Free plan
- Yes
The short version
- Kong Gateway is free; Dgraph starts at $39/mo.
- Only Dgraph lists apache 2.0 licence; only Kong Gateway lists API request routing.
- Where Kong Gateway falls short: the free open-source gateway lacks the analytics, portals, and support of the paid Konnect tiers.
How do Dgraph and Kong Gateway differ?
Dgraph and Kong Gateway differ on platforms, category (Databases against APIs) and year founded (2016 against 2017). Only the attributes on which Dgraph and Kong Gateway actually diverge.
| Attribute | Dgraph | Kong Gateway |
|---|---|---|
| Platforms | Linux, macOS, Self-hosted, Web | Web, Linux, API |
| Category | Databases | APIs |
| Founded | 2016 | 2017 |
Identical on both: starting price (Free), pricing model (Freemium), free tier (Yes).
Which features does each one have?
They share no listed features; 10 appear only for Dgraph and 6 only for Kong Gateway. 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 Kong Gateway
- API request routing
- Plugin ecosystem
- Developer portals
- AI Gateway
- Analytics and observability
- SSO and audit logs
What is each one used for?
Kong Gateway is most often brought in for routing and securing traffic across microservices. 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 Kong Gateway
- A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot Kong Gateway
- Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot Kong Gateway
- Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot Kong Gateway
Kong Gateway
- Routing and securing traffic across microservicesnot Dgraph
- Publishing internal or external developer portalsnot Dgraph
- Managing rate limits and authentication at the API edgenot Dgraph
- Gateway-level routing to multiple LLM providersnot Dgraph
Where do Dgraph and Kong Gateway fall short?
Kong Gateway's most cited limit: the free open-source gateway lacks the analytics, portals, and support of the paid Konnect tiers. 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
Kong Gateway
- The free open-source gateway lacks the analytics, portals, and support of the paid Konnect tiers
- Plus tier caps API requests at 1M/month before incurring per-million overage charges
- Enterprise pricing is custom and not published, making budgeting harder without sales contact
- Configuration and plugin management can require significant operational expertise to run at scale
- The Plus plan includes 1M API requests a month and charges $200 a month for each additional million
How much do Dgraph and Kong Gateway cost?
Dgraph has a free plan, with paid plans from $39/mo; Kong Gateway is free to use. 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
Kong Gateway
Free- Free TrialFree
- 30-day enterprise functionality trial
- Unlimited gateways
- 30-day analytics retention
- PlusOn request
- Up to 5 serverless, 2 hybrid, 2 dedicated cloud gateways
- 1M API requests/month included
- Up to 2 developer portals
- EnterpriseOn request
- Unlimited hybrid and dedicated cloud gateways
- Unlimited developer portals
- SSO and audit logs
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 Kong Gateway if
- You need api request routing.
- You want to start without paying.
- You work on Web, Linux, API.
- You also want plugin ecosystem.
Questions people ask
- Is Dgraph or Kong Gateway 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; Kong Gateway fits routing and securing traffic across microservices. Dgraph starts at Free and Kong Gateway at Free.
- Which is cheaper, Dgraph or Kong Gateway?
- Dgraph starts at Free and Kong Gateway at Free.
- Does Dgraph or Kong Gateway run on more platforms?
- Dgraph runs on Linux, macOS, Self-hosted, Web. Kong Gateway runs on Web, Linux, API.
- 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 Kong Gateway is typically brought in for.
- What can Dgraph do that Kong Gateway cannot?
- Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding. Kong Gateway covers API request routing, Plugin ecosystem, Developer portals, AI Gateway.
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.
Kong Gateway: Is Kong Gateway free?
Kong's core gateway is open source and free to self-host. Kong Konnect, the managed cloud platform, offers a 30-day free trial before moving to paid Plus or custom Enterprise pricing.
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.
Kong Gateway: How is usage metered on the Plus plan?
The Plus plan includes 1M API requests per month, with additional usage billed at $200 per extra 1 million requests up to a 10M/month cap, plus per-gateway and per-LLM-model charges.
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.
Kong Gateway: What support is included?
Plus includes email support with a 2-business-day SLA, while Enterprise adds dedicated success managers and professional services.
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
More on Kong Gateway
Other head to heads
- Dgraph vs ArangoDB
- Dgraph vs Neo4j
- 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 Tyk
- Dgraph vs Convoy
- Dgraph vs Spring Cloud Gateway
- Dgraph vs Gravitee
- Dgraph vs AWS API Gateway
- Dgraph vs WSO2 API Manager
- Dgraph vs GraphQL Apollo
- Dgraph vs Zuplo
- Dgraph vs IBM API Connect
- Dgraph vs 3scale
- Dgraph vs Apigee
- Dgraph vs Portkey
- Dgraph vs Tink
- Dgraph vs Directus
- Dgraph vs Mambu
- Dgraph vs TrueLayer
- Dgraph vs Sanity
- Dgraph vs Yapily
- Kong Gateway vs ArangoDB
- Kong Gateway vs Neo4j
- Kong Gateway vs Azure Cosmos DB
- Kong Gateway vs SurrealDB
- Kong Gateway vs Elasticsearch
- Kong Gateway vs Couchbase
- Kong Gateway vs Cassandra
- Kong Gateway vs Aerospike
- Kong Gateway vs Firebase Realtime Database
- Kong Gateway vs ScyllaDB
- Kong Gateway vs FaunaDB
- Kong Gateway vs RavenDB
- Kong Gateway vs Nile
- Kong Gateway vs Readyset
- Kong Gateway vs SAP HANA
- Kong Gateway vs Vertica
- Kong Gateway vs Airtable
- Kong Gateway vs Supabase
- Kong Gateway vs Tyk
- Kong Gateway vs Convoy
- Kong Gateway vs Spring Cloud Gateway
- Kong Gateway vs Gravitee
- Kong Gateway vs AWS API Gateway
- Kong Gateway vs WSO2 API Manager
- Kong Gateway vs GraphQL Apollo
- Kong Gateway vs Zuplo
- Kong Gateway vs IBM API Connect
- Kong Gateway vs 3scale
- Kong Gateway vs Apigee
- Kong Gateway vs Portkey
- Kong Gateway vs Tink
- Kong Gateway vs Directus
- Kong Gateway vs Mambu
- Kong Gateway vs TrueLayer
- Kong Gateway vs Sanity
- Kong Gateway vs Yapily
