1. Price
Free tier: 20 seats, 2 datasets, 10k documents, 250k API requests/month, 1000 AI credits/month. As reported on the official pricing page, checked Oct 9, 2026.
sanity.io/pricing2. Commercial use
“As between the Parties, except for the limited rights provided herein, Subscriber retains all right, title, and interest (including any and all intellectual property rights) in and to the Subscriber Data as provided to Sanity.”
Allowed on any plan within its quotas; you keep the rights to your content.
sanity.io/legal/tos3. Key & sign-up
“If you need to authenticate with the Sanity API from an application or third-party service, you should generate a dedicated robot token for it, with appropriate permissions.”
Robot (project) token as Authorization: Bearer; reading published content from a public dataset needs no token
sanity.io/docs/content-lake/http-auth.md4. Agent access
“It supports authentication through both OAuth (default) and token-based authentication.”
Our agent check: 4 of 6 (Nov 13, 2026).
sanity.io/docs/ai/mcp-server.mdChecked against the maker's official pages, pricing on Oct 9, 2026. Tap a verdict to see its source.How we checkedReport an error
What Sanity does
Sanity keeps the text, pictures and other content of your website or app in an online store, with an editing screen your team can shape to fit. Your site asks Sanity for the content it shows, and editors change it without touching code. The free plan covers small projects; paid plans charge per editor seat.
- Sanity is one of 29 APIs in the Databases and backends category on AgentGid.
- Its cheapest paid plan ($15 a month) is the 10th cheapest of the 18 here with a monthly plan.
- It is one of 26 that can be started for free.
- It ships an official MCP server, like 7 others here.
- Its official SDK is the 9th most downloaded in the category (5.4M a week).
What people build with it
Blog or marketing site editors can update
Your team writes and edits posts and landing pages in the editing screen, and the site picks up the changes.
Pictures cut to size by editors
Editors upload one photo and mark its focus point; each page asks for the exact size it needs and the crop follows the editor's choice.
Product catalog for a shop
Keep product descriptions, pictures and categories in one place and show them on your shop, your app and in emails.
Preview pages before publishing
Editors see the page as it will look while they type, and publish when it is ready.
Let your AI assistant manage content
Connect Claude Code or Cursor to your project so the assistant can read, create and update content for you.
Site in several languages Idea
Store each page in every language you support and let translators work in the same editing screen.
Sanity popularity
SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.
Pricing
20 seats, 2 datasets, 10k documents, 250k API requests/month, 1000 AI credits/month
$15 a month
$1 per 25k API requests, $1 per 250k CDN requests, $0.05 per AI credit, $1 per 1M function invocations
Added automatically: its SDK was in 14 of the public agent repos we sampled when it was added; a hosted MCP server in the official MCP Registry. Prices read from the official pricing page.
What one action costs
| Action | Price |
|---|---|
| 25,000 extra API requests on Growth | $1 |
| 250,000 extra API CDN requests on Growth | $1 per 250k |
| 1 extra AI credit on Growth | $0.05 |
| 1 editor seat a month on Growth | $ 15 |
Price history
- A year of the pricing page in the Internet Archive (11 months): the lowest monthly figure went from $299 (2025-10) to $299 (2026-10).
- 2026-06: free plan no longer shown
- 2026-07: no longer shown $1399/mo
As reported on the official pricing page, checked Oct 9, 2026. Prices change: confirm before you buy. sanity.io/pricing
Limits
10,000 documents, 250k API requests and 1M API CDN requests a month, 2 public datasets, 20 seats
250k API requests a month included on both; Growth pays $1 per extra 25k
500 API calls a second per IP address, 25 writes a second, 500 queries at once per dataset; cached CDN reads are not rate limited
A query may run at most 1 minute
From the official docs. sanity.io/pricing
Key and access
Robot (project) token as Authorization: Bearer; reading published content from a public dataset needs no token
SANITY_SECRET_TOKEN (the name used in the official client README; your own choice)No
Steps only a person can do
- Sign up for Sanity (or sign in through the browser when sanity init asks), and choose a plan. Use the projectId and dataset name that init prints; put them in .env.
- Create a robot token with the narrowest role you need, if the site reads drafts or private data or writes content. Store it as SANITY_SECRET_TOKEN on the server only.
- Add your site's address (and localhost port) to the project's CORS origins. Browser requests from that address start working.
Commercial use and your data
The hosted content store is a paid service with a free plan, and you keep the rights to your content. The editing app and the client libraries are open source under the MIT license.
Allowed on any plan within its quotas; you keep the rights to your content.
“As between the Parties, except for the limited rights provided herein, Subscriber retains all right, title, and interest (including any and all intellectual property rights) in and to the Subscriber Data as provided to Sanity.” source
The Studio and client libraries are MIT, so you may ship them with their license notice; the hosted service itself is not yours to redistribute.
“"license":"MIT"” source
Fine; the client should own the project or organization, since content and billing belong to the subscriber.
“Subscriber shall be solely responsible for ensuring that all Subscriber Data complies with applicable laws.” source
“Sanity is not obligated to maintain Subscriber Data for more than thirty (30) days following termination or expiration of the Subscription Term;”
Errors to handle
The GROQ query has a syntax error, a parameter is invalid, or the CDN got a perspective it does not serve.
Fix the query or parameter; do not retry as is.
The token is invalid or expired.
Create a new robot token in the project settings and replace it on the server.
The dataset name does not exist in this project.
Check the projectId and dataset name.
Too many requests from one address for that kind of request.
Retry with backoff (the client does it for queries); queue writes yourself and read through the CDN.
Use it from an agent
4 of 6: llms.txt yes, OpenAPI no, SDK yes, MCP yes, status page no, AI assistants allowed yes
Checked Nov 13, 2026.
Sanity MCP server (hosted, OAuth or token)
claude mcp add Sanity -t http https://mcp.sanity.io --scope user
npm install @sanity/clientInstructions in its docs to check first
“Written for AI coding agents: point your agent (Claude Code, Cursor) at this page and it installs the toolkit, gets you authenticated, and scaffolds a running Sanity Studio while guiding you.”
The page tells agents to run npx sanity@latest init with --yes, which signs in, installs skills and an MCP server and creates a public dataset; ask the person first.
“If the user has no Sanity account and doesn't want to create one yet, go to sanity.new and follow the instructions there.”
sanity.new has the agent create a real project without an account through an unpinned npx command; ask the person before creating anything.
Alternatives
Sanity This page
Pick Firebase when you need a general app backend with sign-in, a database and hosting, not an editing screen for content.
Pick MongoDB Atlas when you want a general-purpose cloud database and will build any editing tools yourself.
Pick Payload when you want an open-source content system that runs inside your own Next.js app and database.
Get started
Tell your AI assistant
“Connect my Next.js site to Sanity with @sanity/client at a fixed version: projectId and dataset from env, a hard-coded apiVersion date, useCdn true for page reads, the robot token only on the server, and image addresses built with @sanity/image-url.”
Create a Sanity project and its editing app (Studio); the command signs you in through the browser if needed.
npx sanity@latest init --yes --project-name "<project name>" --dataset-default --template clean --typescript --output-path studioInstall the client in your site and allow your site's address under CORS in the project settings.
npm install @sanity/clientQuery your content with GROQ (example from the client README).
import {createClient} from '@sanity/client' export const client = createClient({ projectId: 'your-project-id', dataset: 'your-dataset-name', useCdn: true, apiVersion: '2025-02-06', }) const posts = await client.fetch('*[_type == "post"]')
First request
Request from the authentication page (the token is only needed for drafts and private datasets; published content in a public dataset needs none). Response is the example from the Query API reference.
curl -H "Authorization: Bearer <token>" https://<project>.api.sanity.io/v2021-06-07/data/query/production?query=*{
"ms": 12,
"query": "*[_type == 'movie']",
"result": [
{
"_id": "movie1",
"title": "Inception"
}
],
"syncTags": [
"s1:hil1xQ"
]
}Mistakes to avoid
The README warns a dynamic value may break the app at a random point in the future.
Tokens bundled into front-end code leak; a write token can delete all data.
Cached CDN reads are not rate limited and are cheaper in quota.
Private datasets answer unauthenticated queries with 200 and an empty result.
Dataset assets stay public to anyone with the link.
Questions
Is there a free plan?
Yes, $0 forever with up to 20 seats, 2 public datasets and 10,000 documents.
Does my website need a key to read content?
Not for published content in a public dataset. Drafts and private datasets need a token, used only on the server.
Why does my private dataset return an empty list?
Requests without a token to a private dataset get an empty answer, not an error.
Who owns the content I put in Sanity?
You do; Sanity uses it to provide the service and may build anonymous statistics from it.
Where is my content stored?
In the EU/EEA, the US or another Sanity region set per customer, on Google Cloud.