Apache Airflow vs Dagster vs Prefect

Airflow suits teams already running DAGs on a supported Airflow 3 line. Dagster suits asset-centric lineage, and Prefect suits Python teams wanting a light self-hosted server.

On this page

Airflow vs Dagster vs Prefect: which fits which team

Choose Apache Airflow if your team already runs DAGs and can stay on a supported Airflow 3 line, where 3.3.2 is the current release. Airflow 2 reached end of life on April 22, 2026, so any team still on it gets no fixes and should treat the move as its first task. Choose Dagster when asset lineage and testing drive the design, and choose Prefect when your team is Python-first and wants a light self-hosted server to start. Dagster and Prefect both reserve SSO, role-based access control and audit logs for paid tiers, and the Dagster pricing page lists them as Dagster+ features. The Airflow project sells no paid edition, so any SSO or audit control you need depends on the auth manager you configure and the identity tooling you run.

The operating load differs more than the feature lists suggest. Airflow 3.3.2 expects Python 3.10 to 3.14 and PostgreSQL 14 to 18 or MySQL, does not support MariaDB as the metadata database, and says SQLite should not be used in production. Airflow can run more than one scheduler at once, using database row-level locks for coordination. Dagster's open-source deployment runs a single daemon for schedules, sensors and run queuing, limits each code location server to one replica, and defaults its run storage to SQLite until you point it at PostgreSQL. The self-hosted Prefect server also defaults to SQLite, so production needs PostgreSQL, and a multi-server setup adds PostgreSQL 14.9 or later, Redis for event messaging and a load balancer. Test each of these components against the availability your users need, because each one is a separate system your team must patch and back up.

Run these checks before you commit. If you already have Airflow DAGs on the 2.x line, size the Airflow 3 upgrade as a set of code and operator changes, then compare that with rewriting pipelines as Dagster assets or Prefect flows, which is a larger change of model than a version bump. If auditors will ask for SSO, RBAC and audit logs, request quotes for Dagster+ or Prefect Cloud alongside your self-hosted design, because open-source Dagster and the self-hosted Prefect server do not include those controls. Prefect's server documentation notes that new clients can be incompatible with old servers, so pin client and server versions together in your upgrade plan. Confirm the release line you will run before you start: Dagster 1.13.26 was released on October 9, 2026, Prefect 3.8.8 on October 6, 2026, and the Prefect 2.x line still received 2.20.26 on September 2, 2026.

Which orchestrator fits each team situation

This table matches each common team situation to the orchestrator that fits it best, along with the condition that makes that fit hold. Read across each row: the best fit names the tool, and the why column states what must be true for the advantage to matter. Where a feature sits in a paid tier, the row says so, since identity and audit controls are not all in the open-source releases.

Team situationBest fitWhy it holds
Existing Airflow 2 estate that must move to 3.xApache Airflow 3.x, upgraded in placeAirflow 2 reached end of life on April 22, 2026, so move now. Holds when most DAGs are standard and the team knows Airflow well.
Asset lineage and branch deploymentsDagster (Dagster+ for branch deployments)Assets are the unit of work, so lineage follows tables and models. Branch deployments and column lineage need Dagster+, so price that tier in.
Python-first team with a small footprintPrefect, self-hosted serverFlows are Python functions. Holds for one small server; production needs PostgreSQL, and multi-server setups add Redis.
Organization that needs SSO and audit logs at go-livePrefect Cloud or Dagster+, checked against the tier listSSO, RBAC and audit logs are hosted-tier features in Prefect and Dagster. Holds if a hosted control plane passes your data residency review.
Air-gapped site that must self-hostSelf-hosted Apache Airflow 3.x or Dagster open sourceBoth self-host inside your network, with PostgreSQL for production. Hosted-only SSO and audit features cannot run air-gapped, so plan identity controls in-house.
Team wants a vendor-run control planePrefect Cloud or Dagster+The vendor operates the control plane, so your team runs fewer servers. Holds if hosted metadata is allowed; confirm storage location and tier.

Where each one keeps scheduling and run state

Airflow keeps scheduling and run state in a single metadata database, and that choice drives most of its operating decisions. The Airflow 3.3.2 prerequisites list PostgreSQL 14 to 18 and MySQL 8.0, 8.4 and Innovation releases as supported backends. MariaDB is not supported. SQLite is the default for testing only, and the production deployment guide warns that running it in production can lead to data loss. The payoff is that Airflow can run more than one scheduler at the same time for performance and resiliency, because the schedulers coordinate through database row-level locks. The trade-off is that the metadata database becomes the shared failure point, and lock contention becomes a sizing question. Before you add a second scheduler, confirm your database version, connection limits, backup schedule and restore test.

