Softwr

APIs · head to head

Hasura vs Valkey

Hasura logo

Hasura

APIs

GraphQL engine that instantly creates production-ready GraphQL API from databases

From
Free
Free plan
Yes
Valkey logo

Valkey

Databases

Open-source in-memory data store forked from Redis

From
Free
Free plan
Yes

The short version

  • Hasura is an open-source engine.
  • Valkey is free; Hasura starts at $5/mo.
  • Only Hasura lists GraphQL API; only Valkey lists BSD licensed.
  • Where Hasura falls short: active model definition: model/command accessed more than 1,000 times monthly.
  • Where Valkey falls short: younger project, so its track record is short even though the codebase is not.

How do Hasura and Valkey differ?

Hasura and Valkey differ on pricing model, platforms and category (APIs against Databases). Only the attributes on which Hasura and Valkey actually diverge.

Attributes where Hasura and Valkey differ
AttributeHasuraValkey
Pricing modelFreemiumOpen source, no licence fee; managed cloud billed separately
PlatformsWebLinux, macOS, Self-hosted
CategoryAPIsDatabases
Founded20172024

Identical on both: starting price (Free), free tier (Yes).

Which features does each one have?

They share no listed features; 11 appear only for Hasura and 4 only for Valkey. 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
  • MySQL
  • Webhooks
  • REST APIs
  • Cloud support

Only in Valkey

  • Redis-compatible
  • BSD licensed
  • Rich data structures
  • Replication and persistence

What is each one used for?

Hasura is most often brought in for automatic GraphQL API generation from existing databases; Valkey for migrating from Redis without rewriting application code. The jobs each tool is most often brought in to do.

Hasura

  • Automatic GraphQL API generation from existing databasesnot Valkey
  • Real-time data subscriptions for modern applicationsnot Valkey
  • Backend infrastructure for web and mobile applicationsnot Valkey
  • Event-triggered webhooks for database changesnot Valkey

Valkey

  • Continuing on a permissively licensed in-memory store after the Redis licence changenot Hasura
  • Caching and session storage where a foundation-governed project is a procurement requirementnot Hasura
  • Migrating from Redis without rewriting application codenot Hasura

Where do Hasura and Valkey fall short?

Hasura's most cited limit: active model definition: model/command accessed more than 1,000 times monthly. Valkey's: younger project, so its track record is short even though the codebase is not. 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

Valkey

  • Younger project, so its track record is short even though the codebase is not
  • Divergence from Redis grows over time, so compatibility is strongest near the fork point and weakens as both evolve
  • Ecosystem tooling and documentation still frequently assume Redis, leaving translation work

How much do Hasura and Valkey cost?

Hasura has a free plan, with paid plans from $5/mo; Valkey 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

Valkey

Free
  • ValkeyFree
    • Full functionality
    • Self-hosted
    • No usage limits

Which should you pick?

Choose Hasura if

  • You need graphql api.
  • You want to start without paying.
  • You also want real-time subscriptions.

Choose Valkey if

  • You need redis-compatible.
  • You want to start without paying.
  • You work on Linux, macOS, Self-hosted.
  • You also want bsd licensed.

Questions people ask

Is Hasura or Valkey better?
It depends on the job. Hasura fits automatic GraphQL API generation from existing databases; Valkey fits continuing on a permissively licensed in-memory store after the Redis licence change. Hasura starts at Free and Valkey at Free.
Which is cheaper, Hasura or Valkey?
Hasura starts at Free and Valkey at Free.
Does Hasura or Valkey run on more platforms?
Hasura runs on Web. Valkey 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 Valkey is typically brought in for.
What can Hasura do that Valkey cannot?
Hasura covers GraphQL API, Real-time subscriptions, Access control, PostgreSQL. Valkey covers Redis-compatible, BSD licensed, Rich data structures, Replication and persistence.

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.

Source
Valkey: Is Valkey free?

Yes, BSD-licensed open source under the Linux Foundation.

Hasura: 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.

Source
Valkey: Why does Valkey exist?

Redis changed its licence away from BSD in 2024. Valkey is the community fork continuing under permissive terms, backed by AWS, Google Cloud and Oracle among others.

Hasura: 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.

Source
Valkey: Can I switch from Redis to Valkey?

At the fork point it is drop-in compatible with existing clients and data. The further both projects move from that point, the more you should verify the specific features you use.

Share

Related pages

Other head to heads