Watch a live product demo 👀 See how Sanity powers richer commerce experiences

How to Ensure You Don't Pay for Data Usage Unnecessarily

10 replies
Last updated: Sep 28, 2021
Hey can some explain to me the pricing and what all of this means. And also, lets say a small business uses the free tier, and all they have for their website is a home, contact, about, services and also a blog page, at what point would they have to pay for the service. How many visitors a month would their website need to get?
Sep 27, 2021, 4:48 AM
Hi
user G
, Sanity only handles your data so it depends on your web hosts & how you implement the website.
For example, it can be free/cheap for a long time if…
• The site doesn’t have a lots of assets (images, files for download, etc.) and / or you don’t plan to use Sanity’s assets directly
• The majority of the site is static
• You built the website with a framework that has static generating capability (such as evelenty, nextjs, sveltekit)
• The site does not need to be updated every 10 minutes or so
• You host it on places with generous free tiers such as Netlify / Vercel or Cloudflare
For a rough estimate, say a site has less than 100 pages (that might need 150 CDN request per build), each page is roughly 1mb (quite heavy), you’ll need 100,000 page requests to start being charged on Netlify & you’ll need to rebuild the site 4 times every hour to start to touch the CDN request cap.

However if you host a lot of images, say 5mb worth of them (IMO that’s plenty) on every pages, then it’ll only take probably 1500 visitors to exceed the bandwidth cap.

For example, one of my Sanity sites is a landing page for a startup that actively runs ads with 25k visitors per month, we’re only paying for collaborator seats & $1 worth of exceeded bandwidth every month — things like API requests are not even close to touch the limit.
Sep 27, 2021, 5:32 AM
Thanks for this really thorough answer
user G
! I may add that you can add a credit-card to the free plan to pay for these API-overages.
Sep 27, 2021, 7:39 AM
Thank you for the insightful response
user G
. So would I have to host my images on a platform like cloudinary?
Sep 27, 2021, 7:15 PM
You should at least use the on-demand transforms to only fetch the dimensions and format you need, then your bandwidth will last longer. E.g. we support webp for browser who can render it.
Sep 27, 2021, 7:17 PM
You should at least use the on-demand transforms to only fetch the dimensions and format you need, then your bandwidth will last longer. E.g. we support webp for browser who can render it.
Sep 27, 2021, 7:17 PM
(and it’s also better for performance)
Sep 27, 2021, 7:17 PM
You should at least use the on-demand transforms to only fetch the dimensions and format you need, then your bandwidth will last longer. E.g. we support webp for browser who can render it.
Sep 27, 2021, 7:17 PM
user Y
I just need to dive into the docs, I think a lot of these questions would be answered for me if I build something with Sanity
Sep 27, 2021, 7:31 PM
user Y
I just need to dive into the docs, I think a lot of these questions would be answered for me if I build something with Sanity
Sep 27, 2021, 7:31 PM
user G
I would use Sanity assets vs. Cloudinary unless you need their unique features. Sanity has clear pay-as-you-go pricing & the bandwidth price is very good ($0.2/GB)!
Sep 28, 2021, 8:29 AM

Sanity.io – build remarkable experiences at scale

Sanity is a customizable solution that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Categorized in

Related answers

Get more help in the community Slack

TopicCategoriesFeaturedRepliesLast Updated
After adding the subtitle and running this code npm run graphql-deploy It does nothingSep 15, 2020
how to limit a reference to just one entry in Studio reference input side versus the default as-many-entries-as-you-fill-in-an-array...Sep 18, 2020
Is it possible to fetch more than one "_type" using GROQ?Nov 2, 2020
I want to add a view with the Structure builder (S.view.component) where I list similar documents based on the title. What...Sep 23, 2020
Is there a structure builder example where the format of each preview for the document list is modified?Feb 3, 2021
I have an array of references to a country schema type but it always just returns NULL values for meJan 30, 2021
Hi, I need help with a query for getting the url of an image asset. Here is what I've been trying, but I only get the _ref...Dec 1, 2020
Sanity UI looks brilliant :smiley: Is something like the current date picker possible at the moment? I’m not sure if anicon...Dec 21, 2020
Hey everyone. I have been coding and may have potentially accidentally deleted something. Does anyone know how to resolve...Dec 26, 2020
Hello everyone and happy new year :raised_hands::skin-tone-2:, I have a problem with outputting Portable Text :disappointed:...Jan 1, 2021

Related contributions

Clean Next.js + Sanity app
- Template

Official(made by Sanity team)

A clean example of Next.js with embedded Sanity ready for recomposition.

Cody Olsen
Go to Clean Next.js + Sanity app

Blog with Built-in Content Editing
- Template

Official(made by Sanity team)

A Sanity-powered blog with built-in content editing and instant previews.

Go to Blog with Built-in Content Editing