Dagster splits its open-source deployment into separate processes, and each one scales by a different rule. The webserver serves the UI and GraphQL and can run multiple replicas. A single daemon handles schedules, sensors and run queuing, so those decisions are made in one place. Each code location server is limited to one replica, which means a heavy code location cannot be scaled out by adding replicas. Run, event log and schedule storage default to SQLite, and PostgreSQL is the documented alternative. The run launcher, run coordinator and executor are swappable components, so you choose how runs start and where they execute. The trade-off is that the daemon is a single process you must monitor and restart quickly, so plan alerting on it and decide how you will divide definitions across code locations before you size the platform.

Self-hosted Prefect puts the API, the UI and the database in one Prefect server. The database records flow and task run state, logs, deployments, concurrency limits, work pool status, events and automations. SQLite is the default, and PostgreSQL is the database to use for production. A single server keeps the footprint small, which suits a team that wants one component to run. Multi-server deployments need PostgreSQL 14.9 or later, Redis for event messaging and a load balancer in front of the servers. The trade-off is that the server is the coordination point for everything, so the database, Redis and load balancer become three components you must back up, monitor and upgrade together. Confirm the exact requirements for your Prefect version, and plan an upgrade order, because new clients can be incompatible with old servers.

How to narrow the shortlist in four questions

This illustrative decision path starts with whether an existing Airflow 2 estate must move, since Airflow 2 reached end of life on April 22, 2026. The second question asks whether SSO, RBAC and audit logs are needed at go-live. If they are, check the cost of a paid Dagster+ or Prefect Cloud tier against identity work on self-hosted Airflow, and confirm the latter in the Airflow auth manager documentation. The third question asks whether asset-centric lineage and branch deployments shape the design. The fourth asks whether the team is Python-first and can run Python 3.11 or later with a light server. Conflicting answers end at a pilot.

Illustrative decision path ending at Airflow, Dagster, Prefect or a pilot.

Airflow vs Dagster vs Prefect side by side on capability

This table compares Apache Airflow, Dagster and Prefect on licensing, core concepts, database and multi-instance needs, identity controls, lineage and upgrade behavior. Read each row alongside the open-source versus paid split, because Dagster and Prefect reserve SSO, RBAC and audit logs for their paid tiers. Where a cell says to confirm, check the vendor documentation for your target version before you commit.

CapabilityApache AirflowDagsterPrefect
License, paid tier and latest releaseApache-2.0 with no paid edition from the project. Current release 3.3.2. Airflow 2 reached end of life on April 22, 2026.Apache-2.0 open source. Paid Dagster+ managed service. Current release 1.13.26, released October 9, 2026.Apache-2.0 open source. Paid Prefect Cloud plans. Current release 3.8.8, released October 6, 2026.
Core unit of workDAG (directed acyclic graph) of tasks, run on a schedule or trigger by the scheduler.Assets: logical data objects such as tables or models, declared as Python functions.Flows and tasks written as Python functions, with run state, logs and retries recorded.
Python requirementPython 3.10 to 3.14 for Airflow 3.3.2.Confirm the minimum Python version for your target 1.13 patch in the Dagster release notes.Python 3.11 or later.
Production databasePostgreSQL 14 to 18 or MySQL 8.0 and 8.4. MariaDB is unsupported and SQLite is for testing only.Run, event log and schedule storage default to SQLite and can use PostgreSQL.SQLite is the default. PostgreSQL is the production choice.
Multi-instance layoutMore than one scheduler can run at once, coordinated by database row-level locks.Webserver can run multiple replicas. One daemon runs schedules, sensors and run queuing. Each code location server runs one replica.Multi-server setups need PostgreSQL 14.9 or later, Redis for event messaging and a load balancer.
SSO, RBAC and audit logsAccess control runs through a pluggable auth manager. Confirm which SSO, RBAC and audit log features your version ships with and which need custom code.Open source does not include RBAC, SAML SSO or audit logs. These are Dagster+ features.Self-hosted server does not include RBAC, audit logs or SSO. Prefect Cloud adds them, with SSO from the Team plan.
LineageConfirm the lineage features and integrations your Airflow version supports before you design for them.Integrated asset lineage is part of the open-source project. Column lineage is a Dagster+ feature.Confirm lineage coverage for your flows and which lineage views require Prefect Cloud.
Swappable run componentsExecutor is configurable. Confirm which executors your version offers for your infrastructure.Run launcher, run coordinator and executor are swappable components.Work pools and workers set where runs execute. Confirm the infrastructure types your version supports.
Upgrade compatibility between clients and serversAirflow 2 gets no fixes after end of life. Plan Airflow 3 upgrades using the project's upgrade guide.Confirm client and webserver version compatibility in the release notes before each upgrade.Old clients work with new servers. New clients can fail against old servers, so upgrade the server first.

