WunderGraph Cosmo is an open-source platform for GraphQL federation that combines REST and GraphQL services into one unified API gateway. Platform teams define federated graphs from subgraphs, run the Go-based router on their own infrastructure, and manage schemas and access through a self-hosted control plane or the managed Cosmo Cloud. It suits organizations that want federation without handing their gateway to a proprietary control plane.
Quick verdict
WunderGraph Cosmo is a credible open-source route to GraphQL federation for teams that must self-host their API layer. Composition, gateway auth, and schema governance are genuinely in the box, while control-plane collaboration and GraphQL-first scope set the adoption boundary.
Capabilities
Cosmo composes REST and GraphQL services, and databases, into one unified API, so teams expose a single gateway endpoint instead of many service endpoints.
The router is written in Go, runs the federated graph, and deploys self-hosted through the all-in-one Docker Compose quickstart or the documented Helm charts.
Subgraphs can be written in any language, with schema checks and contracts guarding the federated graph against breaking changes.
Authentication and authorization run at the gateway: the platform supports any compliant OIDC provider and enforces RBAC from JWT claims.
Field-level instrumentation integrates with OpenTelemetry tooling, and real-time GraphQL subscriptions run over NATS.
Good fit
Platform teams that run many REST and GraphQL services and want one governed entrypoint fit best, since composition, schema checks, and gateway auth are the core workflow.
Regulated companies that must keep the API layer on their own infrastructure fit well: the stack is fully open source, self-hosting is free, and the vendor reports approval by leading regulated companies.
Limitations
A self-hosted control plane cannot invite members or share a project with others; teams that need that collaboration must use Cosmo Cloud.
The model centers on GraphQL federation, so teams that want a pure REST-transformation gateway without GraphQL semantics should weigh that scope before adopting.
Evaluation is quick through Docker Compose, but production federation across subgraphs with checks and Kubernetes operations takes real platform effort.
Compatibility
The gateway works with any compliant OIDC identity provider, so teams keep their existing login rather than adopting a vendor directory.
Subgraphs can be written in any language, so existing services join the federated graph without rewrites.
Deployment is portable: the stack runs on any infrastructure including the team's own cloud, via Docker Compose or Kubernetes, or as the managed Cosmo Cloud.
Questions worth asking
Is WunderGraph really open source?
Yes. The Cosmo stack, including the router, studio, control plane, and collector, is licensed under Apache-2.0, and the homepage states self-hosting is free. The repository carries the license file and per-component license badges.
Can you self-host WunderGraph?
Yes. The repository documents an all-in-one Docker Compose quickstart and Helm charts for Kubernetes, and the docs cover self-hosting the control plane on your own infrastructure. Self-hosted control planes cannot invite members or share projects; that collaboration needs Cosmo Cloud.
Does WunderGraph work with REST APIs?
Yes. WunderGraph composes REST and GraphQL services, plus databases, into one unified API, so existing REST endpoints become part of the federated graph instead of being replaced.
How much does WunderGraph cost?
Self-hosting the open-source stack costs nothing; Cosmo Cloud is the paid managed option with a six-week free trial and explicitly no per-seat or per-request fees. Figures checked 2026-10-13.
Compared with these products
No explicit proprietary baseline is recorded.