Softwr

Software · head to head

Directus vs Hasura

Directus logo

Directus

Software

Open-source data platform providing REST and GraphQL APIs

From
Free
Rated
-
Hasura logo

Hasura

Software

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

From
Free
Rated
-

The short version

  • Each has a real cost: Directus free permissive use of the self hosted product is limited to organisations under $5M annual revenue with fewer than 50 employees, so crossing either threshold turns a free dependency into a paid licence; Hasura database support limited to PostgreSQL, MongoDB, ClickHouse, and MS SQL Server only
  • They diverge on capability: Directus covers REST API, Hasura covers Real-time subscriptions.

Where they differ

Only the attributes on which Directus and Hasura actually diverge.

Attributes where Directus and Hasura differ
AttributeDirectusHasura
PlatformsNode.js, Cloud, Self-hosted, DockerWeb
Founded20142017

Identical on both: starting price (Free), pricing model (open-source), free tier (Yes), user rating (Not yet rated), category (Unknown).

What each one covers

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 Directus

  • REST API
  • Database management
  • SQLite
  • Node.js support

Only in Hasura

  • Real-time subscriptions
  • Access control
  • REST APIs
  • Kubernetes support

Both cover

  • GraphQL API
  • PostgreSQL
  • MySQL
  • Webhooks
  • Cloud support
  • Self-hosted support
  • Docker support

What people use each for

The jobs each tool is most often brought in to do.

Directus

  • Wrapping an existing SQL database in a REST and GraphQL API with an admin interfacenot Hasura
  • Running a self hosted headless CMS over a schema you already ownnot Hasura

Hasura

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

Where each one falls short

Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Directus

  • Free permissive use of the self hosted product is limited to organisations under $5M annual revenue with fewer than 50 employees, so crossing either threshold turns a free dependency into a paid licence
  • The free Core tier is a hard limit of 3 seats, 25 collections and 5 flows
  • The Team plan is $499 a month billed annually, or $599 monthly, with extra seats at $50 each
  • Team caps collections at 50, expandable to 100, and flows at 20

Hasura

  • Database support limited to PostgreSQL, MongoDB, ClickHouse, and MS SQL Server only

Pricing, plan by plan

Directus

Free
  • CommunityFree
    • Self-hosted Directus
    • Community support
  • Cloud$25/monthly
    • Managed cloud
    • Automatic updates
    • Backups

Hasura

Free

No published plan breakdown. See the Hasura review.

Which should you pick?

Choose Directus if

  • You need rest api.
  • You want to start without paying.
  • You work on Node.js, Cloud, Self-hosted, Docker.
  • You also want database management.

Choose Hasura if

  • You need real-time subscriptions.
  • You want to start without paying.
  • You also want access control.

Questions people ask

Is Directus or Hasura better?
Neither clearly leads. Directus starts at Free and Hasura at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, Directus or Hasura?
Directus starts at Free and Hasura at Free.
Does Directus or Hasura run on more platforms?
Directus runs on Node.js, Cloud, Self-hosted, Docker. Hasura runs on Web.
Can I use Directus for free?
Both have a free tier, so you can try either at no cost before committing.
What is Directus best used for?
Directus is most often used for wrapping an existing sql database in a rest and graphql api with an admin interface, running a self hosted headless cms over a schema you already own. Of those, wrapping an existing sql database in a rest and graphql api with an admin interface and running a self hosted headless cms over a schema you already own are not what Hasura is typically brought in for.
What can Directus do that Hasura cannot?
Directus covers REST API, Database management, SQLite, Node.js support. Hasura covers Real-time subscriptions, Access control, REST APIs, Kubernetes support. Both handle GraphQL API, PostgreSQL, MySQL, Webhooks.

Related pages

Other head to heads