Payload vs Directus

Payload is a code-first headless CMS that runs inside your Next.js app under the MIT license. Directus puts an admin studio and APIs over an existing SQL database under the Monospace Sustainable Core License. Where your data and developers already sit usually decides it.

On this page

Payload vs Directus: when to choose each

The choice turns on who maintains the content model and where the data already lives. Choose Payload when developers own a Next.js codebase, the schema should live in code, and MIT licensing matters for your legal review. Payload runs inside your own Next.js app, so your organization hosts it itself. Choose Directus when content already sits in a supported SQL database and non-technical teammates need Studio to manage it. Directus connects to that database through its DB_CLIENT setting, generates REST and GraphQL APIs from the schema, and includes a native MCP server whose calls follow the same role-based permissions as human users.

Four factors decide most shortlists. Team skills come first: Payload asks developers to define collections and access logic in code, while Directus lets administrators model data in Studio, so ask who will change the schema after launch. Next is where the data lives, since Directus supports PostgreSQL, MySQL, MariaDB, Oracle Database, Microsoft SQL Server, SQLite and CockroachDB, while Payload's documented adapters are MongoDB, Postgres and SQLite. License review comes third. Directus uses the Monospace Sustainable Core License 1.0, which restricts only a Competing Use against Monospace's paid offerings, and Directus license terms convert each version to GPL-3.0 four years after release. Payload's repository ships an MIT LICENSE file, so have counsel test your product plans against each license wording. Identity requirements close the list: Payload's enterprise page lists SAML or OAuth 2.0 SSO, and you should confirm which SSO protocols and admin controls your Directus setup supports.

Run a short fit test before you decide. Ask two developers and one content editor to model the same content type in each platform, then check who can change the schema, how access rules are written, and whether the agent tooling you plan to use respects the same permissions. Record the versions you tested: Directus 12.5.0 was released on October 7, 2026, and the latest Payload GitHub release is v3.94.2, published 2026-11-24. Then request written answers from each vendor on license scope, SSO and hosting before you scope implementation work, because a DeployOpen quote follows from the written scope you agree on.

Which scenarios favor Payload and which favor Directus

This table matches common team situations to the platform that fits them better. Read each row as a condition: the stated fit holds only while that condition is true for your team, so check the conditions against your stack, licensing needs and editor workflow before you shortlist either platform. The main pattern is that Payload fits code-first Next.js teams, while Directus fits teams that must sit on an existing SQL database and give editors a management interface.

ScenarioBetter fitWhy
Next.js site whose developers own the content modelPayloadBuilt natively for Next.js with the schema in code. Holds while developers version the content model with the front end.
Existing PostgreSQL or MySQL estate that editors must work againstDirectusGenerates APIs from the existing SQL schema and includes Studio for editors. Holds while the database stays the source of truth.
Team already on MongoDBPayloadOfficial MongoDB adapter (Mongoose) among its three listed database options. Holds if your team can run the Mongoose-based data layer.
Product sold to customers that embeds a CMSPayloadRuns inside your own Next.js app, which you host. Holds if your product is itself a Next.js application.
Vendor whose product could compete with Directus CloudPayloadMIT is permissive. Holds if your product could count as a Competing Use under Directus's MSCL, so confirm with counsel.
AI-assisted editing where agents or assistants must change contentDirectusNative MCP server and AI Assistant use the same role-based permissions as human users. Holds if you verify those permissions match editorial policy.
Content team that needs SSO and publishing workflows in the CMSPayloadEnterprise page lists SAML or OAuth 2.0 SSO and publishing workflows. Holds only after confirming the same features in Directus.

How Payload and Directus are built and what that means for operations

Both platforms give editors an admin interface over structured content, but they differ on where the data model is defined and what your team has to run. The cards below cover the decisions that follow from that split. Where a detail needs checking, the card says what to confirm.

Schema location and changes

Payload defines its schema in code, and its admin panel is generated from that config, so a content model change is a code change that goes through your normal review and release path. Directus starts from an existing SQL database and exposes its tables, so the schema you start from is the one your database already holds. Ask who will own schema changes in your team, and whether your change control applies to database DDL or to Directus settings. Operationally, this decides whether your developers or your database team are the gatekeepers for content model changes.

