APIs · head to head
Hasura vs Vitess

Hasura
APIs
GraphQL engine that instantly creates production-ready GraphQL API from databases
- From
- Free
- Free plan
- Yes

Vitess
Databases
Scalable database clustering system for horizontal scaling of MySQL
- From
- Free
- Free plan
- Yes
The short version
- Hasura is an open-source engine.
- Vitess is free; Hasura starts at $5/mo.
- Only Hasura lists GraphQL API; only Vitess lists horizontal Sharding.
- Where Hasura falls short: active model definition: model/command accessed more than 1,000 times monthly.
- Where Vitess falls short: VTGate scatter queries without sharding key incur significant performance penalties.
How do Hasura and Vitess differ?
Hasura and Vitess differ on platforms, category (APIs against Databases) and year founded (2017 against 2010). Only the attributes on which Hasura and Vitess actually diverge.
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: pricing model for Vitess.
Which features does each one have?
They share 3 listed features; 8 appear only for Hasura and 12 only for Vitess. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Hasura
- GraphQL API
- Real-time subscriptions
- Access control
- PostgreSQL
- Webhooks
- REST APIs
- Cloud support
- Self-hosted support
Only in Vitess
- Horizontal Sharding
- Connection Pooling
- Query Routing
- Online Schema Changes
- Shard Management
- Replication Management
- Automated Failover
- Kubernetes
Both cover
- MySQL
- Docker support
- Kubernetes support
What is each one used for?
Hasura is most often brought in for automatic GraphQL API generation from existing databases; Vitess for transaction processing. The jobs each tool is most often brought in to do.
Hasura
- Automatic GraphQL API generation from existing databasesnot Vitess
- Real-time data subscriptions for modern applicationsnot Vitess
- Backend infrastructure for web and mobile applicationsnot Vitess
- Event-triggered webhooks for database changesnot Vitess
Vitess
- Transaction processingnot Hasura
- Data storagenot Hasura
- Application backendnot Hasura
- Reportingnot Hasura
- Data analyticsnot Hasura
Where do Hasura and Vitess fall short?
Hasura's most cited limit: active model definition: model/command accessed more than 1,000 times monthly. Vitess's: VTGate scatter queries without sharding key incur significant performance penalties. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Hasura
- Active model definition: model/command accessed more than 1,000 times monthly
- Private DDN requires Base or Advanced plan
- Free DDN plan allows 1 supergraph developer; unlimited developers need the Base plan or above
- Free plan keeps traces and API performance metrics for only 15 minutes, against 30 days on paid plans
Vitess
- VTGate scatter queries without sharding key incur significant performance penalties
- Foreign key constraints not enforced across shards, requiring application-level integrity handling
- Single primary per keyspace limits multi-region write capabilities
- Distributed transactions without proper sharding key routing suffer performance degradation
How much do Hasura and Vitess cost?
Hasura has a free plan, with paid plans from $5/mo; Vitess is free to use. Plan by plan below, from each vendor's own pricing page.
Hasura
Free- DDN FreeFree
- Unlimited models
- 1 supergraph developer
- 15-minute observability retention
- DDN Base$5/mo
- Per active model billing
- Unlimited developers
- 30-day observability retention
- DDN Advanced$30/mo
- Per active model billing
- Federated collaboration
- Multi-repo CI/CD
Vitess
Free- Open source (Apache-2.0)Free
Which should you pick?
Choose Hasura if
- You need graphql api.
- You want to start without paying.
- You also want real-time subscriptions.
Choose Vitess if
- You need horizontal sharding.
- You want to start without paying.
- You work on Linux, macOS, Self-hosted.
- You also want connection pooling.
Questions people ask
- Is Hasura or Vitess better?
- It depends on the job. Hasura fits automatic GraphQL API generation from existing databases; Vitess fits transaction processing. Hasura starts at Free and Vitess at Free.
- Which is cheaper, Hasura or Vitess?
- Hasura starts at Free and Vitess at Free.
- Does Hasura or Vitess run on more platforms?
- Hasura runs on Web. Vitess runs on Linux, macOS, Self-hosted.
- Can I use Hasura for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Hasura best used for?
- Hasura is most often used for automatic graphql api generation from existing databases, real-time data subscriptions for modern applications, backend infrastructure for web and mobile applications, event-triggered webhooks for database changes. Of those, automatic graphql api generation from existing databases and real-time data subscriptions for modern applications are not what Vitess is typically brought in for.
- What can Hasura do that Vitess cannot?
- Hasura covers GraphQL API, Real-time subscriptions, Access control, PostgreSQL. Vitess covers Horizontal Sharding, Connection Pooling, Query Routing, Online Schema Changes. Both handle MySQL, Docker support, Kubernetes support.
Answered from the vendors’ own pages
Hasura: How much does Hasura cost?
Hasura DDN Free is free. DDN Base starts at $5/active model/month, and DDN Advanced starts at $30/active model/month.
SourceVitess: Is Vitess free to use?
Yes. Vitess is completely free and open source under the Apache 2.0 license. It is a graduated CNCF project with no licensing costs or pricing tiers.
SourceHasura: What is an active model in Hasura pricing?
An active model is defined as any model or command accessed more than 1,000 times monthly.
SourceVitess: What databases does Vitess support?
Vitess supports MySQL and MariaDB as backend databases. It acts as a middleware layer that adds sharding and orchestration capabilities on top of these databases.
SourceHasura: Is there a free version of Hasura?
Yes, Hasura DDN Free is always free and includes unlimited models, 1 supergraph developer, and 15-minute observability retention.
SourceVitess: Does Vitess require Kubernetes to run?
No. Vitess can run on Kubernetes using the Vitess Operator, but it can also be deployed on traditional infrastructure. Kubernetes integration is optional and provides additional automation benefits.
SourceVitess: How does Vitess handle cross-shard transactions?
Vitess supports distributed transactions across shards, but they require queries to be routed through the sharding key. Transactions without a proper sharding key can result in slower performance.
SourceVitess: Does Vitess enforce foreign key constraints?
Vitess does not enforce foreign key constraints across shards by default. Referential integrity must be managed at the application layer, though per-database support can be enabled with limitations.
SourceRelated pages
Other head to heads
- Hasura vs PocketBase
- Hasura vs Parse Server
- Hasura vs Appwrite
- Hasura vs GraphQL Apollo
- Hasura vs GraphQL Playground
- Hasura vs Directus
- Hasura vs Backendless
- Hasura vs Asyncapi
- Hasura vs Prisma
- Hasura vs Janus Gateway
- Hasura vs Strapi
- Hasura vs Gravitee
- Hasura vs Lithic
- Hasura vs AWS API Gateway
- Hasura vs Backbase
- Hasura vs Enfuce
- Hasura vs Griffin
- Hasura vs Swan
- Hasura vs Amazon Aurora
- Hasura vs CockroachDB
- Hasura vs TiDB
- Hasura vs YugabyteDB
- Hasura vs SingleStore
- Hasura vs Readyset
- Hasura vs MySQL
- Hasura vs Percona
- Hasura vs NATS
- Hasura vs Microsoft Access
- Hasura vs ClickHouse
- Hasura vs PostgreSQL
- Hasura vs Firebase Realtime Database
- Hasura vs Immuta
- Hasura vs InfluxDB
- Hasura vs Knack
- Hasura vs QuestDB
- Hasura vs RisingWave
- Vitess vs PocketBase
- Vitess vs Parse Server
- Vitess vs Appwrite
- Vitess vs GraphQL Apollo
- Vitess vs GraphQL Playground
- Vitess vs Directus
- Vitess vs Backendless
- Vitess vs Asyncapi
- Vitess vs Prisma
- Vitess vs Janus Gateway
- Vitess vs Strapi
- Vitess vs Gravitee
- Vitess vs Lithic
- Vitess vs AWS API Gateway
- Vitess vs Backbase
- Vitess vs Enfuce
- Vitess vs Griffin
- Vitess vs Swan
- Vitess vs Amazon Aurora
- Vitess vs CockroachDB
- Vitess vs TiDB
- Vitess vs YugabyteDB
- Vitess vs SingleStore
- Vitess vs Readyset
- Vitess vs MySQL
- Vitess vs Percona
- Vitess vs NATS
- Vitess vs Microsoft Access
- Vitess vs ClickHouse
- Vitess vs PostgreSQL
- Vitess vs Firebase Realtime Database
- Vitess vs Immuta
- Vitess vs InfluxDB
- Vitess vs Knack
- Vitess vs QuestDB
- Vitess vs RisingWave