Licensing and editions: Airflow vs Dagster vs Prefect

Apache Airflow is an Apache Software Foundation project released under the Apache License 2.0 (Apache-2.0), and the project itself offers no paid edition. Licensing therefore adds no fee to your total, and your spend goes to infrastructure, the staff who operate the platform and any third-party support contract you choose. The license lets you run, modify and redistribute the code, but it does not promise support, so the release line you run decides how long you receive fixes.

  • No paid edition from the project: Budget for infrastructure, operations and any support you buy from a third party, since the project sells no commercial tier.
  • Airflow 3 is the current line: Airflow 3 was first released on April 22, 2025, and the current patch is 3.3.2, according to the supported versions table.
  • Airflow 2 is out of support: Airflow 2 reached end of life on April 22, 2026, so it gets no fixes. Before that date, limited maintenance covered only security and critical bug fixes.
  • Upgrade work recurs: Each major line has its own support window, so moving from Airflow 2 to Airflow 3 is engineering work on DAGs, configuration and deployments that you plan around the release line you run.

Check the supported versions table before you pin a release, and ask any support provider in writing which Airflow lines they cover.

What drives the running cost of each orchestrator

All three projects are free to license, so the running cost you budget for comes from infrastructure, paid tiers and the people who keep the platform patched. The cards below separate those items because each is one-time or recurring in a different way and each needs its own line in a written quote.

Zero license fees on open source

All three projects are released under Apache-2.0, so no license fee applies to the open-source cores of Apache Airflow, Dagster or Prefect. The license line is zero, one-time or recurring. What recurs is the compute, storage and backup that the self-hosted components consume in your cloud account or data center, plus any paid tier you add. Costs rise with run volume, log retention and the number of environments. Ask the quote to state which components it covers, who provisions the cloud resources, and whether infrastructure is priced separately from implementation.

Airflow metadata database and schedulers

Airflow's running footprint is a metadata database, one or more schedulers and the workers chosen by the executor. Production needs PostgreSQL 14 to 18 or MySQL 8.0, 8.4 or Innovation releases, since SQLite is for testing only and MariaDB is not supported as a metadata database. Running more than one scheduler adds capacity and resilience through database row-level locks, and each extra node recurs in compute. The prerequisites recommend at least 4 GB of RAM. Ask the quote to list every node, the database tier, backup retention and the Kubernetes versions covered.

Airflow prerequisites

Dagster webserver, daemon and code locations

Open-source Dagster runs a webserver that serves the UI and GraphQL and can scale to replicas, a single daemon that handles schedules, sensors and run queuing, and code location servers limited to one replica each. Run, event log and schedule storage defaults to SQLite, so PostgreSQL is part of the production build. The servers and database recur, and cost climbs with each code location you add. Ask the quote to state replica counts, PostgreSQL sizing, and whether the run launcher platform, such as Kubernetes or Amazon ECS, is included.

Dagster OSS architecture

Prefect server, PostgreSQL and Redis

The self-hosted Prefect server bundles an API, a UI and the database that records run state, logs and deployments. SQLite is the default, so production runs on PostgreSQL. Multi-server setups need PostgreSQL 14.9 or later, Redis for event messaging and a load balancer. Each component is another system to back up, monitor and patch, so the recurring cost sits in operations as much as in hardware. Ask the quote to list the server count, who runs Redis and PostgreSQL, and how upgrades are timed around active flows.

Paid identity and audit tiers

The self-hosted Prefect server does not include RBAC, audit logs or SSO, and Dagster lists role-based access, SAML SSO and audit logs as Dagster+ features. Prefect's pricing page lists the Team plan at $100 per user per month, so headcount becomes a recurring line in the budget. Enterprise tiers add object-level RBAC and multiple workspaces. Airflow's open-source project has no paid edition, so confirm which identity features your chosen auth manager provides. Ask the quote for per-user terms, which features sit in which tier, and renewal terms.

