Directus as a Supabase alternative: when each platform fits
Supabase Cloud fits client-facing apps that need authentication, file storage and realtime updates on a hosted Postgres database, while self-hosted Directus fits teams that need governed APIs and an admin studio over a SQL database they control. Take an illustrative team on Supabase Cloud that faces a renewal, a plan change or a data location requirement and is weighing Directus as a replacement. Start with the end users. If people sign in to your app and expect live updates in the browser or on a phone, Supabase bundles those services on one platform. Directus manages users and roles mainly for people who work in the data, so confirm how it handles end-user sign-up, password policies and realtime in the version you plan to run before you assume parity.
Next, check who edits the data. Directus connects to an existing SQL database through the DB_CLIENT setting, supports PostgreSQL, MySQL, MariaDB, Oracle Database, Microsoft SQL Server, SQLite and CockroachDB, and generates REST and GraphQL APIs from the schema. Its Studio gives non-technical teammates an interface for editing records, and the native MCP server and embedded AI Assistant follow the same role-based permissions as human users. If operations staff, support leads or analysts need to change records under governed rules, that is a strong fit. If only engineers touch the schema and the database, the extra admin layer may add a service you do not need. Test the role model with a staff account that holds only the permissions it should have.
Then compare the license and the operator. Directus is licensed under the Monospace Sustainable Core License 1.0, which permits any use except a Competing Use against Monospace's paid offerings and converts each version to GPL-3.0 four years after release. Directus license terms changed in April 2023 and again in 2026, so have counsel read the current text against your planned use. Self-hosted Supabase is Apache-2.0 and community-supported, and it runs as a single project per Studio, so plan separately for each project. Finally, name who will patch, back up and staff the platform. The four drivers are whether end-user auth and realtime are required, whether non-engineers edit data, how the license applies to your product, and who will operate the platform.
Which platform fits which scenario
This table matches six common situations to the platform that fits them better, Supabase Cloud or self-hosted Directus. Read each row for the reason, then the condition that would reverse the choice. The main takeaway is that Directus suits admin and data-editing work over existing SQL databases, while Supabase suits client apps that need auth, realtime and managed operations.
| Scenario | Better fit | Why | When the answer changes |
|---|---|---|---|
| Client app with end-user auth and realtime | Supabase Cloud | Supabase bundles user auth, client-facing Postgres access and realtime updates in one product. | Self-hosted Supabase if the data must stay in your infrastructure, with you running backups and upgrades. |
| Internal admin tool over an existing Postgres database | Directus | Directus connects to an existing SQL database and generates REST and GraphQL APIs from its schema. | Supabase if end users need direct access to the same tables. |
| Non-engineers editing records | Directus | Directus Studio is a management interface for non-technical teammates, with role-based permissions. | Supabase if editing happens inside a customer-facing app you build and host. |
| Single-region data residency requirement | Self-hosted Directus or Supabase in your region | Supabase Cloud projects sit in one main region chosen from 17 AWS regions, so the list must include yours. | Supabase Cloud if one of its regions meets your residency rules and your auditor accepts the provider. |
| Team with no platform engineers | Supabase Cloud | Supabase runs the platform, and Pro and Team keep daily backups for 7 and 14 days. | Self-hosting if residency or licensing forces it, plus a support retainer, or Directus Cloud if the admin case wins. |
| Product competing with Directus's paid offerings | Supabase Cloud or self-hosted Supabase, licensed under Apache-2.0 | Directus's Monospace Sustainable Core License restricts Competing Use against Monospace's paid offerings. | Directus if you do not compete with its paid offerings, after counsel confirms the terms. |
What Directus covers and what you confirm before choosing it
Directus is a data and admin layer that connects to a SQL database you already run, generates REST and GraphQL APIs from that database schema, and provides Studio, a management interface for non-technical teammates. The engine is selected with the DB_CLIENT setting, and the Directus database configuration documentation lists PostgreSQL, MySQL, MariaDB, Oracle Database, Microsoft SQL Server, SQLite and CockroachDB, so the database decision comes before installation and shapes every later step. Teams leaving Supabase Cloud should expect a different shape. Directus gives staff and internal tools a managed view of the data, but the client-facing features that Supabase bundles into one product must be mapped one at a time before the move is scoped.
Before choosing Directus, confirm four areas in the Directus documentation against the requirements of your client apps. Start with end-user authentication: check how sign-up, sign-in, sessions and password policy work for application users, not only for staff accounts. Next, confirm file storage: where uploads are kept, how the storage location is configured, and whether that location meets your residency terms. Then check realtime subscriptions: find out whether Directus pushes change events to client apps and, if it does not, which channel you would run instead. Finally, confirm server-side logic: how custom endpoints, hooks and scheduled tasks are written, deployed and upgraded, and which of your existing Supabase functions each one would replace. Record each answer in writing, with the documentation version you read, before you commit to a migration plan.
Directus includes a native MCP server and an embedded AI Assistant, and both operate under the same role-based permissions as human users, according to the directus/directus README. This means AI access needs the same permission review as any other access path. Identify the roles that each MCP client or the AI Assistant runs under, the collections and fields those roles can read or write, which file and admin actions they can trigger, and how their credentials are issued, scoped and revoked. An AI client connected under a broad role can reach as much data as that role allows, so complete this review before any agent is pointed at production data, then plan a retest after the roles are tightened.
Supabase alternative capabilities, side by side
This table compares what a Supabase Cloud project includes with what self-hosted Directus offers on top of an SQL database you run. Where the vendor documentation must settle a cell, the cell says so, and you should confirm it before you compare the platforms. The main takeaway is that Directus adds an API and admin layer to a database you already control, while Supabase Cloud bundles the database, authentication, storage and backups into one hosted project.
| Capability | Supabase Cloud | Self-hosted Directus |
|---|---|---|
| Database engine | One Postgres database per project | Connects to existing SQL databases through DB_CLIENT: PostgreSQL, MySQL, MariaDB, Oracle Database, Microsoft SQL Server, SQLite or CockroachDB |
| APIs and admin interface | Studio dashboard for each project; confirm the generated API interfaces in the Supabase docs | REST and GraphQL APIs generated from the database schema, plus Studio for non-technical teammates |
| Authentication | Built-in user authentication; SSO for the Dashboard is a paid add-on from the Team plan | Role-based permissions apply to users; confirm login providers and SSO options in the Directus docs |
| File storage | Pro includes 100 GB, then $0.0213 per GB (Supabase pricing page) | Confirm supported file storage locations and size limits in the Directus docs |
| Realtime | Realtime updates are part of the platform; confirm current realtime limits in the Supabase docs | Confirm whether your Directus version provides realtime subscriptions in the Directus docs |
| Server-side functions | Server-side functions run on the platform; confirm current function limits in the Supabase docs | Confirm which extension and endpoint types your Directus version supports for custom server-side logic |
| AI access | Confirm current AI and vector options in the Supabase docs before comparing | Native MCP server and embedded AI Assistant follow the same role-based permissions as human users |
| Managed backups and PITR | Daily backups kept 7 days on Pro, 14 on Team, up to 30 on Enterprise; PITR about $100 per month per 7 days (Supabase backup docs and pricing page) | Backups depend on the SQL database you run; confirm backup and point-in-time recovery tooling for your engine |
| Regional hosting choice | One main region per project, chosen from 17 AWS regions including Frankfurt, Ireland and Paris | Wherever you run the Docker deployment; confirm Directus Cloud region options before choosing |
Where your data sits and who controls access
Supabase Cloud places each project in one region you choose and runs hosting and backups for you, with some controls sold by plan. Self-hosted Directus leaves the SQL database, the access model and the audit evidence in your environment, so most questions below are about what you operate and must confirm.
Region and data residency
Each Supabase Cloud project runs in one main region chosen from 17 AWS regions, including Frankfurt, Ireland, Paris, Stockholm, London and Zurich. That choice sets where the Postgres database runs, but it alone does not settle where backups, logs, Storage objects or support access sit. With Directus you choose the host and region yourself, so the residency question moves to your own infrastructure. Ask Supabase in writing where each data type is stored and whether the region can change after creation.
Supabase regionsHosted or self-hosted operation
Supabase Cloud is the hosted service on Free, Pro, Team and Enterprise plans, and self-hosted Supabase runs the same open-source stack on your own Docker setup. Self-hosted Supabase runs as a single project and is community-supported, so patching, backups and on-call fall to your team. Directus can be self-hosted with Docker or run on Directus Cloud, the managed service. Directus is licensed under MSCL-1.0-GPL, which permits any use except a Competing Use against Monospace's paid offerings, so have counsel review that clause before you offer Directus to customers.
Directus licenseSSO and admin access
Supabase's pricing page lists SSO for the Supabase Dashboard as a paid add-on from the Team plan, so confirm it is included in the plan you buy. For Directus, confirm which SSO protocols Studio and the API accept in your self-hosted edition before you design around them. Ask each vendor whether SSO covers admin logins only or API tokens too, whether group mapping removes access when someone leaves, and whether emergency admin accounts exist outside SSO.
Supabase pricingSOC 2, ISO 27001 and HIPAA
Supabase's pricing page lists SOC 2, ISO 27001 and HIPAA as paid add-ons from the Team plan. Request the current reports and the HIPAA scope in writing before you rely on them, since they cover Supabase's platform, and your project settings need separate evidence. A self-hosted Directus deployment falls inside your own audit scope, so the evidence is yours to produce: access reviews, change records, restore tests and logging settings. DeployOpen prepares systems, controls and evidence for assessments, but independent auditors and certification bodies issue the reports.
AI and agent access
Directus includes a native MCP server and an embedded AI Assistant that operate under the same role-based permissions as human users, so an agent is limited by the rules of the role it runs under. Confirm which collections, fields and actions the MCP server exposes for each role, how its tokens are issued and revoked, and whether agent actions appear in your audit trail. For Supabase, confirm how any AI tool or agent connects to a project, which keys or tokens it holds, and whether any of those keys bypass row-level security.
Directus on GitHubExit and data portability
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, so the SQL database and schema stay with you. Confirm which Directus settings live outside the database, since you would rebuild those on exit. Supabase Cloud keeps daily backups for 7 days on Pro, 14 on Team and up to 30 on Enterprise, and those backups are not an export path. Test an export from a Supabase Cloud project, covering database, Storage objects and Auth users, before you commit.
How the licenses and editions differ in practice
Supabase Cloud is sold in four plans, and each step up adds managed capacity, longer retention and compliance paperwork that a self-hosted team would otherwise build itself. The plans differ in project count, backup retention, log retention and the commercial terms available. Usage such as compute, disk, monthly active users, storage and egress is billed on top of the plan fee.
- Free: two projects, a 500 MB database, 50,000 monthly active users, 1 GB of file storage and 5 GB of egress. Projects pause after one week of inactivity.
- Pro: from $25 per month, with $10 of compute credit covering one Micro instance, 8 GB of disk, 100 GB of file storage and 250 GB of egress included. The spend cap is on by default and must be switched off to pay for usage beyond the included quota.
- Team: from $599 per month, with the first project included and additional projects from $10 per month. The pricing page lists SOC 2, ISO 27001, SSO for the Dashboard and HIPAA as paid add-ons from this plan.
- Enterprise: custom pricing, with AWS PrivateLink, uptime SLAs and 24x7x365 support. Daily backups are kept for up to 30 days, compared with 7 days on Pro and 14 days on Team.
Check current plan terms, add-on prices and included quotas on the Supabase pricing page before you model a renewal, because these figures change.
Self-hosting the Supabase stack moves the license question out of the vendor's plan structure and into your own terms. The open-source stack is licensed under Apache-2.0, a permissive license that allows you to run and modify the software in your own infrastructure. What changes is who operates the features that the hosted plans bundle.
- License: Apache-2.0 for the open-source stack, as stated in the GitHub repository. Have counsel check the Docker configuration and any third-party components you add against your own policy.
- Features not carried over: branching, advanced metrics beyond logs, managed backups and point-in-time recovery, analytics and vector buckets, ETL and the Management API are listed as unavailable when self-hosting.
- Project model: self-hosted Supabase runs as a single project, so Studio does not manage multiple organizations or projects.
- Support: the self-hosting documentation describes self-hosted Supabase as community-supported. Any paid support has to come from a provider you contract separately.
- Limits and targets: the Free to Enterprise quotas and SLAs apply to Supabase Cloud only, so a self-hosted team sets its own capacity, retention and availability targets.
Confirm which Supabase features your application depends on by reading the self-hosting guide, then decide who owns backups, upgrades and on-call before comparing the stack with the hosted plans.
Directus is licensed under the Monospace Sustainable Core License 1.0 (MSCL-1.0-GPL), which has different terms from the Apache-2.0 license that covers the Supabase stack. The license permits any use except a Competing Use against Monospace's paid offerings, and each version converts to GPL-3.0 four years after release. Because the license has changed in recent years, the terms that apply to your copy depend on the version you run.
- Permitted use: any use is allowed except a Competing Use against Monospace's paid offerings, according to the Directus license page.
- Conversion date: each version converts to GPL-3.0 four years after release, so older releases follow a different timeline from the current one.
- License history: Directus used BSL-1.1 from April 2023 and moved to the Monospace Sustainable Core License in 2026, according to the commit history of the license file.
- Competing Use review: counsel should decide how a Competing Use applies to your product, internal tools and any customer-facing service built on Directus.
- Deployment options: Directus can be self-hosted with Docker or run on Directus Cloud, the managed service.
Ask counsel to review the license file for the exact version you plan to run, and record the decision before you build on it.
What each side charges for and what drives it up
On Supabase Cloud, the bill is a plan fee plus metered usage, and the metered lines are where costs grow. The Pro plan starts at $25 per month and includes $10 of compute credit, which covers one Micro instance. Each additional project pays its full compute cost, from $10 for Micro to $110 for Large. Pro also includes 8 GB of disk, 100,000 monthly active users, 100 GB of file storage and 250 GB of egress, with overage at $0.125 per GB of disk, $0.00325 per monthly active user, $0.0213 per GB of storage and $0.09 per GB of egress. Point-in-time recovery is sold separately at about $100 per month per 7 days of retention, and Pro keeps daily backups for 7 days and logs for 7 days. The spend cap is on by default for Pro and must be switched off before usage beyond the included quota is billed. Confirm current figures on the Supabase pricing page.
Self-hosting Directus moves those meters onto your own invoices. You pay for the servers that run Directus, the SQL database it connects to through the DB_CLIENT setting (PostgreSQL, MySQL, MariaDB and SQL Server are among the supported options), file storage for uploads, backup tooling, monitoring and log retention, and the staff who patch and upgrade. Directus shipped 12.4.0 on September 22, 2026 and 12.5.0 on October 7, 2026, so plan recurring time for upgrades and a staging environment to test them. Security testing of roles, the native MCP server and the embedded AI Assistant is a separate line item. The license needs a decision before you commit: Directus uses the Monospace Sustainable Core License 1.0, which permits any use except a Competing Use against Monospace's paid offerings. Have counsel confirm your use falls outside that restriction, and confirm in writing whether any Directus license fee or Directus Cloud fee applies to your deployment. Read the Directus license terms before that conversation.
Keep the one-time work apart from the recurring bill. The one-time cost is migration: mapping Supabase schema and row-level security policies to Directus collections, roles and permissions, moving Auth users and Storage objects, and proving that each role sees the same rows it saw before. Recurring cost covers hosting, database operations, backup and restore tests, monitoring, upgrades and security testing. Ask every provider for a written quote that prices these lines separately: server and database sizing with growth assumptions, backup retention and restore testing, upgrade frequency, on-call coverage, the license position for your use, and whether Directus Cloud is priced separately. Also ask what happens to your current monthly active user, egress and storage meters, because on your own infrastructure those costs move to your cloud invoices.
What a move from Supabase Cloud involves
The sequence moves the database, users, files and app logic out of Supabase Cloud in an order that keeps access rules verified at each stage. It ends with a parallel run and a decommissioning step that only happens after the client's owners sign off on the cutover. Each step names the client-side owner who must approve it.
Inventory every Supabase feature in use
List each Supabase feature the application depends on: the Postgres schema, row-level security policies, Auth users and sign-in methods, Storage buckets, Edge Functions, Realtime channels and scheduled jobs. For each one, record which apps, services and people use it, and any external system that calls it. The application owner approves the list, and the platform engineering lead confirms there are no hidden callers. This step is done when every feature has a named owner, a consumer and a planned destination.
Choose the target architecture and hosting
Decide where the self-hosted Directus instance runs, which Postgres cluster holds the data and who operates both. Directus connects to an existing SQL database through its database client setting, so the Postgres schema can stay in place if that database suits your data model and operating model. Record decisions on hosting region, network exposure, SSO for Studio, logging, backups and encryption keys. The CISO or security architect approves data location and access, and the CIO approves the operating model. This step is done when a signed architecture record exists and every open question has a named owner.
Export data, files and users
Export the Postgres schema and data, Auth users and Storage objects using the routes Supabase documents for each. The database administrator runs the exports from a controlled workstation or pipeline, stores them encrypted in the client's environment, and records checksums and row counts for every table. Before starting, confirm the current export routes and their limits in the Supabase documentation, and check whether Auth password hashes can move with the users or whether a reset will be needed. Supabase's own backups serve recovery and do not count as an export, so keep a separate copy. This step is done when counts and checksums match the source and a restore into a scratch database succeeds.
Map access rules to Directus roles
Translate each row-level security policy and auth check into a Directus role, a permission set and item-level filters. The security and identity lead approves the role matrix before any build work starts. Then create fixture users for each role and test allowed and denied reads and writes through the REST and GraphQL APIs, Studio and any AI features. Confirm that the native MCP server and AI Assistant follow the same role permissions in your configuration. Migrated users then sign in on the target, and the team tests sign-in, password reset and session expiry. This step is done when every fixture test matches the role matrix and no unexpected access appears.
Rebuild functions, realtime and scheduled jobs
Rebuild each Edge Function, Realtime channel and scheduled job in the target's own mechanisms, or in a separate service the client runs alongside Directus. These features rarely map directly, so confirm in the Directus documentation which extension points, automation features and external services fit each case, and record any gap. The application team owns the code, and the operations team owns scheduling, monitoring and alerting. Replay recorded inputs through the new code and compare outputs with the old ones. This step is done when every function passes its replay tests, each job alerts on failure, and every realtime client receives the updates it expects.
Run a parallel cutover, then decommission
Run both systems in parallel for an agreed period, then move users in stages while Supabase Cloud stays available for rollback. The application owner and the operations lead compare reports, error logs and reconciliation totals between the two systems throughout the run, and the business owner approves the switch to the target. After sign-off, stop application writes to Supabase, confirm with Supabase how backups and data are handled when a project is deleted, revoke keys, update DNS and clients, and then delete the project. The change manager files the signed cutover record and the final export archive under the client's retention policy.
Decision path for choosing between the two platforms
The path starts with one question: does the client app need end-user authentication, realtime updates and a client SDK? A yes points to Supabase, either Supabase Cloud or self-hosted Supabase. A no leads to a second question: does the team need an admin interface and a governed API over an existing SQL database? A yes points to Directus running on that database. Both branches then meet two checks before the decision is final: whether the license fits your counsel's review, and whether the hosting option and data region meet your residency requirements. Confirm both with your legal and data protection teams.
Decision path from app requirements to license and hosting checks.
Is Directus a full Supabase alternative?
Does Directus replace Supabase's auth, storage and realtime features?
Not on a like-for-like basis. Directus is an application layer over an existing SQL database. It generates REST and GraphQL APIs from the schema, with Studio as a management interface for non-technical teammates. Supabase Cloud bundles user authentication, a database exposed to client apps, file storage, server-side functions and realtime updates in one product, and Directus should not be assumed to cover each of those in the same way. Confirm the gaps before you commit: how end-user sign-in is handled, whether your client apps need realtime subscriptions, and where server-side logic will run. Directus includes a native MCP server and an embedded AI Assistant, both governed by the same role-based permissions as human users. It can be self-hosted with Docker or run on Directus Cloud, so the choice of where the data lives stays with you.
What does moving from Supabase Cloud to Directus cost?
The cost follows from the written scope, and DeployOpen does not publish a price list. The one-time components are discovery, schema mapping, re-expressing Postgres row-level security rules as Directus roles and permissions, moving user accounts and password hashes, transferring storage objects, updating client code that calls the Supabase SDK, testing and cutover. The main drivers are the number of tables, policies, users, files and client applications involved. The recurring components are the cloud accounts or servers for Directus and its database, backups, monitoring, patching and the on-call time that Supabase Cloud currently carries for you. For a baseline, Supabase's pricing page lists Pro from $25 per month and Team from $599 per month, so compare your current plan line by line with your own hosting estimate. Ask any quote to price each phase separately, including retesting and the first year of operations.
How long does a Supabase to Directus migration take?
No single duration fits every project, and the timeline is agreed in writing before work starts. The main drivers are the number of tables and relationships, how many row-level security policies must be re-expressed as Directus permissions, the size of the user base and whether password hashes can move without forced resets, the volume of storage objects, and how many client applications and Edge Functions depend on Supabase. Parallel running before cutover adds time but lowers the risk of a rushed switch. Permissions and identity often take the most attention, so ask for the phases, the test plan for each phase, the cutover window and the rollback plan. Confirm with Directus whether each Supabase function type has a direct equivalent, because any gap adds engineering time to the schedule.
What does our team need to provide during the migration?
The migration needs named people, not only system access. You need an owner for the data model and business rules, an engineer who knows the current Supabase schema, policies and functions, someone who decides on identity and SSO, a platform engineer for the target cloud account, network, DNS, TLS and secrets, and a QA owner who can sign off test cases. Provide read access to the Supabase project, the schema and migration history, policy definitions, auth settings and a staging copy of the data. Decide early which region, cloud account and data center will host Directus and its database, and who holds the admin credentials. Expect regular review sessions on permission decisions, because moving row-level rules into Directus roles requires someone who can state what each user group should be allowed to see and change.
Can an in-house team migrate from Supabase Cloud to Directus without outside help?
Yes, a team with Postgres, API and identity experience can run the move alone, and Directus connects to an existing SQL database, which keeps much of the data work familiar. The risk sits in the parts that are easy to get wrong: re-expressing access rules, moving user accounts without breaking sign-in, rebuilding backups and point-in-time recovery, which Supabase Cloud offers as managed features on its paid plans and which you must run yourself after the move, and hardening the Directus admin interface, SSO and audit logging. Outside help is most useful as a fixed-scope review of permissions and a retest before cutover. DeployOpen plans, implements, hardens, backs up, documents and supports self-hosted platforms inside your own infrastructure, and the agreed scope is set in writing before work begins.
Does the Directus license allow our product to be used commercially?
Probably yes for most products, but have counsel confirm it against the current terms. Directus is licensed under the Monospace Sustainable Core License 1.0 (MSCL-1.0-GPL), which permits any use except a Competing Use against Monospace's paid offerings. Each version converts to GPL-3.0 four years after release. Check whether your product or any customer-facing service could count as a Competing Use, for example (illustrative) a hosted service that sells Directus itself as a platform. The license has changed before: Directus moved to BSL-1.1 in April 2023 and replaced that license with the MSCL in 2026. Record which license applies to the release you deploy, and review it at each upgrade. Read the full terms on the Directus license page before signing off.
How DeployOpen helps evaluate, implement or migrate
DeployOpen approaches Supabase Cloud vs Directus as a scoped engagement: we first confirm which Supabase features your applications depend on, then decide whether Directus fits the data model, permissions and licensing terms you need. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we scope
- The written scope maps each Supabase Cloud feature in use to a Directus equivalent or a gap.
- We inventory your Postgres schema, access rules, file storage and auth flows before any build decision.
- Licensing scope covers Directus's Monospace Sustainable Core License and its Competing Use limit, for your legal team to confirm.
How we build
- We point Directus at a Postgres database in your infrastructure through its
DB_CLIENTsetting, then map the schema. - Role-based permissions, including those for the native MCP server and AI Assistant, are configured and tested before go-live.
- Auth and file storage migration paths are confirmed against Directus's documentation before any user data moves.
How we hand over
- Documentation covers the schema map, role matrix, deployment with Docker on your own infrastructure, and backup runbooks.
- Database and file backups are built and restore-tested in your environment, since managed PITR does not move with you.
- Your team receives a handover session that walks through admin access, audit settings and the upgrade procedure.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, covering Directus releases and your configuration.
- Directus releases often, so upgrade testing against your schema and role rules should be confirmed in the retainer scope.
- Confirm with Directus how the Monospace license applies to your deployment before you commit to a retainer.

