Skip to main content
PandaCodeGen.

Architecture / Sanity vs Supabase

Sanity vs Supabase: CMS, Backend or Both?

Sanity manages content; Supabase provides Postgres, sign-in, storage and functions. Compare costs, permissions, backups and when one or both fit.

By Hassan Jamal, Co-founder and Lead Engineer

Published ·Updated

Sanity and Supabase aren't competitors. Sanity is a content management system (CMS): your team uses it to edit the words and images on your website. Supabase is a backend: a Postgres database with sign-in (Auth), file storage and server functions (Edge Functions) for an app, portal or CRM. A marketing website usually needs only Sanity. A customer portal or internal tool needs a backend like Supabase. Many projects use both, Sanity for the public website and Supabase for the private side.

Which one does your project need?

Look at who changes the data. Staff publishing pages, articles and photos need an editing interface; customers creating bookings or orders need an application backend with permissions. Sanity and Supabase can serve those jobs together, but having both kinds of data does not require two vendors. An existing CMS or a custom admin interface over one backend may cover both. Add a separate CMS when its editing workflow is worth the extra integration, and decide which system owns each record.

Which tool does which job
JobWhat we usually useWhat you decide
The public websiteNext.jsPages, layouts and forms.
Editing contentSanity StudioWhich content types and fields your team edits.
Customer and business dataSupabase (Postgres)The records, who signs in, and who can see what.
HostingVercelDomains, previews of changes and the server code.
The codeGitHubWho can change the code, and the history of every change.

We usually build on Supabase because it's quick to set up and uses Postgres. That helps with database portability, but moving an app also means migrating its authentication, files, functions and configuration. Supabase's backup and restore guide separates those jobs. If a project needs MongoDB, another database or an API your business already runs, we build around that instead.

A project that uses both: A Step Above Medical

A Step Above Medical has a replacement Next.js website with Sanity, where the team edits its courses and locations. Alongside it, an operations portal built on Supabase brings together class rosters, instructor assignments, certificates and payments. The portal runs on the client's own Supabase account. The project is live, as confirmed by the owner on 20 October 2026. We build the same setup for other training businesses.

The A Step Above Medical operations portal's Classes view: upcoming classes, students enrolled, outstanding balances and certificates awaiting sign-off, above a class schedule table
The operations portal for A Step Above Medical, an independent client project that is now live. This screenshot was captured before launch and illustrates the interface; its figures are not production results.

This is the backend package we build most often: the database plus a custom CRM on top, in the same build. The team runs the business from its own admin screens, the same way it edits the website in Sanity.

What do Sanity and Supabase cost?

Sanity and Supabase plans as of October 2026
PlanPriceWhat's included
Sanity Free$0 a monthup to 20 user seats, 2 public datasets, 10,000 documents, 1 million API CDN requests and 100 GB bandwidth a month; 3 days of draft change history and 2 permission roles
Sanity Growth$15 per seat a monthup to 50 user seats, 25,000 documents, private datasets and 90 days of draft change history and 5 permission roles
Supabase Free$0 a month500 MB database, 1 GB file storage, 50,000 monthly active users, 2 active projects; free projects are paused after 1 week of inactivity and have no included automatic backups
Supabase Profrom $25 a month$10 a month of compute credits, 8 GB disk per project, 100 GB file storage, 100,000 monthly active users and daily backups kept 7 days; paid projects are not paused for inactivity

We build on Supabase's Free plan and move the project to Pro when it goes live, so you don't pay for the database during the build. For client production apps we use Pro, because free projects pause after a week of inactivity and have no included automatic backups. Prices are from Sanity's pricing page and Supabase's pricing page. For the whole monthly bill, including hosting, see what a website costs to run each month.

Signing in isn't the same as permission

Signing someone in tells your app who they are. It doesn't decide which records they can see. In Supabase, that second job belongs to row-level security (RLS): rules on each table, such as "a customer can read only their own bookings". Every table the browser can reach needs those rules, and admin keys stay on the server, never in browser code. See Supabase's row-level security guide.

