# Hasura vs Relay

**Leader by vioscaleAI score:** Relay

| Attribute | Hasura | Relay |
|---|---|---|
| **vioscaleAI score** | 56.5 (51% (medium)) | 69.9 (58% (medium)) |
| activity.commits_last_30d | 23 | 100 |
| adoption.dependent_repos | 31 | 76,213 |
| adoption.github_stars | 32,132 | 18,962 |
| adoption.package_downloads_weekly | - | 4,659,338 |
| content.faq | `[{"answer":"Hasura provides a platform that automatically generates GraphQL APIs from databases and external services, enabling developers to build data layers quickly. It also offers PromptQL for natural language data queries powered by AI. It is indexed under GraphQL Tools.","source":"https://hasura.io","question":"What is Hasura?","confidence":0.6},{"answer":"Hasura is open source, so it can be self-hosted and used at no licence cost. It is released under the Apache-2.0 licence. Paid editions are also offered: Professional, Business and Enterprise, priced on request. Pricing changes often, so verify at source before relying on it.","source":"https://hasura.io","question":"Is Hasura free to use?","confidence":0.6},{"answer":"Hasura supports the web and a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://hasura.io","question":"What platforms does Hasura support?","confidence":0.6},{"answer":"Yes. Hasura can be deployed cloud / SaaS and self-hosted, so it does not have to run on the vendor's infrastructure.","source":"https://hasura.io","question":"Can Hasura be self-hosted?","confidence":0.6},{"answer":"We have confirmed 7 integrations for Hasura, including PostgreSQL, MySQL, Elasticsearch, SQL Server, MongoDB, Snowflake and Clickhouse. This is what we could verify from public sources, so the vendor may support others we have not indexed.","source":"https://hasura.io","question":"What does Hasura integrate with?","confidence":0.6},{"answer":"We have independently confirmed SOC 2, ISO 27001, HIPAA and GDPR for Hasura. Certifications we do not list are ones we have not been able to verify from public sources, which is not the same as Hasura not holding them. Always confirm compliance directly before you rely on it.","source":"https://hasura.io/security","question":"What security certifications does Hasura have?","confidence":0.7},{"answer":"Yes. Hasura is published under the Apache-2.0 licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.","source":"https://github.com/hasura/graphql-engine","question":"Is Hasura open source?","confidence":0.95},{"answer":"Hasura is available worldwide. The vendor is headquartered in the United States.","source":"https://hasura.io","question":"Where is Hasura available?","confidence":0.75}]` | `[{"answer":"An open-source framework that enables type-safe GraphQL queries in JavaScript applications, with built-in support for caching, error handling, and server-side rendering via React Server Components. It is indexed under GraphQL Tools.","source":"https://relay.dev","question":"What is Relay?","confidence":0.6},{"answer":"Relay is open source, so it can be self-hosted and used at no licence cost. It is released under the MIT licence. Pricing changes often, so verify at source before relying on it.","source":"https://relay.dev","question":"Is Relay free to use?","confidence":0.6},{"answer":"Relay supports the web and a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://relay.dev","question":"What platforms does Relay support?","confidence":0.6},{"answer":"Yes. Relay can be deployed self-hosted, so it does not have to run on the vendor's infrastructure.","source":"https://relay.dev","question":"Can Relay be self-hosted?","confidence":0.6},{"answer":"Yes. Relay is published under the MIT licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.","source":"https://github.com/facebook/relay","question":"Is Relay open source?","confidence":0.99}]` |
| deployment.options | `{"cloud":true,"on_prem":true,"self_hosted":true}` | `{"self_hosted":true}` |
| description.long | A GraphQL server that creates APIs from multiple data sources including databases and external APIs, offering real-time capabilities and role-based access control. Developers can query data across distributed sources as if from a single database. | A GraphQL client for React that automates data fetching and manages normalized client-side state across components. It provides type-safe queries, mutations with optimistic updates, streaming support, and maintains data consistency across the application. |
| features.capabilities | `{"role":"server","language":"Haskell (core), TypeScript, Python, Go (connectors)","managed_cloud":true,"self_hostable":true,"subscriptions":true,"auth_directives":true,"schema_approach":"introspection","db_introspection":true}` | `{"role":"client","caching":true,"language":"JavaScript / TypeScript","federation":false,"managed_cloud":false,"self_hostable":true,"subscriptions":true,"auth_directives":false,"schema_approach":"code_first","type_generation":true,"db_introspection":false}` |
| integrations.count | 4 | - |
| integrations.list | `[{"name":"PostgreSQL"},{"name":"MySQL"},{"name":"Elasticsearch"},{"name":"SQL Server"},{"name":"MongoDB"},{"name":"Snowflake"},{"name":"Clickhouse"},{"name":"MS SQL Server","native":true}]` | - |
| language.primary | TypeScript | Rust |
| license.spdx | Apache-2.0 | MIT |
| market.availability | `{"hqCountry":"US","primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` | `{"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` |
| platform.support | `{"cli":true,"web":true}` | `{"cli":true,"ios":true,"web":true}` |
| pricing | `{"type":"hybrid","plans":[{"free":true,"name":"Community","contactSales":false},{"free":false,"name":"Professional","contactSales":true},{"free":false,"name":"Business","contactSales":true},{"free":false,"name":"Enterprise","contactSales":true}],"summary":"Free tier available. Paid and enterprise plans require contacting sales.","freeTier":true,"sourceUrl":"https://hasura.io","retrievedAt":"2026-08-13T09:29:10.628Z"}` | `{"type":"open_source","summary":"Free and open-source","freeTier":true,"sourceUrl":"https://relay.dev","retrievedAt":"2026-08-14T16:35:58.790Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | open_source | commercial |
| pricing.price_level | free | free |
| pricing.transparent | no | - |
| release.cadence_days | 12 | 47 |
| release.history | `[{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.50.3","date":"2026-09-09T00:41:20Z","type":"stable","version":"v2.50.3"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.50.1","date":"2026-08-18T18:14:01Z","type":"stable","version":"v2.50.1"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.50.0","date":"2026-08-05T23:03:34Z","type":"stable","version":"v2.50.0"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.45.8","date":"2026-08-05T23:03:24Z","type":"stable","version":"v2.45.8"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.49.5","date":"2026-07-21T01:35:19Z","type":"stable","version":"v2.49.5"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.45.6","date":"2026-07-10T00:18:51Z","type":"stable","version":"v2.45.6"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.49.4","date":"2026-07-08T14:34:56Z","type":"stable","version":"v2.49.4"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.49.3","date":"2026-06-22T19:29:29Z","type":"stable","version":"v2.49.3"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.45.5","date":"2026-06-12T16:37:47Z","type":"stable","version":"v2.45.5"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.49.2","date":"2026-06-11T22:19:45Z","type":"stable","version":"v2.49.2"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.49.1","date":"2026-06-04T22:19:29Z","type":"stable","version":"v2.49.1"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.49.0","date":"2026-05-28T15:19:25Z","type":"stable","version":"v2.49.0"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.45.4","date":"2026-05-14T14:35:52Z","type":"stable","version":"v2.45.4"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.48.16","date":"2026-04-15T16:48:21Z","type":"stable","version":"v2.48.16"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.48.15","date":"2026-04-01T17:42:22Z","type":"stable","version":"v2.48.15"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.48.14","date":"2026-03-25T22:48:36Z","type":"stable","version":"v2.48.14"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.48.13","date":"2026-03-17T18:12:07Z","type":"stable","version":"v2.48.13"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.48.12","date":"2026-02-24T17:36:12Z","type":"stable","version":"v2.48.12"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.48.11","date":"2026-02-05T23:19:50Z","type":"stable","version":"v2.48.11"},{"url":"https://github.com/hasura/graphql-engine/releases/tag/v2.48.10","date":"2026-01-15T08:35:01Z","type":"stable","version":"v2.48.10"}]` | `[{"url":"https://github.com/facebook/relay/releases/tag/v21.0.1","date":"2026-05-27T17:05:47Z","type":"stable","version":"v21.0.1"},{"url":"https://github.com/facebook/relay/releases/tag/v21.0.0","date":"2026-05-18T22:35:02Z","type":"stable","version":"v21.0.0"},{"url":"https://github.com/facebook/relay/releases/tag/v20.1.1","date":"2025-08-06T23:45:00Z","type":"stable","version":"v20.1.1"},{"url":"https://github.com/facebook/relay/releases/tag/v20.1.0","date":"2025-07-28T18:02:48Z","type":"stable","version":"v20.1.0"},{"url":"https://github.com/facebook/relay/releases/tag/v20.0.0","date":"2025-06-14T01:18:21Z","type":"stable","version":"v20.0.0"},{"url":"https://github.com/facebook/relay/releases/tag/v19.0.0","date":"2025-05-02T21:35:03Z","type":"stable","version":"v19.0.0"},{"url":"https://github.com/facebook/relay/releases/tag/v18.2.0","date":"2024-11-21T18:42:55Z","type":"stable","version":"v18.2.0"},{"url":"https://github.com/facebook/relay/releases/tag/v18.1.0","date":"2024-10-04T21:25:48Z","type":"stable","version":"v18.1.0"},{"url":"https://github.com/facebook/relay/releases/tag/v18.0.0","date":"2024-09-07T01:12:44Z","type":"stable","version":"v18.0.0"},{"url":"https://github.com/facebook/relay/releases/tag/v17.0.0","date":"2024-06-14T23:56:58Z","type":"stable","version":"v17.0.0"},{"url":"https://github.com/facebook/relay/releases/tag/v16.2.0","date":"2024-01-23T16:49:06Z","type":"stable","version":"v16.2.0"},{"url":"https://github.com/facebook/relay/releases/tag/v16.1.0","date":"2023-12-11T20:21:51Z","type":"stable","version":"v16.1.0"},{"url":"https://github.com/facebook/relay/releases/tag/v16.0.0","date":"2023-10-19T22:38:09Z","type":"stable","version":"v16.0.0"},{"url":"https://github.com/facebook/relay/releases/tag/v15.0.0","date":"2023-03-08T22:16:55Z","type":"stable","version":"v15.0.0"},{"url":"https://github.com/facebook/relay/releases/tag/v14.1.0","date":"2022-07-27T17:37:43Z","type":"stable","version":"v14.1.0"},{"url":"https://github.com/facebook/relay/releases/tag/v14.0.0","date":"2022-06-08T15:11:54Z","type":"stable","version":"v14.0.0"},{"url":"https://github.com/facebook/relay/releases/tag/v13.2.0","date":"2022-03-10T18:08:49Z","type":"stable","version":"v13.2.0"},{"url":"https://github.com/facebook/relay/releases/tag/v13.1.1","date":"2022-02-09T18:02:09Z","type":"stable","version":"v13.1.1"},{"url":"https://github.com/facebook/relay/releases/tag/v13.1.0","date":"2022-02-08T16:53:14Z","type":"stable","version":"v13.1.0"},{"url":"https://github.com/facebook/relay/releases/tag/v13.0.3","date":"2022-02-07T21:41:14Z","type":"stable","version":"v13.0.3"}]` |
| reliability.status_page | yes | - |
| security.disclosure_policy | yes | - |
| security.gdpr | yes | - |
| security.hipaa | yes | - |
| security.iso27001 | yes | - |
| security.scorecard | 5.2 | 5.8 |
| security.soc2 | yes | - |
| security.vulnerabilities | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=graphql2chartjs&per_page=100","last_12m":0,"max_severity":null}` | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=relay-runtime&per_page=100","last_12m":0,"max_severity":null}` |

## Capabilities (GraphQL Tools)

| Capability | Hasura | Relay |
|---|:--:|:--:|
| **Core** |  |  |
| Role | Server | Client |
| Primary language | Haskell (core), TypeScript, Python, Go (connectors) | JavaScript / TypeScript |
| **Modelling** |  |  |
| Schema approach | DB introspection | Code-first |
| **Scale** |  |  |
| Federation / subgraph composition | - | ✗ |
| **Realtime** |  |  |
| Real-time subscriptions | ✓ | ✓ |
| **Performance** |  |  |
| Response / edge caching | - | ✓ |
| **DX** |  |  |
| Typed code generation | - | ✓ |
| **Automation** |  |  |
| Generates API from a database | ✓ | ✗ |
| **Security** |  |  |
| Built-in authz / permissions | ✓ | ✗ |
| **Deployment** |  |  |
| Official hosted offering | ✓ | ✗ |
| Self-hostable | ✓ | ✓ |

*Source: vioscaleAI. Generated 2026-10-16T19:19:04.357Z. "-" = undocumented, not absent.*
