APIs · head to head
Hasura vs Starlight

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

Starlight
Documentation
Documentation site framework built on Astro that ships no JavaScript to the reader by default
- From
- Free
- Free plan
- Yes
The short version
- Hasura is an open-source engine.
- Starlight is free; Hasura starts at $5/mo.
- Only Hasura lists GraphQL API; only Starlight lists file based routing.
- Where Hasura falls short: active model definition: model/command accessed more than 1,000 times monthly.
How do Hasura and Starlight differ?
Hasura and Starlight differ on pricing model, platforms and category (APIs against Documentation). Only the attributes on which Hasura and Starlight actually diverge.
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: founded for Starlight.
Which features does each one have?
They share no listed features; 11 appear only for Hasura and 7 only for Starlight. 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 Starlight
- File based routing
- Pagefind search
- Internationalisation
- Component overrides
- Zero client JavaScript
- Expressive Code blocks
- Auto generated sidebar
What is each one used for?
Hasura is most often brought in for automatic GraphQL API generation from existing databases. The jobs each tool is most often brought in to do.
Hasura
- Automatic GraphQL API generation from existing databasesnot Starlight
- Real-time data subscriptions for modern applicationsnot Starlight
- Backend infrastructure for web and mobile applicationsnot Starlight
- Event-triggered webhooks for database changesnot Starlight
Starlight
- A developer tool whose docs live in the same repository as the code and are reviewed in the same pull requestnot Hasura
- A team that already runs Astro for its marketing site and wants one build pipeline for bothnot Hasura
- Documentation that must be served from a CDN or an air gapped static host with no search backendnot Hasura
- A multilingual open source project that needs per locale content trees and untranslated page fallbacknot Hasura
Where do Hasura and Starlight fall short?
Hasura's most cited limit: active model definition: model/command accessed more than 1,000 times monthly. 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
Starlight
- There is no editing interface, so every correction requires a git client, a Node install and a CI run, which puts documentation changes out of reach for anyone who does not already work in a repository
- Starlight versions track Astro versions, so an Astro major release becomes a documentation site migration on someone else timeline rather than yours
- Pagefind builds the whole search index at compile time, so build duration and index size grow with page count and large documentation sets pay for it on every deploy
- There is no analytics, no feedback widget and no page level rating built in, so measuring which pages fail readers means wiring a third party script yourself
- Component overrides are limited to the slots the theme exposes, and anything outside those slots means forking the theme and inheriting the merge burden on every upgrade
How much do Hasura and Starlight cost?
Hasura has a free plan, with paid plans from $5/mo; Starlight 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
Starlight
Free- Open sourceFree
- MIT licence
- All features included
- Self hosted on any static host
Which should you pick?
Choose Hasura if
- You need graphql api.
- You want to start without paying.
- You also want real-time subscriptions.
Choose Starlight if
- You need file based routing.
- You want to start without paying.
- You work on Web, macOS, Windows, Linux.
- You also want pagefind search.
Questions people ask
- Is Hasura or Starlight better?
- It depends on the job. Hasura fits automatic GraphQL API generation from existing databases; Starlight fits a developer tool whose docs live in the same repository as the code and are reviewed in the same pull request. Hasura starts at Free and Starlight at Free.
- Which is cheaper, Hasura or Starlight?
- Hasura starts at Free and Starlight at Free.
- Does Hasura or Starlight run on more platforms?
- Hasura runs on Web. Starlight runs on Web, macOS, Windows, Linux.
- 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 Starlight is typically brought in for.
- What can Hasura do that Starlight cannot?
- Hasura covers GraphQL API, Real-time subscriptions, Access control, PostgreSQL. Starlight covers File based routing, Pagefind search, Internationalisation, Component overrides.
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.
SourceStarlight: Can a non technical writer publish a page without help?
No. There is no content management interface. Every change is a commit, a pull request and a build.
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.
SourceStarlight: Do I need to know Astro to use it?
Not for basic use. Markdown files and a config file are enough until you want custom components, at which point Astro knowledge becomes mandatory.
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.
SourceStarlight: Is search included or do I pay for it?
Included and free. Pagefind builds a static index at compile time. Algolia DocSearch is optional if you want hosted search instead.
Starlight: What happens when Astro releases a major version?
Starlight follows it, and your site needs a migration. Read the upgrade guide before pinning a version for a long lived project.
Starlight: Can I self host with no external services?
Yes. The output is static HTML, CSS and a search index. Nothing calls out at runtime unless you add it.
Related 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 MkDocs
- Hasura vs VitePress
- Hasura vs Fumadocs
- Hasura vs Antora
- Hasura vs Mintlify
- Hasura vs Docsify
- Hasura vs Nextra
- Hasura vs Archbee
- Hasura vs Scalar
- Hasura vs HelpDocs
- Hasura vs Confluence
- Hasura vs Nuclino
- Hasura vs MadCap Flare
- Hasura vs Adobe RoboHelp
- Hasura vs Doxygen
- Hasura vs Scribe
- Hasura vs Tettra
- Hasura vs Guru (knowledge platform)
- Starlight vs PocketBase
- Starlight vs Parse Server
- Starlight vs Appwrite
- Starlight vs GraphQL Apollo
- Starlight vs GraphQL Playground
- Starlight vs Directus
- Starlight vs Backendless
- Starlight vs Asyncapi
- Starlight vs Prisma
- Starlight vs Janus Gateway
- Starlight vs Strapi
- Starlight vs Gravitee
- Starlight vs Lithic
- Starlight vs AWS API Gateway
- Starlight vs Backbase
- Starlight vs Enfuce
- Starlight vs Griffin
- Starlight vs Swan
- Starlight vs MkDocs
- Starlight vs VitePress
- Starlight vs Fumadocs
- Starlight vs Antora
- Starlight vs Mintlify
- Starlight vs Docsify
- Starlight vs Nextra
- Starlight vs Archbee
- Starlight vs Scalar
- Starlight vs HelpDocs
- Starlight vs Confluence
- Starlight vs Nuclino
- Starlight vs MadCap Flare
- Starlight vs Adobe RoboHelp
- Starlight vs Doxygen
- Starlight vs Scribe
- Starlight vs Tettra
- Starlight vs Guru (knowledge platform)