Dagster pricing

Staff time for upgrades and on-call

Staff time is a recurring cost that rarely appears in a vendor quote. Airflow 2 reached end of life on April 22, 2026, so any estate still on 2.x needs a one-time move to Airflow 3 with its own testing and cutover work. All three projects publish frequent patch releases, such as Dagster 1.13.26 on October 9, 2026 and Prefect 3.8.8 on October 6, 2026, so upgrades and on-call rotations recur. Prefect's docs note that new clients can be incompatible with old servers, so upgrade clients and servers together. Ask the quote for upgrade windows, covered on-call hours and who holds the pager.

What implementing each one involves in practice

The first task for an Airflow team is usually a version move. Airflow 2 entered limited maintenance on October 22, 2025, which means only security and critical bug fixes, and it reached end of life on April 22, 2026, so it gets no fixes at all. Start with the Airflow 3 upgrade guide, then run DAG compatibility checks across the whole repository before setting a cutover date. Confirm your Python runtime falls within the 3.10 to 3.14 range that Airflow 3.3.2 supports and that your metadata database is PostgreSQL 14 to 18 or a supported MySQL release. Rehearse the database migration on a copy of production, because MariaDB is not supported as a metadata database and SQLite is for testing only.

For Dagster, the design work comes before the install. Model the estate as assets, meaning the tables, models and files you care about, each declared as a Python function. Group those assets into code locations, which run as separate servers. Open-source deployments allow only one replica per code location, as described in the Dagster OSS deployment architecture. Next, choose run storage: the default is SQLite, so plan PostgreSQL for run, event log and schedule storage on any shared deployment. Then select the run launcher and executor that match your compute. Settle identity early. The pricing page lists role-based access control and SAML SSO as Dagster+ features, so decide whether the team will pay for Dagster+ or build access controls around the open-source UI.

For Prefect, the server layout needs the most planning. Write flows as Python functions on Python 3.11 or later. Run the self-hosted server on PostgreSQL, because the server defaults to SQLite and documents PostgreSQL for production. Multi-server setups need PostgreSQL 14.9 or later, plus Redis for event messaging and a load balancer in front of the servers, each with its own backup and upgrade work. Keep client and server versions aligned: old clients work with new servers, but new clients can fail against old servers as new REST API fields appear, so upgrade both in one window. Self-hosted server also omits SSO, RBAC and audit logs, which Prefect Cloud provides. Across all three tools, effort is driven by pipeline count, source systems, identity, secrets and air-gapped constraints, so agree scope and deliverables in writing before work starts.

Questions buyers ask on cost, effort and handover

Which of Airflow, Dagster and Prefect costs the least to run?

None of the three open-source projects charges a license fee, so running costs come from infrastructure, any paid tier you choose and staff time. Apache Airflow is Apache-2.0 licensed and has no paid edition from the project itself. Dagster and Prefect are also Apache-2.0, but their hosted services sit on paid plans. Prefect's pricing page lists a free Hobby plan, Starter at $100 per month, Team at $100 per user per month and Enterprise at custom pricing, so seat counts drive the bill as the team grows. Check Dagster's pricing page for current Dagster+ plan terms. Infrastructure cost depends on your database, workers and high availability design. Staff cost depends on how many people must own upgrades and on-call. The lowest total cost often comes from the platform your own engineers already know how to run, so compare the three on the same workload and the same support model.

Do SSO and audit logs require a paid tier in each platform?

In Dagster and Prefect, yes, because the paid tier is where these features sit. Dagster's pricing page lists SAML SSO, role-based access control and audit logs as Dagster+ features, outside the free open-source Dagster. Prefect's server documentation says Prefect Cloud provides RBAC, audit logs and SSO that the self-hosted server does not include, and Prefect's pricing page places SSO on the Team plan and object-level RBAC on Enterprise. Apache Airflow has no paid edition, so its access control comes from the auth manager you configure. Review the Airflow auth manager documentation to confirm which SSO and audit capabilities your Airflow 3 release supports and what your team would need to build. If an assessor will review audit logs, ask each vendor to show the log fields and retention in writing, and confirm the plan you intend to buy, because plan inclusions change.

How long does a build or migration take with these orchestrators?

