Comparison

Hasura vs Relay

On the evidence we track, Relay leads this comparison with a composite score of 69/100. Scores are only directly comparable because these tools share a category; the full breakdown and every source is below.

Machine formatsMarkdownJSONGraphQLMarkdown is open. JSON and GraphQL need a free key.
Hasura59
★Relay69
Score
vioscaleAI score
Hasura59 / 100low · 49%
Relay69 / 100medium · 58%
Pricing
Free tier
Hasura✓
Relay✓
Model
Price level
Hasuralow
Relayfree
Transparent
Hasura✗
Relay–
Integrations
Count
Hasura4
Relay–
Reliability
Status page
Hasura✓
Relay–
Adoption
Dependent repos
Hasura31
Relay26,559
Github stars
Hasura32,129
Relay18,985
Package downloads weekly
Hasura–
Activity
Commits last 30d
Hasura54
Relay100
Release
Cadence days
Hasura12
Relay47
History
Hasura20 items
License
Spdx
RelayMIT
Language
Primary
RelayRust
Content
Faq
Hasura8 items
Relay5 items

Capabilities

Feature-by-feature on the axes that matter for graphql tools. “-” means undocumented, not absent.

Core
Role
HasuraServer
RelayClient
Primary language
HasuraHaskell (core), TypeScript, Python, Go (connectors)
RelayJavaScript / TypeScript
Modelling
Schema approach
HasuraDB introspection
RelayCode-first
Scale
Federation / subgraph composition
Hasura-
Relay✗
Realtime
Real-time subscriptions
Hasura✓
Relay✓
Performance
Response / edge caching
Hasura-
Relay✓
DX
Typed code generation
Hasura✓
Relay✓
Automation
Generates API from a database
Hasura✓
Relay✗
Security
Built-in authz / permissions
Hasura✓
Relay✗
Deployment
Official hosted offering
Hasura✓
Relay✗
Self-hostable
Hasura✓
Relay✓

What each one is

The product in its own terms, so the numbers below have context.

Hasura

An open-source GraphQL gateway that automatically generates GraphQL APIs from databases, supporting PostgreSQL, MongoDB, ClickHouse, and MS SQL Server. It provides real-time subscriptions, fine-grained access control, and webhook capabilities for database events.

Independently observed

Relay

Leader

A JavaScript/TypeScript library that handles GraphQL data operations with client and server mutations, automatic consistency management, optimistic updates, and real-time subscriptions.

Independently observed

Pricing

List pricing as published by each vendor, with the date we read it. Always verify at the source before you buy.

Hasura

HybridFree tier

Free tier available. Paid and enterprise plans require contacting sales.

  • CommunityFree
  • ProfessionalContact sales
  • BusinessContact sales
  • EnterpriseContact sales
as of verify ↗

Relay

Leader
Open source
as of verify ↗

Platform & deployment

Where each product runs and how it can be hosted. A dash means undocumented, not unsupported.

Platforms
Web
Hasura✓
Relay✓
CLI
Hasura✓
Relay✓
Deployment
Cloud / SaaS
Hasura✓
Relay✗
Self-hosted
Hasura✓
Relay✓

Integrations

What each product connects to. Counts come from the vendor's own integration directory where one exists.

Hasura

8 total
  • PostgreSQL
  • MySQL
  • Elasticsearch
  • SQL Server
  • MongoDB
  • Snowflake
  • Clickhouse
  • MS SQL Server
Independently observed

Relay

Leader

Not documented yet.

Still deciding?

Hasura or Relay: which one depends on you

A composite score cannot know your constraints. Describe them and both get re-weighted against what you actually need, with the evidence behind every position.

Free to run, no account needed to start. How the evaluation works

Comparison generated from independently-sourced facts. Every value links to its source and retrieval date. See the method.