APIs · head to head
Basis Theory vs Dgraph

Basis Theory
APIs
Developer tokenisation platform that holds card and sensitive data inside a PCI Level 1 environment you do not operate
- From
- $995/month
- Free plan
- No

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; Basis Theory starts at $995/mo.
- Only Basis Theory lists tokenisation API; only Dgraph lists apache 2.0 licence.
- Prices and features on this page were last checked on 20 November 2026.
How do Basis Theory and Dgraph differ?
Basis Theory and Dgraph differ on starting price ($995/month against Free), pricing model and free tier (No against Yes). Only the attributes on which Basis Theory and Dgraph actually diverge.
| Attribute | Basis Theory | Dgraph |
|---|---|---|
| Starting price | $995/month | Free |
| Pricing model | Per month by token volume | Freemium |
| Free tier | No | Yes |
| Platforms | Web, iOS, Android, Linux | Linux, macOS, Self-hosted, Web |
| Category | APIs | Databases |
Not yet recorded: founded for Basis Theory.
Which features does each one have?
They share no listed features; 8 appear only for Basis Theory and 10 only for Dgraph. 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 Basis Theory
- Tokenisation API
- Hosted elements
- Outbound proxy
- PCI attestation of compliance
- Processor portability
- Reactors
- Access controls and audit
- PII and PHI options
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
What is each one used for?
The jobs each tool is most often brought in to do.
Basis Theory
- A payments company that wants card on file without bringing its own infrastructure into PCI scope and paying for the assessment that followsnot Dgraph
- A merchant locked into a processor by that processor vault that wants to hold its own tokens and route to more than one acquirernot Dgraph
- A fintech collecting bank account and identity data that needs it isolated from its application database before an enterprise security reviewnot Dgraph
- A team that needs to send stored card data to a third party for a one-off integration without that data traversing its own serversnot Dgraph
Dgraph
- An application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQLnot Basis Theory
- A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot Basis Theory
- Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot Basis Theory
- Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot Basis Theory
Where do Basis Theory and Dgraph fall short?
Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Basis Theory
- The Starter plan is 995 US dollars a month before any volume, which is a real floor for an early stage company and puts the product out of reach of teams tokenising a few thousand records
- Starter is limited to the US region, so a company with European data residency requirements is pushed into a quoted Scale or Enterprise agreement immediately
- Log retention on Starter is 24 hours, which is well below what most security teams expect for a system holding cardholder data and forces an upgrade for reasons unrelated to volume
- Migrating away means moving card data out of the vault, which requires processor and assessor involvement and is slow, so the portability argument that attracts buyers cuts against them at exit
- An attestation of compliance covers the vendor environment, not your assessment; your assessor still decides what is in scope, and buyers occasionally discover their integration pattern pulled systems back into scope anyway
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
How much do Basis Theory and Dgraph cost?
Basis Theory starts at $995/mo; Dgraph has a free plan, with paid plans from $39/mo. Plan by plan below, from each vendor's own pricing page.
Basis Theory
$995/month- Starter$995/mo
- 20,000 tokens included
- Production PCI Level 1 environment
- US region only
- ScaleOn request
- Quoted
- Higher token volumes
- Additional regions
- EnterpriseOn request
- Quoted
- Additional compliance options for PII and PHI
- Responses for 95 percent of PCI SAQ D
Dgraph
Free- CommunityFree
- Native GraphQL
- Graph queries
- Full-text search
- Cloud$39/mo
- Managed service
- Auto-scaling
- Enterprise support
Which should you pick?
Choose Basis Theory if
- You need tokenisation api.
- You work on Web, iOS, Android, Linux.
- You also want hosted elements.
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.
Questions people ask
- Is Basis Theory or Dgraph better?
- Neither clearly leads. Basis Theory starts at $995/month and Dgraph at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
- Which is cheaper, Basis Theory or Dgraph?
- Dgraph has a free tier; the other does not. Paid plans start at $995/month for Basis Theory and Free for Dgraph.
- Does Basis Theory or Dgraph run on more platforms?
- Basis Theory runs on Web, iOS, Android, Linux. Dgraph runs on Linux, macOS, Self-hosted, Web.
- Can I use Dgraph for free?
- Yes. Dgraph has a free tier, so you can try it without paying. Basis Theory starts at $995/month.
- What is Basis Theory best used for?
- Basis Theory is most often used for a payments company that wants card on file without bringing its own infrastructure into pci scope and paying for the assessment that follows, a merchant locked into a processor by that processor vault that wants to hold its own tokens and route to more than one acquirer, a fintech collecting bank account and identity data that needs it isolated from its application database before an enterprise security review, a team that needs to send stored card data to a third party for a one-off integration without that data traversing its own servers. Of those, a payments company that wants card on file without bringing its own infrastructure into pci scope and paying for the assessment that follows and a merchant locked into a processor by that processor vault that wants to hold its own tokens and route to more than one acquirer are not what Dgraph is typically brought in for.
- What can Basis Theory do that Dgraph cannot?
- Basis Theory covers Tokenisation API, Hosted elements, Outbound proxy, PCI attestation of compliance. Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding.
Answered from the vendors’ own pages
Basis Theory: Does this make us PCI compliant?
It removes cardholder data from your systems and gives you an AOC plus documented responses for most of a SAQ D. Your assessor still determines your scope, and a careless integration can pull systems back in.
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.
Basis Theory: What does it cost to start?
995 US dollars a month on Starter, including 20,000 tokens, a production PCI Level 1 environment and US hosting. Higher tiers are quoted.
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.
Basis Theory: Can we switch payment processors without re-collecting cards?
Yes, that is the main non-compliance reason to buy it. You hold the tokens and detokenise into whichever processor you route to.
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.
Basis Theory: Is data stored outside the United States?
Not on Starter, which is US only. Other regions require a Scale or Enterprise agreement.
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.
Related pages
More on Basis Theory
Other head to heads
- Basis Theory vs Skyflow
- Basis Theory vs Increase
- Basis Theory vs Lithic
- Basis Theory vs Swan
- Basis Theory vs Moov
- Basis Theory vs Volt
- Basis Theory vs TrueLayer
- Basis Theory vs Paymentology
- Basis Theory vs Trustly
- Basis Theory vs Vodeno
- Basis Theory vs Dwolla
- Basis Theory vs Liveblocks
- Basis Theory vs 10x Banking
- Basis Theory vs Appwrite
- Basis Theory vs Bruno
- Basis Theory vs Marqeta
- Basis Theory vs Apidog
- Basis Theory vs Microsoft Azure API Management
- Basis Theory vs ArangoDB
- Basis Theory vs Neo4j
- Basis Theory vs CosmosDB
- Basis Theory vs SurrealDB
- Basis Theory vs Elasticsearch
- Basis Theory vs Couchbase
- Basis Theory vs Cassandra
- Basis Theory vs Firebase Realtime Database
- Basis Theory vs ScyllaDB
- Basis Theory vs FaunaDB
- Basis Theory vs RavenDB
- Basis Theory vs Cockroach Labs
- Basis Theory vs Supabase
- Basis Theory vs ClickHouse
- Basis Theory vs Amazon Aurora
- Basis Theory vs PostgreSQL
- Basis Theory vs PlanetScale
- Basis Theory vs RabbitMQ
- Dgraph vs Skyflow
- Dgraph vs Increase
- Dgraph vs Lithic
- Dgraph vs Swan
- Dgraph vs Moov
- Dgraph vs Volt
- Dgraph vs TrueLayer
- Dgraph vs Paymentology
- Dgraph vs Trustly
- Dgraph vs Vodeno
- Dgraph vs Dwolla
- Dgraph vs Liveblocks
- Dgraph vs 10x Banking
- Dgraph vs Appwrite
- Dgraph vs Bruno
- Dgraph vs Marqeta
- Dgraph vs Apidog
- Dgraph vs Microsoft Azure API Management
- Dgraph vs ArangoDB
- Dgraph vs Neo4j
- Dgraph vs CosmosDB
- Dgraph vs SurrealDB
- Dgraph vs Elasticsearch
- Dgraph vs Couchbase
- Dgraph vs Cassandra
- Dgraph vs Firebase Realtime Database
- Dgraph vs ScyllaDB
- Dgraph vs FaunaDB
- Dgraph vs RavenDB
- Dgraph vs Cockroach Labs
- Dgraph vs Supabase
- Dgraph vs ClickHouse
- Dgraph vs Amazon Aurora
- Dgraph vs PostgreSQL
- Dgraph vs PlanetScale
- Dgraph vs RabbitMQ