No duration is reliable without a written scope, because the time follows from what is being built. The main drivers are how many pipelines exist and how tangled their dependencies are, how much existing DAG or flow code must be rewritten and how much can carry over unchanged, the metadata database and high availability design, single sign-on and audit requirements, the number of source and destination connections, and how much run history must be kept. Parallel running for validation adds time, and so does any change to identity or network controls that needs security sign-off. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and most engagements are fixed-scope. Ask any provider for a written scope that lists the pipelines in scope, the environments, identity and logging requirements, acceptance tests and the handover package, with the timeline tied to those items.

What skills must an in-house team have to run these orchestrators?

Every option needs Python, a production metadata database and a named owner for the platform after launch. Check these four areas before you commit:

  • Python: Prefect requires Python 3.11 or later, and Airflow 3.3.2 supports Python 3.10 to 3.14. Pipelines in all three are written in Python, so reviewers must read, test and debug it.
  • PostgreSQL: Airflow's production guidance recommends PostgreSQL or MySQL over SQLite. Prefect's server uses PostgreSQL for production, and Dagster can store runs and events in PostgreSQL. Airflow 3.3.2 supports PostgreSQL 14 to 18.
  • Docker or Kubernetes: Airflow 3.3.2 lists Kubernetes 1.30 to 1.35, and Dagster's open-source documentation covers Kubernetes with Helm, Docker and Amazon ECS. Confirm the container platform your infrastructure team will support.
  • On-call ownership: Name who restarts the scheduler, the Dagster daemon or the Prefect server, who handles failed runs overnight and who applies upgrades. Airflow 2 reached end of life on April 22, 2026, so a team starting now should plan around Airflow 3.

Confirm each item against your own environment before you hire or sign.

Can our team self-host without outside help?

Yes, if your team already has the skills listed above and time to own the platform after launch. Outside help is most useful for setup, hardening and handover, where a mistake is expensive to undo. Self-hosting Dagster means running a web server that can have multiple replicas, a single daemon for schedules, sensors and run queuing, and code location servers limited to one replica each. Self-hosting Prefect means running the server on PostgreSQL, and for multiple servers, adding Redis and a load balancer. Airflow needs a scheduler, a metadata database and workers configured for your chosen executor. DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure. Most engagements are fixed-scope, and ongoing support and upgrades are available as retainers. Ask any partner to show the runbook and handover documents it will produce before you sign.

What does switching orchestrators later cost in rewrites and history?

The main costs are rewritten pipeline code, split or lost run history, and the time spent running two systems side by side. Pipeline code changes the most, because Airflow DAGs, Prefect flows and Dagster assets are different authoring models, and each one needs review and rewriting. Run history lives in each platform's metadata database, so decide early whether to keep the old history readable, archive it or start fresh. Parallel running means paying for two schedulers and two sets of alerts for as long as the overlap lasts, plus an owner who compares outputs between them. You can lower the switching cost by keeping business logic in plain Python modules, separate from orchestrator-specific decorators, and by writing a cutover plan with rollback steps. Ask any partner to size these three cost lines from your pipeline inventory in the written scope.

How DeployOpen helps choose and implement without favoring a platform

DeployOpen starts from your requirements and writes the scope down before any work begins. For Apache Airflow vs Dagster vs Prefect, that means weighing each orchestrator against your team's skills, hosting constraints and access controls, then planning the deployment inside your own cloud, data center or air-gapped network. Engagements are fixed-scope, with deliverables and timelines agreed in writing first.

How we scope

  • The written scope lists the candidate platforms, the versions tested and the hosting targets.
  • Scope covers identity needs, including whether SSO and role-based access need a paid edition.
  • Metadata database choice, such as PostgreSQL or MySQL, is recorded as a scoped decision with a named owner.

How we build

  • Build a reference deployment for the chosen orchestrator inside your cloud, data center or air-gapped network.
  • For Airflow, configure PostgreSQL or MySQL as the metadata database and confirm scheduler behavior under load.
  • For Dagster, plan the single daemon, one-replica code locations and PostgreSQL storage, then map identity controls.

How we hand over

  • Handover includes runbooks for upgrades, backups, restores and on-call response for the chosen platform.
  • Documentation records the licensing and edition decisions, so reviewers can trace which features each control relies on.
  • Your team receives configuration, access model and test results, so it can operate the platform after handover.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, scoped separately from the build.
  • Upgrade plans track each platform's supported release lines, including Airflow 2's end of life on April 22, 2026.
  • Security testing of the deployed platform can run before go-live and again after each major upgrade.

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.