Database engines and API generation

Directus connects to an existing SQL database through the DB_CLIENT setting and supports PostgreSQL, MySQL, MariaDB, Oracle Database, Microsoft SQL Server, SQLite and CockroachDB. It generates REST and GraphQL APIs from that schema, so your database standard largely sets what Directus can run on. Payload's documented adapters are MongoDB, Postgres and SQLite, so a team standardized on MySQL or SQL Server should confirm the options before choosing Payload. Confirm the engine versions your DBA supports and whether your API consumers need GraphQL or REST.

Hosting inside your stack

Payload is installed with create-payload-app and runs inside your own Next.js application, so the front end, the CMS and its hosting share one deployment path. Directus runs as its own service, either self-hosted with Docker or on Directus Cloud, the managed option. With Payload, your Next.js build and release process carries the CMS, which suits teams already running Next.js. With Directus, you add a container to patch, back up and monitor, or you accept a managed service and confirm its data residency and support terms.

SSO requirements to confirm

Payload's enterprise page lists SAML or OAuth 2.0 SSO, alongside publishing workflows and AI features, and it has no published prices, so SSO is a conversation with the vendor. Directus SSO must be confirmed in its docs before you assume it fits your identity provider. Ask both vendors which SSO protocols are in the edition you would buy, whether SSO and role mapping are included in the open-source build, and how admin accounts are protected. Your identity team should set the requirement first, then test it.

Payload enterprise page

AI surfaces and role permissions

Directus includes a native MCP server and an embedded AI Assistant, and both follow the same role-based permissions as human users. That means an AI client can only read or change what its connected role allows, so the role design becomes part of your AI security review. Before you connect an agent, test which collections it can read, which fields it can write and whether tokens are scoped tightly. Payload's enterprise page also lists AI features, so compare how each one scopes agent access before you decide.

Directus repository

How the parts of a self-hosted Payload or Directus stack connect

The diagram follows two stacks inside the same client-owned boundary. In the Payload path, editors and visitors reach the Next.js app that runs Payload, and the app writes through one of Payload's three official database adapters: MongoDB (Mongoose), Postgres (Drizzle) or SQLite (Drizzle). In the Directus path, Studio and API clients reach the Directus service, which connects to an existing SQL database through the DB_CLIENT setting. The SSO provider sits outside the boundary and signs users in to both. Confirm which SSO options each edition and deployment supports before you finalize the design. This is a deployment view and makes no performance claims.

Deployment view showing connections, with the SSO provider outside the boundary.

What the MIT and Monospace licenses allow, and what each edition adds

Payload's repository is published under the MIT license. The LICENSE file names Payload CMS, LLC as the copyright holder for 2018 through 2026, and MIT permits use, modification and redistribution as long as the copyright notice is kept. The open-source code runs inside your own Next.js application, so your team hosts it. The enterprise page lists features that the MIT file does not describe: SAML or OAuth 2.0 SSO, publishing workflows, static A/B variant testing and AI features.

  • MIT code: The LICENSE file is MIT, with copyright 2018-2026 Payload CMS, LLC. Keep that notice in any copy you distribute.
  • Enterprise features: SSO, publishing workflows, static A/B variant testing and AI features appear on the enterprise page. Confirm which ones sit in the MIT code and which need a separate agreement.
  • Quotes: No prices are published. The route to a quote is a demo call, so ask for the written scope and license terms together.
  • Operating scope: Your team carries the hosting, patching and upgrades for the application that runs Payload.

Before you shortlist Payload for SSO or workflow needs, get the enterprise license terms in writing.

Payload vs Directus feature comparison by capability

This table compares Payload and Directus on license, release, database support, API style, admin interface, tenancy, access control, SSO, AI features and hosting. Read each row as a question to put to both vendors, and treat cells marked for confirmation as open items for your evaluation. The main takeaway: Payload is code-first and runs inside a Next.js app, while Directus is database-first and offers a managed option, so the hosting and license rows often decide the shortlist first.

