Skip to main content
PandaCodeGen.

Architecture / Sanity vs Supabase

Sanity vs Supabase: CMS, Backend or Both?

Sanity is a content editor for your website. Supabase is a backend: a Postgres database with sign-in, file storage and server functions. They don't compete, and many projects use both. Which one your project needs, with current prices.

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. If your staff edit pages, articles and photos that the public sees, you need a CMS like Sanity. If customers or staff sign in and create records, such as bookings, orders, students or payments, you need a backend like Supabase. If you have both kinds of data, you need both, and each one should own its own records so nobody keeps two copies of the same thing.

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 it's Postgres underneath, so your data isn't tied to one vendor. 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.

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.

Where do Vercel and GitHub fit?

Vercel hosts the website and runs its server code, but it doesn't store your business data; that's the database's job. Vercel's own runtime guidance recommends its Node.js runtime over the Edge runtime for performance and reliability. GitHub holds the code and the history of every change. At handover, you should know who owns each account (code, hosting, CMS and database) and have written steps for releasing a change.

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?
No. Sanity is a CMS your team uses to edit website content. Supabase is a backend: a Postgres database with sign-in, file storage and server functions for apps and portals. Many projects use both, Sanity for the public website and Supabase for the private data.
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. It's our usual choice because it's quick to set up and it's Postgres underneath, so your data isn't tied to one vendor. We also build on MongoDB or another database, or around an API your business already runs.
Does Vercel replace a backend?
No. Vercel hosts your website and runs its server code. Your data still needs a database, and someone still has to decide who can sign in and what each person can see.

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