WunderGraph Cosmo alternative
Hive vs WunderGraph Cosmo
Most teams leaving Apollo GraphOS put Hive and WunderGraph Cosmo side by side. Both are open source. Hive composes the same standard Supergraph SDL that Apollo Router already runs, so you can switch schema registries without touching your router. Cosmo composes a config for Cosmo Router, and keeping another router means re-composing with Apollo's Rover yourself.
Federation on your terms, not a vendor's build pipeline
Standard Supergraph SDL
Composition emits a plain-text, spec-compliant supergraph you can read and diff yourself - not an execution config written for one router.
Migrate the router at your own pace
Adopt Hive's schema registry and composition today, keep Apollo Router or any other router that reads a supergraph SDL serving traffic, and cut over to Hive Gateway or Hive Router only when you're ready.
Our own open-source composition
federation-composition is our own MIT-licensed implementation of the Federation v1 and v2 algorithm.
No router lock-in
Because the output is a standard SDL, you're never limited to one router binary. Run Hive Gateway, Hive Router, Apollo Router, or any other Federation-compliant router.
Two ways to leave Apollo GraphOS
The router decision is where the two paths actually diverge.
Apollo GraphOS → Hive
- Router migration: optional - do it later, or never
- Composition output: standard Supergraph SDL, the same format Apollo Router already runs
- What changes on day one: your schema registry - Apollo Router keeps serving traffic unchanged
Apollo GraphOS → WunderGraph Cosmo
- Router migration: move to Cosmo Router, or keep Apollo Router through a compatibility mode you operate
- Composition output: a Cosmo Router execution config; an Apollo supergraph is produced separately with Rover
- What changes on day one: your schema registry, plus either your router or a webhook and Rover pipeline to maintain
Hive Platform vs WunderGraph Cosmo
The parts of federation that actually change when you switch.
Sources: Cosmo's router compose reference, Cosmo's guide to using Apollo Router with its registry, Cosmo's license and the Federation Gateway Audit, as of November 2026.
What switching actually looks like
Three steps, and your subgraphs don't change.
- Step 1
Publish your existing subgraphs
Your Federation v1 or v2 subgraphs publish to Hive's schema registry unchanged, no matter which router composed them before.
- Step 2
Compose a standard Supergraph SDL
Hive validates every subgraph and composes a plain-text, spec-compliant supergraph - one you can inspect yourself and hand to any Federation router.
- Step 3
Point a router at it, on your schedule
Keep Apollo Router - or any router that reads a supergraph SDL - running against that supergraph, and cut over to Hive Gateway or Hive Router only when you're ready. No router migration required to leave GraphOS. Follow the migration guide, or see Hive as an Apollo GraphOS alternative.
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 methodologyMigrate at your own pace
Keep Apollo Router running while you move off Apollo GraphOS
Hive Console composes a standard supergraph SDL, so you can adopt it as your schema registry today while your existing Apollo Router keeps serving traffic exactly as it does now. Hive ships a build of Apollo Router that loads the supergraph from Hive and reports usage back.
Replacing the router is the riskier step, and it is worth doing separately. Production routers carry custom plugins, authentication and rate limiting that took months to get right, and swapping the router on the same day means validating all of it again at once.
When you are ready, run Hive Router next to Apollo Router against the same supergraph, compare them, and cut over on your own schedule.
Frequently Asked Questions
What is a Supergraph SDL, and why does the format matter?
It's the composed schema of your federated graph, written as plain, spec-compliant GraphQL SDL annotated with @link and @join directives. Because it's plain text, you can read it, diff it, and hand it to any Federation-compliant router - unlike a compiled binary or JSON router config that only one specific runtime understands.
I'm leaving Apollo GraphOS - do I have to migrate my router to evaluate Hive vs Cosmo?
No, with either. Hive composes a standard supergraph SDL itself - the same format Apollo Router already runs - and serves it from its CDN, so you move the schema registry and Apollo Router keeps serving traffic. Cosmo composes a config for Cosmo Router; to keep Apollo Router it documents a compatibility mode in which a webhook you operate fetches the subgraphs and re-composes them with Apollo Rover on every schema change.
Can I migrate from WunderGraph Cosmo without rewriting my subgraphs?
Yes. Your existing Apollo Federation v1 or v2 subgraphs publish to Hive's schema registry unchanged - the subgraph side of federation doesn't change when you switch composition and router. Cosmo Router reads Cosmo's own execution config, not a supergraph SDL, so the router is the part that changes: serve the supergraph Hive composes with Hive Router or Hive Gateway.
Do I have to switch my router the same day I switch schema registries?
No. Hive's composition emits a standard supergraph SDL, so you can adopt Hive Console for schema registry and composition first, keep Apollo Router or Apollo Gateway serving traffic, and cut over to Hive Gateway or Hive Router later - on your own timeline. If you run Cosmo Router today, keep composing with Cosmo until you are ready to switch routers, because Cosmo Router does not read a supergraph SDL. Read more about migrating at your own pace.
Is Hive's composition really open source?
Yes. federation-composition is our own MIT-licensed implementation of the Federation v1 and v2 composition algorithm, and it emits the standard supergraph SDL directly.
Are Hive and WunderGraph Cosmo both open source?
Yes. Hive is MIT licensed and Cosmo is Apache 2.0 licensed, and both can be self-hosted or used as a managed cloud. The practical differences are the supergraph format, which routers you can run without extra tooling, and how each scores in open compatibility and performance tests.
How do Hive Router and Cosmo Router compare on Federation compatibility and performance?
In the open Federation Gateway Audit, Hive Router passes all 210 test cases and Cosmo Router passes 208. The Federation Gateway Performance benchmark compares throughput, latency and memory under the same load. Both are open source, so you can rerun them.
How do you verify Federation spec compliance?
We maintain an open-source Federation compatibility audit with published, reproducible results for Hive Router, Hive Gateway, Cosmo Router and other gateways. See our full Federation v1 & v2 support breakdown.