CapabilityPayloadDirectus
LicenseMIT License. Enterprise page lists no published prices; confirm terms with the vendor.Monospace Sustainable Core License 1.0. Any use except a Competing Use against Monospace's paid offerings; converts to GPL-3.0 four years after release.
Latest releasev3.94.2, published November 24, 2026 on GitHub.12.5.0, released October 7, 2026, after 12.4.0 on September 22, 2026.
Official database supportMongoDB through Mongoose, Postgres and SQLite through Drizzle. Three official adapters listed.PostgreSQL, MySQL, MariaDB, Oracle Database, Microsoft SQL Server, SQLite and CockroachDB, set through the DB_CLIENT setting.
API styleSchema defined in code inside the Next.js app. Confirm the REST, GraphQL and local API options in the Payload documentation.REST and GraphQL APIs generated from the database schema.
Admin interfaceAdmin panel generated from the code-defined config.Studio, a management interface for non-technical teammates, sits on top of the existing database.
Multi-tenancy and localizationListed as core features. Confirm the tenancy model and locale setup in the Payload documentation.Confirm multi-tenancy and localization support in the Directus documentation before you scope this.
Access control and SSOAccess control and authentication are core features. Enterprise page lists SAML or OAuth 2.0 SSO.Role-based permissions apply to users and AI tools alike. Confirm SSO providers in the Directus documentation.
AI featuresEnterprise page lists AI features. Confirm scope, data handling and which plan includes them.Native MCP server and embedded AI Assistant, both under the same role-based permissions as human users.
HostingInstalled with create-payload-app inside your own Next.js app, so your organization hosts it.Self-hosted with Docker, or run on Directus Cloud, the managed service.

What drives the cost of running Payload vs Directus

Running Payload or Directus costs come from five places: hosting, staff skills, upgrades, licensing and support. Hosting, upgrades and support recur for as long as the platform runs, while license review and initial setup are usually one-time. Each card names who is paid and what to request in writing before you sign.

Hosting and database footprint

Payload runs inside your own Next.js app, so you pay for Next.js hosting plus a database from its three official adapters: MongoDB, Postgres or SQLite. Directus runs as a container service connected to an existing SQL database through DB_CLIENT, with PostgreSQL, MySQL, MariaDB, Oracle, SQL Server, SQLite and CockroachDB supported. Your cloud provider bills both stacks for as long as they run, so ask the quote to size each tier and confirm which database engines your standards allow.

Payload database docs

Engineering skills and staffing

Payload asks your team to write TypeScript and Next.js, because the schema lives in code and the admin panel is generated from the config. Directus asks for SQL schema work and container operations, since it generates REST and GraphQL APIs from the database and provides Studio for non-technical teammates. Either way, the people who run the stack after launch are a recurring cost in salaries or contractor time, and you pay for them directly. Check whether your current engineers already know the stack, and ask any implementer to price knowledge transfer in the written scope.

Upgrade effort after launch

Payload upgrades arrive as dependency changes inside your application repository, so your team tests the Next.js app, Payload packages and custom collections together. Directus upgrades mean moving the service image to a newer release and running schema checks against your database before cutover. Both are recurring work for as long as the platform runs. Ask the quote for the release cadence you will follow, the test scope for each upgrade, and who signs off on production changes.

License fees and reviews

The Payload repository is MIT licensed, so the code itself carries no license fee. Directus uses the Monospace Sustainable Core License 1.0, which allows any use except a Competing Use against Monospace's paid offerings, and each version converts to GPL-3.0 four years after release. Have counsel test your product against that Competing Use wording before build, a one-time cost. If you choose Directus Cloud, its subscription is an added recurring cost, so get the price in writing.

Directus license terms

Support terms to confirm

Payload's enterprise page lists features, publishes no prices and points to a demo call for terms. Confirm Directus support terms directly with Directus, including response times, coverage hours and how pricing is set. If you want ongoing help after launch, DeployOpen offers support, upgrades and testing as retainers, scoped in writing. Either way, support is a recurring cost, so ask for the terms in writing before signing.

Payload enterprise page

