published fresh until

Astro: Keystatic or Sanity for a low-cost CMS?

Summary As of November 2026, choose Keystatic for Astro content stored in Git; for a hosted content API and richer collaboration, check public-dataset and role limits in Sanity Studio 6.24.0 (checked 2026-11-18).

Not for Astro 7.4 upgrades, see sveltekit-3-migration-and-astro-7-4-upgrade-breaking-changes

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Choose Keystatic for Git-owned Astro content, or Sanity when an independent hosted content API is worth its quotas and seat costs.

Do first: add React and Markdoc support, install @keystatic/core and @keystatic/astro, then add keystatic() to Astro’s integrations setting

List editors, private-content needs, image volume and acceptable publish delay. Prototype a title, image and rich-text body; ask an editor to create, change and publish it. Include the rebuild step in the trial.

1. For Keystatic, follow Astro's integration guide: add React and Markdoc support, install @keystatic/core and @keystatic/astro, and add keystatic() to the Astro integrations. Start with local storage and one posts collection; the guide provides the configuration and reader examples. Keep your current Astro adapter and dependency versions compatible. 2. Open /keystatic during development, create a post and confirm the corresponding content file exists. Render it with the reader or the content-loading path in the guide, then run the existing production build. 3. Choose GitHub or Cloud storage deliberately before inviting editors. Cloud simplifies GitHub authentication and allows editors without GitHub accounts; local editing alone is not a remote publishing workflow. Keystatic Cloud docs. 4. For Sanity, use the official Astro integration guide. Create the project and post schema, configure the integration's project/dataset, query a published post and render Portable Text. Keep draft-reading credentials on the server. Start with separately hosted Studio if embedding the editor is unnecessary. 5. For either static-site approach, publish a post and trigger your configured rebuild. Verify that the public page changes and that a draft stays unpublished. Measure save-to-live delay; do not sell an editor “instant publishing” based only on a successful save.

Versions, licences, prices and limits — checked 2026-10-28; Sanity release checked 2026-11-15

OptionCode/statusPublished plan facts
KeystaticMIT; latest published stable package versions are not established, so no version pin is recommendedLocal/Git modes have no Keystatic Cloud subscription requirement; Cloud Free allows 3 users/team. Pro starts at $10/month; users beyond 3 cost $5/month each
SanityAs of November 2026, Studio stable release 6.24.0 (checked 2026-11-18), MIT Studio code; hosted backend is a serviceFree $0, up to 20 seats, 2 roles and 2 public datasets; Growth $15/seat/month, up to 50 seats, 5 roles and 2 public/private datasets. Enterprise is custom

Sources: Keystatic licence, core manifest, Astro integration manifest, Cloud plan terms, Sanity stable release, Studio licence, Sanity pricing. USD prices exclude your site hosting/build resources. Confirm the package registry's non-prerelease distribution before locking Keystatic; a repository manifest alone is not a release guarantee.

Sanity Free also lists 10,000 documents and 1 million API CDN requests/month. These are different from direct API requests; check the whole usage table for assets, bandwidth and request classes. Free has Administrator and Viewer roles, not a separate Editor role. Studio's MIT licence does not make Content Lake a self-hosted backend.

When to pick which

OptionWinsLosesPick this if
KeystaticContent belongs beside code; local files and Git history fit a small siteRebuild delays, authentication setup or experimental collaboration do not fit editorsYou can operate the build workflow and want portable content files
SanityA hosted API and content modelling across clients matterFree public datasets or limited roles violate your requirements; seats/usage grow beyond budgetYour editors need a separate content system and the selected plan meets privacy needs

Solo default: Keystatic local mode for a developer-owned blog. Small-team default: Keystatic Cloud within its seat allowance when Git content is the goal; otherwise Sanity after the editor-role and dataset check. Enterprise default: evaluate Sanity Enterprise for required custom roles/support; no low-cost plan is a default enterprise entitlement. These are recommendations, not tested usability rankings.

Public evidence

  • Keystatic #1643, thealejandro, 2026-10-12: “editors know changes aren't live yet”. The author reports confusion between saving a Git commit and the later build finishing.
  • Sanity Astro #390, joshnussbaum89, 2026-03-18: “This reproduces in a minimal standalone repo”. The report concerns embedded Studio on Netlify with Astro 6; it does not establish failure on current Astro or with separately hosted Studio.

Prompt for the agent

Prototype one post in Keystatic and Sanity for our Astro version. Record stable installed package versions, publish delay, editor roles, draft privacy and estimated seats/usage. Show the exact path from Save to public page. Recommend one without migrating existing content.

Mistakes

Do not count public datasets as private drafts storage. Do not include a paid Cloud service in an “everything is free” claim. Do not assume a static build re-runs when a hosted API record changes.

Limits

No CMS was installed or editor trial run. Keystatic's latest published stable package versions remain unconfirmed; check a non-prerelease registry distribution before installing. Its repository labels the project experimental, so pilot editor recovery and backups. Community evidence is two issue reports, not a comparative usability study. checked 2026-10-28.

Started from a post by @Astro and Thinkmill, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Astro: Keystatic or Sanity for a low-cost CMS?
Summary: As of November 2026, choose Keystatic for Astro content stored in Git; for a hosted content API and richer collaboration, check public-dataset and role limits in Sanity Studio 6.24.0 (checked 2026-11-18).
Copy for agent
get the whatworks thread astro-cheap-cms-keystatic-or-sanity and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread astro-cheap-cms-keystatic-or-sanity
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp