Softwr

APIs · head to head

Sanity vs Starlight

Sanity logo

Sanity

APIs

Headless CMS with real-time collaborative editing and structured content APIs

From
Free
Free plan
Yes
Starlight logo

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

  • Sanity is a headless CMS platform.
  • Starlight is free; Sanity starts at $15/mo.
  • Only Sanity lists content API; only Starlight lists file based routing.
  • Where Sanity falls short: free plan limited to 10,000 documents and 100GB assets.

How do Sanity and Starlight differ?

Sanity and Starlight differ on pricing model, platforms and category (APIs against Documentation). Only the attributes on which Sanity and Starlight actually diverge.

Attributes where Sanity and Starlight differ
AttributeSanityStarlight
Pricing modelFreemiumOpen source, no licence fee
PlatformsWebWeb, macOS, Windows, Linux
CategoryAPIsDocumentation

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; 8 appear only for Sanity 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 Sanity

  • Content API
  • Collaborative editing
  • Structured content
  • Webhooks
  • Third-party services
  • GROQ query language
  • Cloud support
  • JavaScript SDK 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?

Sanity is most often brought in for headless CMS for structured content management. The jobs each tool is most often brought in to do.

Sanity

  • Headless CMS for structured content managementnot Starlight
  • Collaborative content editing with real-time multiplayer supportnot Starlight
  • API-driven content delivery with GROQ query languagenot Starlight

Starlight

  • A developer tool whose docs live in the same repository as the code and are reviewed in the same pull requestnot Sanity
  • A team that already runs Astro for its marketing site and wants one build pipeline for bothnot Sanity
  • Documentation that must be served from a CDN or an air gapped static host with no search backendnot Sanity
  • A multilingual open source project that needs per locale content trees and untranslated page fallbacknot Sanity

Where do Sanity and Starlight fall short?

Sanity's most cited limit: free plan limited to 10,000 documents and 100GB assets. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Sanity

  • Free plan limited to 10,000 documents and 100GB assets
  • Free plan supports only public datasets
  • Growth plan capped at 50 seats maximum
  • Private datasets, scheduled drafts, and comments/tasks require paid plans
  • Annual billing unavailable for Growth plan; Enterprise-only

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 Sanity and Starlight cost?

Sanity has a free plan, with paid plans from $15/mo; Starlight is free to use. Plan by plan below, from each vendor's own pricing page.

Sanity

Free
  • FreeFree
    • Up to 20 seats
    • 2 public datasets only
    • 10,000 documents included
  • Growth$15/mo
    • Up to 50 seats per seat
    • 2 private or public datasets
    • 25,000 documents included
  • EnterpriseOn request
    • Custom seats
    • Custom datasets
    • Custom document limits

Starlight

Free
  • Open sourceFree
    • MIT licence
    • All features included
    • Self hosted on any static host

Which should you pick?

Choose Sanity if

  • You need content api.
  • You want to start without paying.
  • You also want collaborative editing.

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 Sanity or Starlight better?
It depends on the job. Sanity fits headless CMS for structured content management; Starlight fits a developer tool whose docs live in the same repository as the code and are reviewed in the same pull request. Sanity starts at Free and Starlight at Free.
Which is cheaper, Sanity or Starlight?
Sanity starts at Free and Starlight at Free.
Does Sanity or Starlight run on more platforms?
Sanity runs on Web. Starlight runs on Web, macOS, Windows, Linux.
Can I use Sanity for free?
Both have a free tier, so you can try either at no cost before committing.
What is Sanity best used for?
Sanity is most often used for headless cms for structured content management, collaborative content editing with real-time multiplayer support, api-driven content delivery with groq query language. Of those, headless cms for structured content management and collaborative content editing with real-time multiplayer support are not what Starlight is typically brought in for.
What can Sanity do that Starlight cannot?
Sanity covers Content API, Collaborative editing, Structured content, Webhooks. Starlight covers File based routing, Pagefind search, Internationalisation, Component overrides.

Answered from the vendors’ own pages

Sanity: What does the Sanity Free plan include?

The Free plan includes up to 20 seats, 2 public datasets, 10,000 documents, 1 million API CDN requests per month, and 2 permission roles.

Source
Starlight: 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.

Sanity: How much does Sanity Growth plan cost per user?

The Growth plan costs $15 per seat per month, with up to 50 seats, and includes 25,000 documents, 1 million API CDN requests, and 5 permission roles.

Source
Starlight: 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.

Sanity: What is included in Sanity Enterprise pricing?

Enterprise pricing is custom and requires contacting sales. It includes custom seat limits, custom datasets, Single Sign-On, and dedicated support.

Source
Starlight: 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.

Sanity: Does Sanity offer annual billing discounts?

Annual and invoice payment options are available exclusively for Enterprise customers. Self-serve plans (Free and Growth) use monthly billing only.

Source
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.

Share

Related pages

Other head to heads