Databases · head to head
Dgraph vs Fly.io

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
- Dgraph has a free plan, then $39/mo; Fly.io starts at $29/mo.
- Only Dgraph lists apache 2.0 licence; only Fly.io lists global deployment.
- Where Fly.io falls short: stopped machines still bill at $0.15 per GB of root filesystem a month, so a paused service is not a free one.
- Prices and features on this page were last checked on 13 November 2026.
How do Dgraph and Fly.io differ?
Dgraph and Fly.io differ on starting price (Free against $29/month), pricing model (Freemium against Usage-based) and free tier (Yes against No). Only the attributes on which Dgraph and Fly.io actually diverge.
Which features does each one have?
They share no listed features; 10 appear only for Dgraph and 20 only for Fly.io. 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 Fly.io
- Global deployment
- Docker support
- Postgres databases
- Redis support
- Auto-scaling
- Health checks
- Backups
- Monitoring
What is each one used for?
Fly.io is most often brought in for deploying containerised applications close to users across regions. 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 Fly.io
- A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot Fly.io
- Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot Fly.io
- Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot Fly.io
Fly.io
- Deploying containerised applications close to users across regionsnot Dgraph
- Running full stack apps and databases on managed machinesnot Dgraph
Where do Dgraph and Fly.io fall short?
Fly.io's most cited limit: stopped machines still bill at $0.15 per GB of root filesystem a month, so a paused service is not a free one. 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
Fly.io
- Egress is priced by destination region, from $0.02 per GB in North America and Europe to $0.12 per GB for Africa and India, so the same traffic costs six times more depending on where users are
- Stopped machines still bill at $0.15 per GB of root filesystem a month, so a paused service is not a free one
- Volumes are billed on provisioned capacity rather than usage, at $0.15 per GB a month
- Reservation discounts of 40% require paying a year up front, from $36 to $1,440
- Fly Kubernetes is a separate $75 a month per cluster
- Dedicated IPv4 addresses are $2 a month each
How much do Dgraph and Fly.io cost?
Dgraph has a free plan, with paid plans from $39/mo; Fly.io starts at $29/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
Fly.io
$29/month- Pay-as-You-GoOn request
- Micro VMs and persistent storage charged by usage
- FlyCTL CLI
- Unlimited users and organizations
- Serious Support$29/mo
- Access to dedicated engineering team
- All Pay-as-You-Go features
- Machine Reservation BlocksOn request
- 40% discount on machine usage
- Requires upfront payment for savings
- Compliance Package$99/mo
- HIPAA compliance
- BAAs
- SOC2 documentation
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 Fly.io if
- You need global deployment.
- You work on Web, API, Self-hosted.
- You also want docker support.
Questions people ask
- Is Dgraph or Fly.io better?
- Neither clearly leads. Dgraph starts at Free and Fly.io at $29/month, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
- Which is cheaper, Dgraph or Fly.io?
- Dgraph has a free tier; the other does not. Paid plans start at Free for Dgraph and $29/month for Fly.io.
- Does Dgraph or Fly.io run on more platforms?
- Dgraph runs on Linux, macOS, Self-hosted, Web. Fly.io runs on Web, API, Self-hosted.
- Can I use Dgraph for free?
- Yes. Dgraph has a free tier, so you can try it without paying. Fly.io starts at $29/month.
- 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 Fly.io is typically brought in for.
- What can Dgraph do that Fly.io cannot?
- Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding. Fly.io covers Global deployment, Docker support, Postgres databases, Redis support.
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.
Fly.io: Is there a free tier for Fly.io?
Fly.io does not advertise a free tier. The base plan is pay-as-you-go with usage-based pricing for Micro VMs and persistent storage. All users get FlyCTL CLI, unlimited organizations, private networking, SSO, ACLs, and scoped tokens.
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.
Fly.io: How much does Fly.io Serious Support cost?
Serious Support costs 29 USD per month and provides access to a dedicated engineering team while maintaining all pay-as-you-go features for Micro VMs and storage.
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.
Fly.io: What does Fly.io Compliance Package include?
The Compliance Package is 99 USD per month and includes HIPAA compliance, BAAs, and SOC2 documentation for organizations requiring compliance certifications.
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.
Fly.io: Does Fly.io offer discounts for upfront commitment?
Yes, Fly.io offers Machine Reservation Blocks with 40% discount on machine usage. This requires upfront payment but applies savings on infrastructure costs.
SourceDgraph: 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 Neo4j
- Dgraph vs ArangoDB
- Dgraph vs Elasticsearch
- Dgraph vs Couchbase
- Dgraph vs Cassandra
- Dgraph vs FaunaDB
- Dgraph vs Firebase Realtime Database
- Dgraph vs RavenDB
- Dgraph vs ScyllaDB
- Dgraph vs Cockroach Labs
- Dgraph vs DynamoDB
- Dgraph vs Canary Labs
- Dgraph vs Chroma
- Dgraph vs Cloudinary
- Dgraph vs Convex
- Dgraph vs Dragonfly
- Dgraph vs Dremio
- Dgraph vs CouchDB
- Dgraph vs Dokku
- Dgraph vs Porter
- Dgraph vs DigitalOcean
- Dgraph vs Koyeb
- Dgraph vs Zeabur
- Dgraph vs AWS (Amazon Web Services)
- Dgraph vs Coolify
- Dgraph vs Render
- Dgraph vs Railway
- Dgraph vs Beam Cloud
- Dgraph vs Northflank
- Dgraph vs Akamai
- Dgraph vs Deno Deploy
- Dgraph vs Go
- Dgraph vs Hetzner Cloud
- Dgraph vs Infracost
- Dgraph vs Jaeger
- Dgraph vs Lambda
- Fly.io vs Neo4j
- Fly.io vs ArangoDB
- Fly.io vs Elasticsearch
- Fly.io vs Couchbase
- Fly.io vs Cassandra
- Fly.io vs FaunaDB
- Fly.io vs Firebase Realtime Database
- Fly.io vs RavenDB
- Fly.io vs ScyllaDB
- Fly.io vs Cockroach Labs
- Fly.io vs DynamoDB
- Fly.io vs Canary Labs
- Fly.io vs Chroma
- Fly.io vs Cloudinary
- Fly.io vs Convex
- Fly.io vs Dragonfly
- Fly.io vs Dremio
- Fly.io vs CouchDB
- Fly.io vs Dokku
- Fly.io vs Porter
- Fly.io vs DigitalOcean
- Fly.io vs Koyeb
- Fly.io vs Zeabur
- Fly.io vs AWS (Amazon Web Services)
- Fly.io vs Coolify
- Fly.io vs Render
- Fly.io vs Railway
- Fly.io vs Beam Cloud
- Fly.io vs Northflank
- Fly.io vs Akamai
- Fly.io vs Deno Deploy
- Fly.io vs Go
- Fly.io vs Hetzner Cloud
- Fly.io vs Infracost
- Fly.io vs Jaeger
- Fly.io vs Lambda

