I have delivered a site with WordPress, a site with no CMS at all and a blog that fetches each article from an API. All three are right for their own case. What I learned along the way is that the question "what is the best CMS" almost never has an answer. The useful question is: who edits, how often the content changes and how many screens it needs to reach.
This article explains what a headless CMS is, how it differs from a traditional CMS, compares the six most used on the market with up-to-date pricing and licensing, shows what AI and agents changed, and ends with a roadmap for choosing.

What a Headless CMS Is
CMS stands for content management system: the dashboard where someone writes a text, uploads a photo and publishes without needing a developer.
In a traditional CMS, like classic WordPress, the same system stores the content and builds the page the visitor sees, using a theme. Content and presentation are glued together. It is like a restaurant where the kitchen and the dining room are a single building.
In a headless CMS, the "head" (the presentation layer) is cut off. The CMS only stores the content in a structured way and delivers it through an API, in REST, GraphQL or a language of its own. Another system builds the page: a site in Next.js or Astro, a mobile app, an in-store screen, an email. It is the central kitchen that cooks the food once and delivers it to several counters.
In a traditional CMS, the first four steps happen inside the same system. In a headless one, each can be swapped without touching the others.
The idea has an old name. The American public radio network NPR called it COPE, short for "create once, publish everywhere", and content strategist Karen McGrane spread the concept in her 2012 book Content Strategy for Mobile. The principle is still the same: if content is stored as data, and not as a finished page, it works for any format that comes along later.
What Changes in Practice
- Content model. Instead of "a page with a big block of text", you define types: a Product has a name, price, photos and specs; a Testimonial has an author, job title and text. It takes work up front and saves a lot later.
- Performance. The site can be generated statically and served from a CDNNetwork of servers spread around the world that keeps copies of files and pages close to users, serving them faster and offloading the origin server., which helps with Google's metrics. I explained those metrics in Core Web Vitals and the Lighthouse score. When to generate statically, regenerate with ISRVariant of static generation where prebuilt pages are rebuilt in the background after a time limit or a trigger, without a new build. or render on every request is covered in choosing between SSR, SSG, ISR and CSR.
- Security. The editing dashboard is separate from the public site. There is no
/wp-adminexposed to the world. - Cost. It is two systems instead of one: the CMS and the front-end. Someone has to build and maintain the front-end.
The 6 Most Used CMSs on the Market
Contentful
The strongest name in the enterprise market. It is a hosted service (SaaS): you install nothing, create the content types in the dashboard and consume them through REST or GraphQL. It serves more than 4,800 brands, according to Salesforce, which announced its purchase of Contentful in June 2026 and closed the acquisition in September (Salesforce). The promise is to integrate it into the Salesforce marketing ecosystem without losing headless flexibility.
Works well for companies with several brands, many languages and a large marketing team. Watch out for the price jump between the free and the paid plan, and for depending on a vendor that just changed owners. Check the numbers on the official pricing page, which changes often.
Sanity
It has a hybrid model. The editor, called Sanity Studio, is open source and runs as a React application you can customize freely. The storage, the Content Lake, is a Sanity cloud service. Queries use GROQ, its own very expressive language, with GraphQL as a secondary option.
The free plan is generous: up to 20 people editing, 10,000 documents and 250,000 API requests per month. The paid plan starts at US$ 15 per person per month (Sanity). It is the headless CMS with the most weekly downloads on npm: the @sanity/client package passed 4.8 million in the first week of November 2026 (npm).
Works well for e-commerce and marketing with a Next.js front-end, highly structured content and real-time editing by several people. Watch out for the fact that storage only exists in their cloud: GROQ and the Content Lake lock you into the vendor.
Strapi
The best-known open source headless CMS, with more than 73,000 stars on GitHub. It runs on Node.js and TypeScript on your own server, with PostgreSQL, MySQL, MariaDB or SQLite (Strapi). You design the content types in a dashboard and it generates the REST and GraphQL API on the spot.
The community edition is free with no usage limits, under the MIT license. The features many companies end up wanting, such as live preview, version history and scheduling, are in the Growth plan, at US$ 45 per month. Corporate login (SSO) is an add-on at US$ 150 per month. If you do not want to manage a server, there is Strapi Cloud, starting at US$ 35 (Strapi).
Works well for anyone who wants to self-host on a small budget and have an API ready for a site and an app. Watch out for operations: backups, updates and server security become your job. The migration from version 4 to 5 was painful for a lot of people.
WordPress as Headless
WordPress runs 39.2% of all websites in the world and almost 58% of the sites whose CMS can be identified, according to W3Techs in November 2026 (W3Techs). Since 2016 it has had a native REST API, and the WPGraphQL plugin adds GraphQL. That lets you keep the dashboard the client already knows and build the site in Next.js or Astro.
Works well for anyone who already has WordPress, a lot of existing content and a team used to the dashboard. Watch out for plugins, which are the biggest attack vector in WordPress, and for the content model, which was born as "post and page" and needs plugins like ACF to become structured dataJSON block inside the page that describes the content with schema.org vocabulary (article, author, product), so search engines and AI read it without guessing.. That is two systems to maintain.
Directus
Directus works differently: it sits on top of an existing SQL database and, from the tables, generates an editing dashboard and a REST and GraphQL API. It is great for turning a database into an admin panel without writing screens.
The license changed twice. It was GPL up to version 9, moved to BSL in version 10, in 2023, and in version 12, in 2026, adopted a license of its own that only becomes GPL after four years (Directus). It is still free for anyone with less than US$ 5 million in annual revenue and fewer than 50 employees (Directus). The paid cloud plan starts at US$ 89 per month.
Works well for internal panels on top of an existing database and highly relational data. Watch out for the license, which is not open source in the official sense and has already changed twice.
Payload
The newcomer that drew the most attention. It is open source (MIT), written in TypeScript and runs inside Next.js itself: the CMS and the site live in the same project (Payload). It works with PostgreSQL, MongoDB or SQLite and offers, besides REST and GraphQL, a local API that your code calls directly, without going over the network.
In June 2025 Figma bought Payload and promised it would stay open (Figma). Since then, creating new projects on Payload's cloud has been paused, and in October 2026 it became the back-end for sites built in Figma Make. The payload package had about 1.5 million weekly downloads on npm in November 2026.
Works well for Next.js developers who want the CMS, back-end and login in the same repository. Watch out for the coupling to Next.js and the future of the official hosting, which now depends on Figma's strategy.
What About the Others?
Storyblok is the only one with real weight outside this list, strong among European companies thanks to its visual editor, with paid plans starting at US$ 99 per month (Storyblok). Hygraph and Prismic have solid niches (GraphQL and marketing sites). For a blog or a simple static site, Ghost, Decap and Keystatic get the job done with fewer moving parts. The list maintained by the Jamstack community helps compare dozens of them: it is in the catalog as Jamstack Headless CMS.
Comparison: Which Headless CMS to Choose
| Contentful | Sanity | Strapi | WordPress | Directus | Payload | |
|---|---|---|---|---|---|---|
| Model | Hosted service | Open editor, data in their cloud | Open, on your server or in their cloud | Open, on your server | Own license, on your server or in the cloud | Open, inside Next.js |
| Owner | Salesforce | Sanity | Strapi | Community and Automattic | Monospace | Figma |
| API | REST and GraphQL | GROQ and GraphQL | REST and GraphQL | REST and GraphQL (plugin) | REST and GraphQL | REST, GraphQL and local |
| Free | Yes, with limits | 20 people, 10,000 documents | Yes, unlimited on your server | Yes, you only pay for hosting | Up to US$ 5M in revenue | Yes, you only pay for hosting |
| First paid plan | Check pricing page | US$ 15 per person/month | US$ 45/month or cloud US$ 35 | Not applicable | US$ 89/month | Not applicable |
| Best for | Multiple brands and languages | Marketing and e-commerce with Next.js | A cheap, ready-made API | Teams already on WordPress | Panel over an existing database | Next.js devs, app and CMS together |
| Biggest risk | Price and change of owner | Data locked in their cloud | Running the server | Plugins and two systems | Unstable license | Coupled to Next.js |
Prices checked on the official pages in November 2026.
AI and Agents: The CMS Became an Agent Tool
The big news of the last 18 months is that all six CMSs got an official MCP server. MCPOpen protocol that standardizes how AI apps connect to external tools and data: a server exposes actions and the agent discovers and calls them. is the protocol that connects AI agents, like Claude or ChatGPT, to external systems. With it, you ask the agent to "translate the last five articles into Spanish and leave them as drafts" and it does that directly in the CMS.
| CMS | Official MCP | How the agent authenticates |
|---|---|---|
| Contentful | Remote server and an open source local version | OAuth or personal token |
| Sanity | Remote server | OAuth or token |
| Strapi | Built into Strapi itself (version 5.47 onward) | Admin token |
| WordPress | MCP Adapter, on top of the WordPress 6.9 Abilities API | Through the WordPress API |
| Directus | Built in (version 11.12 onward) | OAuth or token |
| Payload | Official plugin | API key |
Sources: official documentation for Contentful, Sanity, Strapi, WordPress, Directus and Payload.
Since they all have one, what sets them apart now is how much power the agent gets. An admin token gives the agent the same access as whoever set up the CMS: it can delete everything. Per-user OAuthStandard that lets an app access your data in another service, like Google, without getting your password: you approve and the app receives a limited token. gives it only what that person is allowed to do. Sanity, for example, has its content agent propose changes that a person approves (Sanity), and the Contentful MCP lets you block writes to protected environments.
I explained the types of login and how OAuth limits what an app can do in types of authentication. And I showed an agent updating a system through chat in build your own CRM with AI. If you are torn between creating an agent or a skill for this, there is the article skills or agents. The protocol specification is in MCP Docs.
Market and Jobs: What Is Worth Learning
There is no reliable public data source that counts job openings per CMS, so be suspicious of anyone claiming "the most in-demand CMS in Brazil". What can be measured:
- WordPress is still dominant on the web and shows up for 13.6% of developers in the 2025 Stack Overflow survey. No headless CMS made the list (Stack Overflow).
- On npm, in the first week of November 2026:
@sanity/clientwith 4.8 million downloads,contentfulwith 1.6 million,payloadwith 1.5 million and@strapi/strapiwith 257,000. A client package gets installed in every front-end that consumes the CMS, so the number favors Sanity and Contentful. - On GitHub, Strapi leads in stars (73,000), followed by Payload (46,000) and Directus (39,000).
My take: if you already work with React and Next.js, you gain more by learning the concept (content modeling, preview, webhookHTTP call a system makes to your address when something happens, like an approved payment, notifying you right away instead of you polling for changes. revalidation) than a specific CMS. Switching from Sanity to Strapi takes days for someone who understands the model. And knowing how to connect an agent to the CMS safely is already showing up as a differentiator.
When Not to Use a Headless CMS
Headless solves problems of scale, of multiple channels and of large teams. When those problems do not exist, it only adds moving parts.
- RN Indústria has a product catalog that changes often and a team that needs to create new pages on its own. The site was built in WordPress with Elementor: a new page starts as a copy of an existing one. Headless there would be more expensive and would take autonomy away from the client.
- The MSimon site is handwritten in PHP, with no CMS at all, on purpose. The content rarely changes and I am the one who updates it. With no dashboard and no plugins, most of the maintenance and the security holes disappear.
- This blog, which has four languages, content edited by one person and pages that need to load fast, is headless.
- Who edits? A marketing team with no developer calls for a visual editor (Storyblok, Sanity, WordPress). A developer editing calls for something in the repository (Payload, Keystatic).
- How many screens does the content go to? Just one site: headless is optional. Site, app and other channels: headless makes sense.
- Where can the data live? A requirement for your own server rules out Contentful and Sanity.
- Who maintains the server? If nobody, a hosted service. With a team, Strapi, Payload or Directus.
- What does it cost in two years? Run the numbers with the people editing, languages and requests you will have two years from now.
If your case is a site the team needs to edit on its own, I go through the options in CMS website. For content in several languages, see multilingual website. And if your current site is stuck in a site builder or a heavy WordPress, the way out is a website migration.
Frequently Asked Questions
What is a headless CMS?
It is a content management system that stores text and images and delivers everything through an API, without generating the page. A separate system builds the site, the app or any other screen.
What is the difference between a headless CMS and a traditional CMS?
In a traditional one, the same system stores the content and builds the page with a theme. In a headless one, the CMS only stores and delivers the content, and the front-end is built separately.
What is the best free headless CMS?
Strapi and Payload are free and open source, you only pay for hosting. Sanity has the most generous free plan among the hosted services. Directus is free for companies with less than US$ 5 million in revenue.
Can you use WordPress as a headless CMS?
Yes, through the native REST API or the WPGraphQL plugin. It makes sense when there is already a WordPress site with a lot of content and a team used to the dashboard.
Strapi or Payload for a Next.js project?
Payload, if you want the CMS and the site in the same Next.js project. Strapi, if you prefer the CMS as a separate service that serves a site and an app at the same time.
Contentful or Sanity?
Contentful for a large company with several brands and rigid processes. Sanity for anyone who wants to customize the editor and model content more freely, paying per person.
Is a headless CMS good for SEO?
It can be great, because it allows fast sites and full control of the HTML. But SEO depends on the front-end: title, description, structured data and sitemap become the responsibility of whoever builds the site.
Does a headless CMS work with AI agents?
Yes. The six main ones have an official MCP server. The care to take is giving the agent editor access, with drafts and human approval, not admin access.
References
- Official documentation: Contentful, Sanity, Strapi, WordPress REST API Handbook, Directus and Payload.
- Pricing pages: Sanity, Strapi, Strapi Cloud, Directus and Storyblok (checked in November 2026).
- Salesforce. Agreement to acquire Contentful (2026).
- Figma. Payload joins Figma (2025).
- Directus. License change in version 12 (2026).
- WordPress. Abilities API (2025) and MCP Adapter.
- W3Techs. Usage of content management systems (November 2026).
- Stack Overflow. Developer Survey 2025.
- McGrane, K. Content Strategy for Mobile. A Book Apart, 2012.
- Atherton, M. and Hane, C. Designing Connected Content. New Riders, 2018.
- Barker, D. Web Content Management. O'Reilly, 2016.