How to move content and schema from Payload to Directus or back

This sequence moves content and schema between Payload and Directus in an order that keeps the source system usable until the target is verified. Content records, exported media and role concepts carry over, while code-defined collections, hooks, workflows and AI permissions are rebuilt on the other side. Each step closes with a check that the owning team can confirm.

  1. Re-check the target platform license

    Before any mapping or build work, the migration lead and the legal or procurement owner confirm the current license terms for the target platform. Payload's repository LICENSE file is MIT, while Directus is licensed under the Monospace Sustainable Core License 1.0, which restricts a Competing Use against Monospace's paid offerings and converts each version to GPL-3.0 four years after release. Ask whether your planned use, hosting model and any resale of the platform fall within those terms, and record the answer in the migration plan. The step is done when the license review is filed and the owner has signed off in writing.

  2. Inventory content types, fields and hooks

    The platform owner lists every collection, field, hook and workflow in the source, along with every access rule and integration that reads or writes content. For Payload, the inventory starts from the config files because the schema is defined in code. For Directus, it starts from the collections and fields visible in Studio and the database. Mark each item as transfers, rebuilt or retired, and note any dependence on localization, multi-tenancy or publishing states. The step is done when content owners have reviewed the list and every item carries one of those three marks.

  3. Export content records and media files

    The data owner exports content records from the source database and copies media files from the storage location the source uses. Keep IDs, relationships, locales and draft or published states intact in the export. Choose an export format that the target importer can read, and test it on a copy before the production run. Compare record counts and a sample of files between source and export, and record the old file paths so media references can be rewritten later. The step is done when a test import on a non-production target reproduces a sample of records and files with matching IDs and relationships.

  4. Map each collection to the target model

    The data modeler maps each source collection to a target collection, field by field, and records every type change, relationship and locale setting. Payload collections are defined in code, while Directus collections are defined in the database and managed through Studio, so field types and relationships are rebuilt on the target and sample values are checked against the mapping. Hooks, workflows and AI permissions are rebuilt by hand, and the owner confirms which target feature replaces each one. The step is done when every collection and field has a mapped target, every hook and workflow has a rebuild ticket, and a reviewer signs off on the mapping document.

  5. Rebuild roles, access rules and SSO

    The identity and security team recreates roles, access rules and user mappings on the target, then connects single sign-on. Role concepts transfer as a planning input, but the permission model itself is rebuilt on the target. Payload lists SAML or OAuth 2.0 SSO among its enterprise features, so confirm the exact setup with its documentation. Directus states that its native MCP server and embedded AI Assistant operate under the same role-based permissions as human users, so test agent access against the same role model. Map each existing account to its identity provider record and confirm that group claims resolve to the right roles. The step is done when test accounts for each role see only the records and actions that role allows, and a login through the identity provider succeeds for each group.

  6. Update API consumers and frontend queries

    The application team updates every client that reads or writes content, including frontend queries, mobile apps, scheduled jobs and any agent or MCP integration. Response shapes, filter syntax, pagination and authentication are likely to differ between the two platforms, so each query is rewritten and tested. Directus generates REST and GraphQL APIs from the database schema, so confirm the target endpoints against its live output before writing queries. Confirm the consumer list with each team, since a consumer left off the list will not be tested. The step is done when every consumer passes contract tests against the target in a non-production environment.

  7. Run both systems in parallel

    The operations team keeps the source running while the target receives the same content writes through a sync or dual-entry period set out in the plan. Confirm the sync method in writing, because the scope of parallel running depends on whether editors write to one system or to both. Run the same requests against each system on a set schedule and track mismatches by collection, role and locale. Fix mapping errors and rerun the comparison until the open items are resolved. The step is done when a comparison run shows no open mismatches in content, permissions or API responses, and each area owner signs off.

  8. Cut over and retire the old system

    The platform owner freezes writes on the source, runs a final export and import of changes made since the last sync, and switches DNS or application configuration to the target. The team then confirms the frontend and integrations work on live traffic. Keep the source database and media store intact as a rollback path until the owners agree the target is stable. After that, archive a final backup of the source, decommission its services, and revoke its credentials and certificates. The step is done when the archive passes a restore test and the audit record lists every retired component and who approved it.