Test it before launch. Sign in as one customer and try to load another customer's record. Remove a staff member and check they lose access. Send the same payment notification twice and check you get one payment. Also agree who restores the database from a backup if something goes wrong.

Database backups do not cover uploaded files

Supabase's backup documentation says database backups contain Storage metadata, not the uploaded objects. Restoring a database backup will not recover a file deleted from Storage. For documents, artwork or certificates, define a separate file backup, retention period and restore test alongside the database backup. Storage capacity is not a backup policy.

Where do Vercel and GitHub fit?

In this setup, Vercel hosts the website and runs server code while Supabase holds application records. That is our architecture choice, not a restriction of Vercel: its storage offering includes Blob and database integrations. Request data can also pass through functions and logs, so document those paths when deciding where information lives. GitHub holds the code and its change history. At handover, identify each account owner and provide written release and recovery steps.

What to ask for in a proposal

  • The public pages, the content your team edits, and the private screens.
  • Who can see and change each kind of record.
  • Tests for publishing, permissions and failed payments or integrations.
  • Separate prices for the build, moving your existing data, vendor plans and maintenance.
  • Who owns the code, hosting, CMS and database accounts.

Our Sanity service covers the website and its editor. Our backend development service covers databases, portals and custom CRMs. Comparing editors instead? Read Sanity vs WordPress.

Common questions

Is Sanity an alternative to Supabase?
They serve different primary jobs. Sanity provides an editing workflow and hosted content storage; Supabase provides Postgres, sign-in, storage and functions. They can work together, but one backend with an appropriate editor can also cover both jobs. Choose around the workflow and permissions you need.
Do I need Supabase for a business website?
Usually not. A business website with pages, articles and a contact form needs a CMS and a form that emails you. You need a backend like Supabase when people sign in, or when you store records such as bookings, orders, students or payments.
How much does Supabase cost?
Supabase's Free plan is $0 a month and Pro is from $25 a month, as of October 2026. We build on the Free plan and move the project to Pro when it goes live, because free projects are paused after a week of inactivity and have no included automatic backups.
Is Supabase still free in 2026?
Yes. As of October 2026, Supabase's Free plan is $0 a month, with 500 MB database, 1 GB file storage, 50,000 monthly active users, 2 active projects; free projects are paused after 1 week of inactivity and have no included automatic backups. That suits building, testing and simple sites. For client production apps we use Pro, from $25 a month, which isn't paused for inactivity and includes daily database backups.
Is Supabase safe for customer data?
It can be, but the setup decides it. Supabase tells you who someone is; row-level security rules on each table decide which records they can see, and every table the browser can reach needs them. Admin keys stay on the server. Pro keeps daily database backups for 7 days; those backups don't include files uploaded to Supabase Storage, so plan for those separately. For health data, customers sign a BAA with Supabase for HIPAA projects; Supabase's pricing page lists HIPAA as a paid add-on on the Team plan, as of October 2026. Test permissions before launch by signing in as one customer and trying to open another customer's record.
Can you build a Supabase backend or CRM for my business?
Yes. Our backend development service builds the database, the sign-in and permission rules, and a custom admin screen or CRM on top, in the same build. We build on Supabase's Free plan and move the project to Pro when it goes live, and the project can run on a Supabase account in your name.
Do you only build on Supabase?
No. Postgres helps with database portability, but moving a Supabase app also requires a plan for authentication, files, functions and configuration. We also build on MongoDB, other databases or an API your business already runs.
Does Vercel replace a backend?
Vercel can run backend code and offers storage and database integrations. In our example Supabase holds application records. You still need to design persistent storage, access permissions, backups and the data passing through functions and logs.

PandaCodeGen offers website and application development. Recommendations here reflect our delivery approach; the proposal for your project defines its scope. How we use evidence.