Machine Learning · head to head
Cohere vs Dgraph

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
- Free plans on both; paid from $0.4/mo and $39/mo.
- Only Cohere lists REST API; only Dgraph lists apache 2.0 licence.
- Where Cohere falls short: API-only service with no self-hosted options for most users.
How do Cohere and Dgraph differ?
Cohere and Dgraph differ on pricing model (Usage-based against Freemium), platforms and category (Machine Learning against Databases). Only the attributes on which Cohere and Dgraph actually diverge.
Identical on both: starting price (Free), free tier (Yes).
Which features does each one have?
They share no listed features; 9 appear only for Cohere 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 Cohere
- Generate
- Embed
- Rerank
- Classify
- REST API
- SDKs
- Cloud deployment
- Api support
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?
Cohere is most often brought in for ai tools management. The jobs each tool is most often brought in to do.
Cohere
- ai tools managementnot Dgraph
- Workflow automationnot Dgraph
- Reportingnot Dgraph
Dgraph
- An application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQLnot Cohere
- A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot Cohere
- Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot Cohere
- Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot Cohere
Where do Cohere and Dgraph fall short?
Cohere's most cited limit: API-only service with no self-hosted options for most users. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Cohere
- API-only service with no self-hosted options for most users
- Trial tier severely limited at 1,000 calls per month
- Smaller context window compared to some competing APIs
- Less emphasis on safety and alignment compared to competing APIs
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 Cohere and Dgraph cost?
Cohere has a free plan, with paid plans from $0.4/mo; Dgraph has a free plan, with paid plans from $39/mo. Plan by plan below, from each vendor's own pricing page.
Cohere
Free- Free TrialFree
- Rate limited
- Evaluation
- Production$0.4
- Full access
- SLA
Dgraph
Free- CommunityFree
- Native GraphQL
- Graph queries
- Full-text search
- Cloud$39/mo
- Managed service
- Auto-scaling
- Enterprise support
Which should you pick?
Choose Cohere if
- You need generate.
- You want to start without paying.
- You work on API, Web.
- You also want embed.
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 Cohere or Dgraph better?
- It depends on the job. Cohere fits ai tools management; Dgraph fits an application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQL. Cohere starts at Free and Dgraph at Free.
- Which is cheaper, Cohere or Dgraph?
- Cohere starts at Free and Dgraph at Free.
- Does Cohere or Dgraph run on more platforms?
- Cohere runs on API, Web. Dgraph runs on Linux, macOS, Self-hosted, Web.
- Can I use Cohere for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Cohere best used for?
- Cohere is most often used for ai tools management, workflow automation, reporting. Of those, ai tools management and workflow automation are not what Dgraph is typically brought in for.
- What can Cohere do that Dgraph cannot?
- Cohere covers Generate, Embed, Rerank, Classify. Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding.
Answered from the vendors’ own pages
Cohere: Does Cohere offer a free tier?
Yes. Cohere provides Trial API keys that allow 1,000 free API calls per month across all models and endpoints. Trial keys are rate-limited to 20 requests per minute for Chat endpoints and 5-10 requests per minute for other endpoints, and cannot be used for production or commercial purposes.
SourceDgraph: 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.
Cohere: What is the cost structure for production use?
Cohere uses pay-as-you-go pricing based on tokens consumed. Costs vary by model: Command costs from 0.15 to 2.50 USD per 1M input tokens, with output tokens priced higher. Embed models cost 0.10 USD per 1M input tokens. Production keys have monthly billing with invoices at month-end or when charges reach 250 USD.
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.
Cohere: Can I self-host Cohere models?
No. Cohere operates as an API-only platform. However, enterprise customers can arrange dedicated or managed deployments through the Model Vault platform starting at 4.00 USD per hour with custom pricing for dedicated instances.
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.
Cohere: What are the main differences between Cohere and Claude API?
Cohere excels in cost-effective NLP applications and retrieval-augmented generation (RAG) capabilities. Claude API emphasizes reasoning and safety with Constitutional AI training. Cohere's Command R+ offers similar performance to GPT-4 at 40-50 percent lower cost, while Claude focuses on factual accuracy and transparency.
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
Other head to heads
- Cohere vs OpenAI API
- Cohere vs Mistral AI
- Cohere vs Groq
- Cohere vs Fal AI
- Cohere vs DataRobot
- Cohere vs H2O.ai
- Cohere vs Semantic Kernel
- Cohere vs Domino Data Lab
- Cohere vs Palantir Foundry
- Cohere vs Hugging Face
- Cohere vs Dataiku
- Cohere vs Langwatch
- Cohere vs Roboflow
- Cohere vs Weka
- Cohere vs BigQuery ML
- Cohere vs JupyterHub
- Cohere vs Pachyderm
- Cohere vs Azure Machine Learning
- Cohere vs ArangoDB
- Cohere vs Neo4j
- Cohere vs Azure Cosmos DB
- Cohere vs SurrealDB
- Cohere vs Elasticsearch
- Cohere vs Couchbase
- Cohere vs Cassandra
- Cohere vs Aerospike
- Cohere vs Firebase Realtime Database
- Cohere vs ScyllaDB
- Cohere vs FaunaDB
- Cohere vs RavenDB
- Cohere vs Nile
- Cohere vs Readyset
- Cohere vs SAP HANA
- Cohere vs Vertica
- Cohere vs Airtable
- Cohere vs Supabase
- Dgraph vs OpenAI API
- Dgraph vs Mistral AI
- Dgraph vs Groq
- Dgraph vs Fal AI
- Dgraph vs DataRobot
- Dgraph vs H2O.ai
- Dgraph vs Semantic Kernel
- Dgraph vs Domino Data Lab
- Dgraph vs Palantir Foundry
- Dgraph vs Hugging Face
- Dgraph vs Dataiku
- Dgraph vs Langwatch
- Dgraph vs Roboflow
- Dgraph vs Weka
- Dgraph vs BigQuery ML
- Dgraph vs JupyterHub
- Dgraph vs Pachyderm
- Dgraph vs Azure Machine Learning
- 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

