👀 See Sanity in action: Watch product demo now →

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