Where Payload and Directus implementations usually run long

A Payload implementation is an application project. Payload is installed with create-payload-app and runs inside your own Next.js application, so your team owns the codebase, the build, the hosting and every upgrade. The schema is defined in code, which means data model decisions are made by developers and reviewed like any other code change. Before work starts, confirm the database adapter you will run. Payload's documentation lists MongoDB (Mongoose), Postgres (Drizzle) and SQLite (Drizzle), and changing adapters later means reworking the data layer of a running application. Plan for Next.js engineers who will maintain the admin panel, access functions and custom components after handover, not only for the initial install.

A Directus implementation is a service connected to a database you already have. Directus connects to an existing SQL database through the DB_CLIENT setting and supports PostgreSQL, MySQL, MariaDB, Oracle Database, Microsoft SQL Server, SQLite and CockroachDB. It generates REST and GraphQL APIs from the schema and provides Studio for non-technical teammates. The first job is deciding who owns the schema. Changes made directly in the database, outside Directus, need a documented process so that permissions, API behavior and the editors' view stay aligned. Access control is the other early decision. Roles and permissions apply to Studio, the APIs, the native MCP server and the embedded AI Assistant alike, so any agent is limited by the role it runs under. Also confirm that the Monospace Sustainable Core License permits your intended use before you commit.

Both platforms run long in the same places. Data model decisions take longer than planned because they shape every API, template and report that follows, so settle entity relationships, localization and multi-tenancy requirements before build starts. Access control design needs a written matrix showing who can read, edit, publish and administer each content type. SSO and role mapping bring in your identity team: the Payload enterprise page lists SAML or OAuth 2.0 SSO, and you should confirm the matching SSO and role-mapping settings for your Directus version with the vendor. Editorial workflows, especially review and publishing steps, often surprise teams late, and legacy content migration tends to expose inconsistent fields. Any AI feature needs its own security review before launch. Under a fixed-scope written agreement, deliverables and timelines are set in writing before work starts, so list each of these items in the scope and ask which ones your chosen edition covers.

Payload vs Directus questions on cost, effort and team skills

How much does a self-hosted Payload or Directus implementation cost?

No public price applies to either implementation, so the figure comes from a written scope. Payload's core is MIT licensed. Directus's core is under the Monospace Sustainable Core License, which permits any use except a Competing Use against Monospace's paid offerings, so license terms may matter more for some products than for internal sites. The larger costs are people and infrastructure: data model design, admin workflow setup, identity and integration work, hardening, backups, upgrades and evidence for review. Your staff, an implementation partner or both may be paid for that work, and most of it is one-time. Hosting, upgrades and any support retainer recur. For Payload, the enterprise page offers a demo call and lists no prices. For Directus, check current Directus Cloud pricing on the Directus site if a managed option is in scope. Ask any provider for a quote that separates one-time work from recurring items and states its assumptions.

How long does a Payload or Directus implementation take?

The timeline follows the written scope, and the platform name alone does not set it. The drivers are the number of content types and relationships, the volume of existing content to move, the number of systems to connect, the approval and publishing workflows, identity setup, and the evidence your compliance team needs before go-live. Payload is defined in code inside a Next.js application, so front-end work and schema work usually run in the same project. Directus builds its APIs from the database schema, so early work centers on tables, roles and Studio configuration. Confirm which integrations must work at launch, who signs off on access rules, and whether any compliance review must finish before content goes live. Those answers will move the schedule more than the choice of platform.

Can our team run Payload or Directus without outside help?

Your team can run either platform internally if it has the skills listed below and enough people to cover them. Payload needs TypeScript, Next.js and React experience, because the schema, access rules and admin panel come from the application's configuration and the app is built and deployed like any Next.js project. Directus needs SQL and database administration skills, API and permission configuration, and someone who can administer Studio for non-technical teammates. Either platform needs an owner for upgrades, backups, restore tests and access reviews. Check this with a skills inventory: how many engineers can ship a schema change safely, who is on call, and who reviews changes before production. A gap in any of these areas is the usual reason to bring in outside help for a fixed scope.

