# Payload

> Why we build on Payload: an open-source, code-first CMS that installs into a Next.js app, so content and product are one codebase you own and host. Where it fits, and where it does not.

URL: https://www.smartastudio.com/stack/cms/payload

_The CMS and the app in one Next.js codebase you own._

Payload is our pick when the CMS should live inside the build rather than be called from outside it. It installs straight into a Next.js app, so the content layer and the product become one TypeScript codebase we own and host ourselves.

## What it is

Payload is an open-source, code-first headless CMS and application framework built on Next.js and TypeScript. You define the content model in code and it generates a typed React admin panel, a database layer with migrations, and REST, GraphQL and direct Node APIs — with authentication, granular access control, file handling and live preview built in. It runs on MongoDB, Postgres or SQLite, and because it is MIT-licensed you self-host it anywhere a Node app runs.

## Why we build on it

We reach for Payload when a project is really an application with content inside it — a portal, a booking system, a dashboard — rather than a marketing site with a CMS bolted on. It installs into the same Next.js app we are already building, so there is no second service to deploy, no API round-trip between front and back, and no per-seat SaaS bill. Access control at the document, field and operation level makes it safe for logged-in, role-based products, and the admin is React, so we extend it with the skills we already use.

## Editor & developer experience

For editors, Payload gives you a tidy React admin generated from the content model and then tailored — fields, validation and custom components shaped to the job, inside the same app as the live site. Drafts, versions and a full permissions system mean the right people edit the right things, which matters most on logged-in products where content and users sit together. It is an admin to run a product from, rather than a visual canvas for composing marketing pages — that visual page-building sits on Payload’s enterprise tier.

For developers it is a genuinely different model: the CMS is not a separate service you call, it is part of your Next.js app. You write the schema as a TypeScript config and get a typed admin, a database with migrations, and REST, GraphQL and local (straight-to-database) APIs for free. Access control runs at the document, field and operation level, auth and file handling are built in, and because it is open source and MIT-licensed we deploy it wherever the rest of the app lives — Vercel, Cloudflare or any Node host — with no per-seat bill and nothing locked behind a vendor.

## Where it earns the shortlist

Payload earns the shortlist when the brief is an application, not a brochure: a member or investor portal, a booking system, a dashboard — anything where content lives behind a login alongside users and permissions. Being Next.js-native means the content layer and the product are one codebase we own and host, which keeps complex builds fast and predictable and removes a second platform to pay for and maintain.

## Best for

- Custom platforms and portals where content sits inside a logged-in app
- Next.js builds that want one codebase for the front end and the content
- Projects that need to own and self-host the data, with no SaaS lock-in

## Choose it when

- **The project is really an app** — Portals, dashboards and booking systems where content sits behind a login.
- **You want one Next.js codebase** — The CMS installs into the app — no separate service, no API round-trip.
- **You need to own the data** — Open source and self-hosted on your own infrastructure, with no SaaS lock-in.
- **Roles and permissions matter** — Access control at the document, field and operation level is built in.

## Look elsewhere when

- **Marketing wants to build pages** — Visual, no-developer page composition is better served by Storyblok, or Payload’s enterprise tier.
- **You would rather not host it** — A fully hosted CMS like Sanity removes the server entirely for a simple site.
- **It is a small brochure site** — A few static pages do not need an application framework behind them.

## Watch-outs

Payload is a developer’s tool — it rewards a team that will run and host it, not a marketer who wants to compose pages with no developer involved, and its visual-editing features sit on the enterprise tier. For a straightforward brochure site where a fully hosted CMS removes the server entirely, Sanity or Storyblok is often the lighter choice. And because you host it, uptime and updates are yours to own rather than a vendor’s.

## Pricing, in plain terms

Payload is open source and MIT-licensed, so the software itself is free and you self-host it anywhere a Node app runs — there is no per-seat or usage bill. In practice the cost is the hosting (often the same Vercel or Cloudflare project as the site) plus the build, which keeps it predictable and keeps your data in your own hands. An enterprise tier adds SSO, visual editing and publishing workflows for larger organisations. Payload joined Figma in 2025 and its hosted Payload Cloud is paused for new projects, so we deploy it ourselves.

- **Software:** Free — open source (MIT)
- **Hosting:** Self-hosted (you own it)
- **Enterprise:** SSO, visual editing — talk to sales

[Compare Payload vs Sanity](https://www.smartastudio.com/compare/headless-cms/payload-vs-sanity)

## At a glance

- **Type:** Code-first headless CMS + app framework
- **Built on:** Next.js + TypeScript
- **Database:** MongoDB, Postgres or SQLite
- **Licence:** Open source (MIT), self-hosted

## The SmartaStudio take

Payload is the CMS we reach for when a project is an application with content in it, not a website with content bolted on. Because it lives inside the Next.js app, we ship one codebase we own end to end — no second service, no SaaS seat count, no vendor holding the data. That ownership is the whole point, and the honest flip side of it: you host and maintain it, so it is a developer’s platform, not a no-code one. For logged-in portals and bespoke platforms it is superb; for a marketer who wants to drag pages around without us we would still point to Storyblok, and for fully hosted structured content, to Sanity. Payload joining Figma in 2025 only strengthens the case that it is here for the long run.

## Related service

[Custom platforms](https://www.smartastudio.com/services/custom-web-platforms)
