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.

MIT licensed · Self-host every component · Migrate one piece at a time

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.

  1. 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.

  2. 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.

  3. 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.

GraphQL platformHive PlatformHasura
What it isA federation platform: schema registry, router and gateway in front of GraphQL services you ownAn engine that generates a GraphQL API from your databases, with Actions, remote schemas and connectors for everything else
LicenseMIT - registry, composition, router, gateway and CLIEngine is Apache 2.0. Hasura v2 keeps several features for its Enterprise edition; the Hasura DDN CLI, console and LSP are proprietary
Self-hostingEvery component, including the schema registry, checks, usage insights and CDNHasura DDN engine and connectors can be self-hosted, without the control plane: no built-in CI/CD, schema registry or API analytics, and the CLI still signs in to a Hasura account
CompositionApollo Federation v1 and v2 - a standard supergraph any Federation router can runHasura-specific: remote schemas and remote relationships in v2, supergraph metadata over connectors in DDN. Hasura can be a Federation subgraph, not a Federation router
Schema registry and checksSchema checks in CI, breaking changes judged against real traffic, contracts, approvals - on every plan and when self-hostedSchema registry with diffs and alerts on Hasura Cloud (v2) and on paid DDN plans; not available when self-hosting DDN
Upgrade pathAdopt one piece at a time; your subgraphs and supergraph stay standard GraphQLNo in-place upgrade from Hasura v2 to DDN; Hasura recommends a feature-by-feature manual migration
ObservabilityOpenTelemetry traces and Prometheus metrics in the open-source router and gatewayOpenTelemetry export in v2 on Hasura Cloud and Self-Hosted Enterprise, not in the Community Edition
PricingFree to self-host; Hive Cloud is priced by operations collected, with unlimited seats, schemas and subgraphsDDN from $5 per active model per month; Hasura Cloud v2 Professional from $1.50 per active hour
Generated CRUD API over a databaseThrough GraphQL Mesh, which generates a Federation subgraph from PostgreSQL (built on PostGraphile), MySQL, SQLite or Neo4j. Or keep Hasura as a subgraphYes - built in, and what Hasura is best known for

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 methodology
GatewayName and variantCompatibilityPass rate of test casesTest CasesAll available test casesTest SuitesTest cases grouped by feature
Hive Gateway (Rust QP)
100.00% 210 48
Hive Router
100.00% 210 48
Cosmo Router
99.05% 208 2 46 2
Hive Gateway
99.05% 208 2 47 1
Apollo Router v3 (dev-v3.x, incremental planner)
97.14% 204 6 45 3
Apollo Router
95.24% 200 10 43 5
Hot Chocolate Fusion
95.24% 200 10 44 4
Apollo Gateway
94.76% 199 11 42 6
Apollo Router v3 (dev-v3.x)
94.76% 199 11 42 6
Grafbase Gateway
88.57% 186 24 40 8
Passed tests
Failed tests
Perfect compatibility
75% and higher
Less than 75%

Frequently 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.

Explore Hive 360° GraphQL Ecosystem to reach full potential

Learn more

Get your API game right.