Databases · head to head
Dgraph vs Treasury Prime

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

Treasury Prime
APIs
Banking as a service platform sold to sponsor banks rather than to fintechs
- From
- On request
- Free plan
- No
The short version
- Dgraph starts at $39/mo; Treasury Prime prices on request.
- Only Dgraph lists apache 2.0 licence; only Treasury Prime lists OneKey Banking.
How do Dgraph and Treasury Prime differ?
Dgraph and Treasury Prime differ on starting price (Free against On request), pricing model (Freemium against Quote) and free tier (Yes against No). Only the attributes on which Dgraph and Treasury Prime actually diverge.
| Attribute | Dgraph | Treasury Prime |
|---|---|---|
| Starting price | Free | On request |
| Pricing model | Freemium | Quote |
| Free tier | Yes | No |
| Platforms | Linux, macOS, Self-hosted, Web | API, Web |
| Category | Databases | APIs |
| Founded | 2016 | 2017 |
Which features does each one have?
They share no listed features; 10 appear only for Dgraph and 8 only for Treasury Prime. 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 Treasury Prime
- BankOS
- OneKey Banking
- Deposit accounts
- Payments
- Card issuing
- Bank oversight tooling
- Ledger and reconciliation
- Programme onboarding
What is each one used 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 Treasury Prime
- A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot Treasury Prime
- Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot Treasury Prime
- Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot Treasury Prime
Treasury Prime
- A community or regional bank that wants to run an embedded finance line with examiner-acceptable oversight of its fintech programmesnot Dgraph
- A fintech that has already chosen its sponsor bank and needs API access to that bank rather than to a middleware layernot Dgraph
- A company that wants deposits spread across several banks for FDIC coverage beyond a single institution limitnot Dgraph
- A bank replacing a fragile middleware arrangement with a structure where it holds the customer contract and the oversight obligationnot Dgraph
Where do Dgraph and Treasury Prime fall 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
Treasury Prime
- A fintech cannot buy Treasury Prime directly since the 2024 pivot, so the sales process starts with finding a sponsor bank willing to take your programme, which adds months and removes most of your negotiating leverage on fees
- Commercial terms including minimum deposit balances, reserve requirements and per transaction pricing are set by the bank rather than the platform, so two fintechs on the same software can face materially different economics with no public benchmark
- The company cut roughly half its staff in the 2024 pivot, which reduced the teams that supported fintech customers directly and left fintechs relying on their bank for support rather than on the vendor who wrote the software
- Bank risk appetite is now the binding constraint, and after the Synapse failure sponsor banks decline programmes in higher risk categories that a middleware provider would once have onboarded, so some business models simply cannot get placed
- If your sponsor bank exits the programme or is told by its regulator to reduce fintech exposure, you are migrating your entire deposit base to another institution, and the software being the same at both ends does not make that a small project
How much do Dgraph and Treasury Prime cost?
Dgraph has a free plan, with paid plans from $39/mo; Treasury Prime is priced on request. 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
Treasury Prime
On request- BankOSOn request
- Sold to sponsor banks, not directly to fintechs
- Fintech commercial terms are set by the sponsor bank
- Minimum deposits, reserves and per transaction fees vary by bank
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 Treasury Prime if
- You need bankos.
- You work on API, Web.
- You also want onekey banking.
Questions people ask
- Is Dgraph or Treasury Prime 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; Treasury Prime fits a community or regional bank that wants to run an embedded finance line with examiner-acceptable oversight of its fintech programmes. Dgraph starts at Free and Treasury Prime at On request.
- Which is cheaper, Dgraph or Treasury Prime?
- Dgraph has a free tier; the other does not. Paid plans start at Free for Dgraph and On request for Treasury Prime.
- Does Dgraph or Treasury Prime run on more platforms?
- Dgraph runs on Linux, macOS, Self-hosted, Web. Treasury Prime runs on API, Web.
- Can I use Dgraph for free?
- Yes. Dgraph has a free tier, so you can try it without paying. Treasury Prime starts at On request.
- 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 Treasury Prime is typically brought in for.
- What can Dgraph do that Treasury Prime cannot?
- Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding. Treasury Prime covers BankOS, OneKey Banking, Deposit accounts, Payments.
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.
Treasury Prime: Can a fintech buy Treasury Prime directly?
No. Since the 2024 pivot it sells to banks. A fintech contracts with a sponsor bank running BankOS, and the bank sets the terms.
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.
Treasury Prime: Why did it change model?
Regulatory pressure on the tri-party middleware structure, sharpened by the Synapse failure. Examiners want the bank holding the customer contract and the oversight obligation, which is what bank-direct means.
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.
Treasury Prime: What is OneKey Banking?
A way of spreading deposits across several banks in the network, used for FDIC coverage above a single institution limit and for resilience if one bank exits.
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.
Treasury Prime: Is pricing published?
No, at neither the bank nor the fintech level. Fintech economics are set by the sponsor bank, so expect wide variation.
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 Treasury Prime
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 Synctera
- Dgraph vs Unit
- Dgraph vs Griffin
- Dgraph vs Column
- Dgraph vs Increase
- Dgraph vs Vodeno
- Dgraph vs Lithic
- Dgraph vs Fintech Farm
- Dgraph vs Solaris
- Dgraph vs Weavr
- Dgraph vs Thredd
- Dgraph vs Swan
- Dgraph vs Fintecture
- Dgraph vs KeystoneJS
- Dgraph vs LiteLLM
- Dgraph vs Moov
- Dgraph vs Portkey
- Dgraph vs Postmark
- Treasury Prime vs ArangoDB
- Treasury Prime vs Neo4j
- Treasury Prime vs Azure Cosmos DB
- Treasury Prime vs SurrealDB
- Treasury Prime vs Elasticsearch
- Treasury Prime vs Couchbase
- Treasury Prime vs Cassandra
- Treasury Prime vs Aerospike
- Treasury Prime vs Firebase Realtime Database
- Treasury Prime vs ScyllaDB
- Treasury Prime vs FaunaDB
- Treasury Prime vs RavenDB
- Treasury Prime vs Nile
- Treasury Prime vs Readyset
- Treasury Prime vs SAP HANA
- Treasury Prime vs Vertica
- Treasury Prime vs Airtable
- Treasury Prime vs Supabase
- Treasury Prime vs Synctera
- Treasury Prime vs Unit
- Treasury Prime vs Griffin
- Treasury Prime vs Column
- Treasury Prime vs Increase
- Treasury Prime vs Vodeno
- Treasury Prime vs Lithic
- Treasury Prime vs Fintech Farm
- Treasury Prime vs Solaris
- Treasury Prime vs Weavr
- Treasury Prime vs Thredd
- Treasury Prime vs Swan
- Treasury Prime vs Fintecture
- Treasury Prime vs KeystoneJS
- Treasury Prime vs LiteLLM
- Treasury Prime vs Moov
- Treasury Prime vs Portkey
- Treasury Prime vs Postmark