Can we use Directus in a product we sell to customers?

Whether you can depends on whether your product counts as a Competing Use, and only your counsel can confirm that. The Monospace Sustainable Core License permits any use except a Competing Use against Monospace's paid offerings, and each Directus version converts to GPL-3.0 four years after release. Review the license terms and the license file in the repository, then ask counsel to test your product description against the definition of Competing Use. An internal tool or a customer-facing site built on Directus is a different case from a product that offers headless backend capabilities to others. Payload's core is MIT licensed, which carries no comparable use restriction in its license file, though counsel should still review every dependency in your stack.

Does Payload or Directus support SAML or OAuth SSO?

Payload's enterprise page lists SAML or OAuth 2.0 SSO, so confirm whether that capability sits in the open-source core or in an enterprise option before you commit. Directus support for SSO is not confirmed in the material used for this page, so ask Directus directly and test the setup in staging with your identity provider. In either case, check the protocol your identity provider uses, how groups map to platform roles, whether multi-factor authentication is enforced at the identity provider, how sessions expire, how break-glass admin accounts are protected, and whether login and permission changes reach your audit log. Ask the vendor for written confirmation of each item, since identity behavior is a common point of review in a security assessment.

Which database should we choose for Payload or Directus?

Choose the database your operations team can back up, restore, patch and monitor, since both platforms depend on it. Payload lists three official adapters: MongoDB through Mongoose, Postgres through Drizzle and SQLite through Drizzle, so the database choice is also a Payload adapter choice. Directus connects to an existing SQL database and supports PostgreSQL, MySQL, MariaDB, Oracle Database, Microsoft SQL Server, SQLite and CockroachDB through its DB_CLIENT setting, and MongoDB is not among those options. Weigh your existing database standards, the licensing of the database engine, the skills your team already has, and whether your compliance team has a documented backup and restore process for it. Confirm version support in each platform's release notes before you fix a version in production.

How hard is it to switch from Payload or Directus later?

Switching effort depends on how much of your content model, access logic and custom code sits inside the platform. In Payload, collections, fields and access rules live in code in your repository, so they move with the application, while content lives in the database you chose and the admin panel is generated from configuration. In Directus, the schema comes from the database tables, which makes the data model easier to carry over, but Studio settings, roles, permissions and any custom extensions are platform-specific. Ask for the export and migration scope in writing, including content volume, integrations, custom code and which parts of the access model must be rebuilt. The more custom logic the platform holds, the more the switch costs in rework and testing.

How DeployOpen helps choose and implement either platform

DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades and documents self-hosted platforms inside your own cloud accounts, data centers or air-gapped networks. For Payload vs Directus, that work starts with a written scope that fits the decision you are making, whether that is Payload inside your Next.js application or Directus over an existing SQL database.

How we scope

  • Fixed-scope agreement, in writing before work starts, covering platform, database, hosting target and deliverables.
  • For Payload, scope the Next.js app, the database adapter choice (MongoDB, Postgres or SQLite) and the access model.
  • For Directus, scope the existing SQL database, the DB_CLIENT target, Studio users and which API surfaces are exposed.

How we build

  • Wire SAML or OAuth 2.0 SSO to your identity provider, after confirming the enterprise feature set your edition includes.
  • Connect Directus to your existing SQL database through DB_CLIENT, and test role-based permissions for Studio and API access.
  • Verify that the native MCP server and AI Assistant follow the same role-based permissions as human users before enabling them.

How we hand over

  • Documentation of the configuration, adapter or DB_CLIENT choice, and access model, so your team can review it.
  • Backup procedures for the chosen database, documented alongside restore steps your operators can run.
  • Upgrade runbook covering the Payload or Directus release you deploy, so future version changes follow a known path.

How we support

  • Retainers cover ongoing support, upgrades and continuous testing after the initial fixed-scope work ends.
  • Security testing of your Payload or Directus setup, including access rules, SSO settings where enabled and exposed API surfaces.
  • Compliance readiness evidence, such as access control and logging records, for your own auditors to review.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.