Hasura alternative
The open-source federation alternative to Hasura
Hive is an MIT-licensed GraphQL federation platform: a schema registry, a router and a gateway you can self-host in full. Keep your database and keep Hasura running as a subgraph on day one, then replace it piece by piece, with GraphQL Mesh generating subgraphs from your database and services.
Why teams look beyond Hasura
Moving to Hasura DDN is a migration, not an upgrade
Hasura says there is no in-place upgrade path from v2 to DDN and recommends migrating feature by feature. If the work has to be done either way, you can choose where it lands.
An API you design, not one your tables dictate
A generated API mirrors the database, so a table change is an API change. With federation, each team owns a subgraph with a schema it designed, and Hive checks every change against the operations your clients really send.
Open source all the way down
Hive Console, Hive Router, Hive Gateway and the CLI are MIT licensed, and you can self-host all of it, schema registry included. Nothing is held back for an enterprise edition or a hosted control plane.
Standard federation, no proprietary metadata
Your supergraph is plain Apollo Federation SDL that any Federation router can run. Subgraphs are ordinary GraphQL services in Git, reviewed and tested like the rest of your code.
What migrating from Hasura looks like
Your database does not move, and your clients keep working at every step.
- Step 1
Publish Hasura as a subgraph
Turn on Apollo Federation in Hasura and publish its schema to Hive with
hive schema:publish. Hive composes the supergraph and starts checking every change. See the Federation guide. - Step 2
Put Hive Router or Hive Gateway in front
Clients talk to the router, and the router talks to Hasura. Nothing else changes yet, and you can compare Hive Router and Hive Gateway before you choose.
- Step 3
Move one piece at a time
Turn remote schemas into subgraphs, Actions into resolvers, and the tables with real business logic into services you own. Use usage insights to see which fields are safe to move. For plain CRUD, generate a subgraph from the database with GraphQL Mesh, or leave it in Hasura for as long as it earns its place.
Hive vs Hasura
Where the two differ, from licensing and self-hosting to how each composes a graph.
Sources, all from Hasura: the v2 to DDN upgrade guide, DDN deployment options, v2 Enterprise features, Apollo Federation in v2, Apollo Federation in DDN, the v2 schema registry, OpenTelemetry in v2, DDN pricing and Hasura Cloud plans, as of November 2026.
Apollo Federation compatibility, tested in the open
Live results of our open-source audit, which runs the same test suite against every Apollo Federation gateway and router.
Learn how Hive Gateway performs against other gateways in terms of correctness and compliance with the Apollo Federation specification
Learn about our audit and methodologyFrequently Asked Questions
Is Hive a drop-in replacement for Hasura?
No, and it does not need to be. Hasura generates a GraphQL API from your database; Hive is the federation layer in front of GraphQL services: a schema registry, a router and a gateway. Hive replaces the parts of Hasura that act as a gateway and a registry - remote schemas, remote relationships, schema diffs. For the generated API, GraphQL Mesh can generate a subgraph from your database, or you can keep Hasura as one subgraph for as long as you like.
Can I migrate from Hasura incrementally?
Yes. Hasura documents that it can act as an Apollo Federation subgraph, both Hasura v2 and Hasura DDN. Publish it to Hive as a subgraph, put Hive Router or Hive Gateway in front, and your clients keep the same queries. From then on, each type or field you move into a service of your own is a schema change Hive checks before it ships.
Do I have to move my database?
No. Your database stays where it is. Only the API layer in front of it changes, and it can change one piece at a time.
Can I upgrade Hasura v2 to Hasura DDN in place?
No. Hasura states there is no in-place upgrade path from Hasura v2 to Hasura DDN and recommends a feature-by-feature manual migration. If you are planning that work anyway, it is a good moment to decide where the API layer should live.
Is Hasura v2 still supported?
Yes. Hasura maintains v2 under a long-term support policy and says LTS releases will not receive the features introduced in Hasura DDN. In June 2025 Hasura announced PromptQL as its new chapter, and said the GraphQL Engine and DDN will continue to be hosted and maintained.
What replaces the auto-generated CRUD API?
GraphQL Mesh, The Guild's open-source framework that turns a data source into a Federation subgraph. It generates a GraphQL schema from PostgreSQL (built on PostGraphile), MySQL, SQLite and Neo4j, and from REST, gRPC and SOAP services. You can mix approaches: generate the subgraph for tables that are fine as CRUD, keep Hasura as a subgraph where it already works, and write the subgraphs that carry real business logic yourself with GraphQL Yoga or any GraphQL server.
What replaces Hasura remote schemas and remote relationships?
Apollo Federation. Each remote schema becomes a subgraph, and a remote relationship becomes an entity with @key that another subgraph extends. Hive composes them into one supergraph and Hive Router or Hive Gateway plans the query across them. REST and gRPC services can join without a rewrite through GraphQL Mesh.
What replaces Hasura permissions, Actions and event triggers?
Authentication and coarse authorization move to the router or gateway: JWT validation and the @authenticated, @requiresScopes and @policy directives. Row-level rules move into the subgraph that owns the data, or into Postgres row-level security. Actions become ordinary resolvers in a subgraph. Event and cron triggers are not part of Hive; keep them in Hasura or move them to your queue or scheduler.
Does Hasura support Apollo Federation?
As a subgraph, yes. Hasura v2 supports the Federation v1 subgraph spec for database tables, and Hasura DDN documents compliance with the Federation subgraph specification. As a gateway, Hasura composes with its own mechanisms, not Apollo Federation. See which Federation versions and directives Hive supports.
Is Hasura open source?
The engines are: Hasura v2 and the v3 engine behind DDN are Apache 2.0. Around them, Hasura v2 reserves features such as OpenTelemetry export, caching and API limits for its Enterprise edition, and Hasura staff have said the DDN CLI, web console and LSP are proprietary. Every part of Hive, including the registry and the CLI, is MIT licensed.