Joint session with Vercel: How to build intelligent storefronts (May 15th)

Sanity pricing: More documents vs. more attributes on documents?

3 repliesLast updated: Nov 29, 2025

Do I understand correctly that the pricing plans encourage using structured content more (so having more documents) than using attributes on documents (unique attributes)? 🙂
AI Update

Your understanding is partially correct, but it's important to clarify what the pricing plans actually incentivize:

The Real Story: Attributes vs Documents

Sanity's attribute limits don't necessarily "encourage" more documents over attributes - rather, they reflect technical realities of how the datastore works. Here's what you need to know:

What Counts as an Attribute?

According to the Sanity documentation on technical limits, an attribute is counted as any unique path/datatype combination across your dataset:

The Limits

Dataset-wide limits:

Per-document limits:

The Practical Reality

The attribute limit is more about schema complexity than document count. You could have:

As one community member explained: "The unique paths count the same for one document as for a million using those paths."

What This Means for Your Architecture

You should optimize for:

Common attribute-heavy patterns to watch:

So yes, Sanity's architecture naturally encourages well-structured content broken into logical documents, but not because documents are "cheaper" than attributes - rather because clean, normalized schemas are more maintainable and less likely to hit technical limits. The Free plan's 10 million document limit is quite generous, while the 2,000 attribute limit can be reached with complex schemas, which does indirectly encourage simpler, more normalized content models.

Show original thread
3 replies

Was this answer helpful?

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Related contributions