Apache Airflow vs Prefect vs Windmill

Apache Airflow, Prefect and Windmill serve different teams. Airflow suits Python DAG pipelines run by a platform team, Prefect suits Python-native flows, and Windmill suits mixed-language scripts and internal apps.

On this page

Apache Airflow vs Prefect vs Windmill: which fits your team

Choose Apache Airflow when your team runs scheduled Python pipelines and a platform team can operate its parts: a scheduler, a DAG processor, an API server and a metadata database. Choose Prefect when a Python 3.11 or later team wants flows with less platform overhead, and Windmill when script-first teams build flows and internal apps in several languages. Airflow is Apache-2.0 licensed and has no paid edition from the project itself, so your costs are infrastructure and the staff who run it. Pipelines are Python DAGs, and the metadata database should be PostgreSQL or MySQL, since SQLite is for testing only and MariaDB is not supported. Airflow 3 (first released April 22, 2025, current 3.3.2) is the line to build on, and more than one scheduler can run against the same database using row-level locks.

Prefect fits Python teams that can accept the limits of the self-hosted server. It is Apache-2.0 licensed and requires Python 3.11 or later. The self-hosted server bundles an API, a UI and a database that records run state, deployments and automations, and it uses SQLite by default, so plan for PostgreSQL in production. RBAC, audit logs and SSO are not part of the self-hosted server. If you need them, budget for Prefect Cloud, where SSO starts at the Team plan, listed at $100 per user per month on Prefect's pricing page. Confirm current terms with Prefect before you budget. Windmill fits script-first teams that build flows and internal apps in Python, TypeScript, Go, Bash, SQL and more. Its core is AGPLv3. Prebuilt Community Edition images include proprietary code that is free for internal use, while managed services or reselling need a commercial license.

Airflow 2 is past its support window. It entered limited maintenance on October 22, 2025 and reached end of life on April 22, 2026, so it now gets no fixes, and any 2.x estate needs a migration plan now. Start by inventorying your DAGs, custom plugins and provider packages, then work through the Airflow 3 upgrade guide in a test environment. No platform wins on every criterion. Airflow suits scheduled Python data work that a platform team will own. Prefect suits Python flows that can run on the self-hosted server or move to Prefect Cloud for governance features. Windmill suits multi-language scripts and apps under an AGPLv3 core with a free Community Edition. Run a pilot on one of your real pipelines, and confirm the license terms, paid tier and database versions in your own environment before you commit.

Which platform fits each team scenario

This table matches common team scenarios to the platform that fits each one best, and names the condition the fit depends on. Read each row as a starting point, then confirm the feature, edition or setup it relies on before deciding. The main takeaway is that none of the three gives regulated teams SSO, RBAC and audit logs without a configuration step or a paid tier, so check those first.

ScenarioBest fitWhy
Nightly data pipelines owned by data engineersApache Airflow 3Python DAGs under Apache-2.0 with no paid edition. Confirm your team can run the scheduler, DAG processor, API server and metadata database.
Python teams wanting code-level flows with a light startPrefectPlain Python flows under Apache-2.0. The self-hosted server defaults to SQLite, so plan PostgreSQL for production. Requires Python 3.11 or later.
Regulated organizations needing SSO, RBAC and audit logs on self-hosted infrastructureWindmill Enterprise, or Airflow 3 with a configured auth managerSelf-hosted Prefect server does not include RBAC, audit logs or SSO. Confirm Windmill's SAML, SCIM and audit log features, and Airflow's auth manager setup first.
Teams building internal tools in several languagesWindmillScripts in several languages, composed into flows or low-code apps. Holds when UI and scripts must share one platform. Airflow and Prefect center on Python.
Existing Airflow 2 estateAirflow 3, through a planned upgradeAirflow 2 reached end of life on April 22, 2026 and gets no fixes. Confirm your DAGs and providers against the Airflow 3 upgrade guide.
Teams that do not want to run databases and workers themselvesPrefect Cloud, or a managed Windmill servicePrefect Cloud Team lists $100 per user per month, with SSO from that tier (Prefect pricing page). Confirm data location and managed scope first.
Small self-hosted team with no SSO requirementApache Airflow or self-hosted Prefect; Windmill Community Edition within limitsApache-2.0 licenses, free to self-host. Windmill Community Edition is free up to 3 workspaces, 50 users and 4 groups.

How to route a team to Airflow, Prefect or Windmill

The diagram starts with one question: are your pipelines Python DAGs owned by data engineers? A yes routes to Apache Airflow. A no moves to whether the team wants Python native flows, which routes to Prefect if it accepts the limits of a self-hosted server or will pay for Prefect Cloud. If the work is mixed language scripts or internal apps, the path ends at Windmill. Before committing to any of the three, check self-hosted SSO, RBAC and audit log needs: confirm the Windmill Enterprise features, Prefect Cloud or the Airflow auth manager setup with the vendor.

Routing questions in order, with an auth check before committing to any platform.

What each platform needs running before the first job

Each platform asks your team to run a different set of services before the first job executes. Every service you count becomes something on-call watches, something you upgrade and something you back up, so the count matters as much as the features. The cards below set out what each platform needs and what to confirm before you commit.

Apache Airflow core services

Airflow needs a scheduler, a DAG processor, an API server and a metadata database before any DAG runs. Workers and a triggerer are optional and depend on your executor and on deferrable tasks. MariaDB is not supported as a metadata database, PostgreSQL or MySQL are the production options, and SQLite is for testing only. Confirm which database versions your platform team will run, and decide early whether you need more than one scheduler, since Airflow supports that for resiliency.

Airflow architecture overview

Prefect server components

A self-hosted Prefect server bundles an API, a UI and a database that stores run state, logs, deployments and automations. It uses SQLite by default, so plan for PostgreSQL from the start if this is more than a trial. A multi-server setup also needs PostgreSQL 14.9 or later, Redis for event messaging and a load balancer in front. Check that your team will operate Redis and the load balancer, and note that RBAC, audit logs and SSO sit in Prefect Cloud rather than in the self-hosted server.

Self-hosted Prefect guide

Windmill's Rust services and queue

Windmill runs stateless Rust API servers and workers that pull jobs from a PostgreSQL queue, so the database sits on the critical path for job dispatch. Jobs run in nsjail sandboxes, which your security team should review against its own threat model. Deployment uses Docker Compose or Helm charts, and you can point it at an external PostgreSQL service such as AWS RDS, GCP Cloud SQL or Azure. Confirm who owns that database, its backups and its failover before you choose the deployment.

Systems to patch and back up

Each component above becomes a system your team patches, backs up, monitors and upgrades on its own schedule, so every extra service adds on-call load. A single-server Prefect setup on PostgreSQL has fewer moving parts than a multi-server one with Redis and a load balancer. Airflow's scheduler, DAG processor, API server and database each need their own health checks. Airflow 2 reached end of life on April 22, 2026, so older installs receive no fixes. Ask each vendor for its upgrade order, supported database versions and backup guidance before you count the on-call cost.

Apache Airflow vs Prefect vs Windmill on architecture and licensing

This table compares Apache Airflow, Prefect and Windmill on licensing, pipeline definition, state storage, identity controls, Python and Kubernetes requirements, and release status. Read each row against your own environment, and treat any cell that says to confirm as a check to complete with the vendor or its documentation before you commit. The main takeaway: Airflow and Prefect are Python-first frameworks, and Prefect and Windmill keep their enterprise identity and audit controls in paid tiers.

CapabilityApache AirflowPrefectWindmill
LicenseApache-2.0, an Apache Software Foundation projectApache-2.0 (PrefectHQ/prefect repository)AGPLv3 and Apache-2.0 for source built without the enterprise feature flag; prebuilt images include proprietary code
Paid edition from the projectNone from the project itselfPrefect Cloud (managed): Team at $100 per user per month, Starter at $100 per month, Enterprise custom, per Prefect's pricing pageFree Community Edition (3 workspaces, 50 users, 4 groups). Enterprise Edition from $120 per month, per Windmill's pricing page
How pipelines are definedPython DAGs, parsed by a DAG processor and run under the schedulerPython functions decorated as flows and tasks, with deployments and work poolsScripts composed into flows or low-code apps
Language supportPython for DAG definitionsPython for flows and tasksPython, TypeScript, Go, Bash, SQL, GraphQL, PowerShell, Rust and more
State store and supported databasesMetadata database: PostgreSQL 14 to 18 or MySQL 8.0 and 8.4 for Airflow 3.3.2. MariaDB unsupported; SQLite is for testing only.Run state in a database: SQLite by default, PostgreSQL for production; multi-server needs PostgreSQL 14.9 or later and Redis.PostgreSQL job queue; external PostgreSQL such as AWS RDS, GCP Cloud SQL or Azure supported.
Self-hosted SSO, RBAC and audit logsControlled through a configurable auth manager; confirm SSO, RBAC and audit log support for your versionNot in the self-hosted server; RBAC, audit logs and SSO come with Prefect Cloud (SSO from Team, object-level RBAC on Enterprise)Enterprise Edition includes SAML and SCIM SSO and audit logs; confirm RBAC scope in the pricing or docs
Python requirementPython 3.10 to 3.14 (Airflow 3.3.2)Python 3.11 or laterConfirm the Python version used for Python scripts in Windmill's README or self-hosting docs before you plan images.
Kubernetes supportKubernetes 1.30 to 1.35 for Airflow 3.3.2Confirm supported Kubernetes versions and deployment options in Prefect's self-hosted documentation.Kubernetes Helm charts are documented; confirm the supported cluster versions in the repository.
Current release status with datesAirflow 3 first released April 22, 2025; current patch 3.3.2. Airflow 2 reached end of life April 22, 2026.Prefect 3.8.8 released October 6, 2026; 2.x line received 2.20.26 on September 2, 2026.v1.840.0 released October 17, 2026, the latest release as of October 2026; frequent release cadence.

Where state, code and logs sit in each platform

Airflow keeps run state in a metadata database that you choose and operate. The scheduler, DAG processor and API server all depend on it, and the production guidance recommends PostgreSQL or MySQL. The guide warns that the default SQLite backend is for testing only and can lose data in production, so treat the backend choice as a platform decision. Pipelines are Python DAGs that run on workers in your environment, so code and task execution stay where your team places those workers. Airflow supports running more than one scheduler at a time for performance and resiliency, coordinated through database row-level locks. That makes the metadata database the shared coordination point as well as the record of runs. Before go-live, confirm which database service and network zone hold it, who owns its backups and restore tests, and where task logs are written in your logging configuration.

Self-hosted Prefect stores run history in its server database. That database records flow and task run state, logs, deployments, concurrency limits, variables, artifacts, work pool status, events and automations. SQLite is the default, and the self-hosted documentation points to PostgreSQL for production. Multi-server setups need PostgreSQL 14.9 or later, Redis for event messaging and a load balancer, which adds components your team must back up and monitor. Prefect Cloud moves the server role to Prefect, so run metadata, logs and artifacts are held by the vendor. Prefect's server documentation also lists RBAC, audit logs and SSO as Cloud features that self-hosted Prefect server does not include. Ask Prefect in writing where Cloud data is stored, in which regions, how long run history and logs are kept, and how deletion works, then compare those answers with your data classification policy.

In Windmill, the database holds the job queue and workers execute the code. The backend is written in Rust, with stateless API servers and workers that pull jobs from a PostgreSQL queue. Each job runs in an nsjail sandbox on workers you run in your own infrastructure. The repository documents external PostgreSQL services such as AWS RDS, GCP Cloud SQL and Azure, so the queue, and any job inputs stored in it, sits wherever you place that database. The README's sizing rule of thumb is one worker per vCPU with 1 to 2 GB of RAM. Across all three platforms, control follows from where you place the database and workers. An Airflow deployment with its database in another region, or a Prefect Cloud account, can put data outside a boundary your policy sets. Check the queue database location and worker network paths during design, and record both in your data flow diagram.

What is free and what is paid across the three platforms

Apache Airflow is licensed under the Apache License 2.0 and maintained by the Apache Software Foundation. The project itself sells no paid edition, so the cost of running it is the infrastructure underneath it and the people who operate it. Those costs recur every month, and they grow with the number of environments, pipelines and upgrade cycles you carry.

  • License: The project is Apache-2.0, so there is no per-seat or per-node license fee from the project.
  • Who you pay: Your cloud or data center provider charges for compute and storage, and your team or a contractor is paid to upgrade, patch and back up the scheduler, DAG processor, API server and metadata database.
  • Version status: Airflow 2 reached end of life on April 22, 2026 and gets no fixes. Airflow 3, first released April 22, 2025, is the maintained line, with 3.3.2 as the current patch release.
  • Database: The supported metadata databases are PostgreSQL 14 to 18 and MySQL 8.0, 8.4 and Innovation releases. SQLite is for testing only, and MariaDB is not supported.
  • Vendor offerings: Companies that distribute or host Airflow sell their own terms, support and pricing, separate from the Apache project.

Before you budget, confirm the Airflow version you would start on against the Airflow supported versions page, and confirm the terms of any vendor-distributed offering directly with that vendor.

What implementing each platform involves in practice

Airflow has the heaviest setup of the three. A working installation needs four core components: the scheduler, the DAG processor, the API server and a metadata database. Choose the database first, because the prerequisites support PostgreSQL 14 to 18 and MySQL 8.0 or 8.4, while MariaDB is not supported as the metadata database and SQLite should not be used in production. Confirm your Python version, since Airflow 3.3.2 runs on Python 3.10 to 3.14, and plan for at least 4 GB of RAM. If you run tasks on Kubernetes, the supported range is 1.30 to 1.35. Any estate still on 2.x needs attention now: Airflow 2 reached end of life on April 22, 2026, so it receives no fixes. Move it through the Airflow 3 upgrade guide before adding new DAGs.

Prefect starts simply on a single server, but multi-server setups add more moving parts. The self-hosted server bundles an API, a UI and a database that records run state, logs, deployments and automations. It uses SQLite by default, so move to PostgreSQL, which must be version 14.9 or later for multi-server deployments. Those deployments also need Redis for event messaging and a load balancer in front of the API servers. Every client needs Python 3.11 or later. The upgrade order matters: old clients work with new servers, but new clients can be incompatible with old servers because new fields are added to the REST API. Upgrade the server first, then move workers and flow environments to the new client, and test one work pool before rolling out everywhere.

Windmill is deployed with Docker Compose or Kubernetes Helm charts, and production data should sit in an external PostgreSQL service such as AWS RDS, GCP Cloud SQL or Azure. Windmill's README suggests sizing with one worker per vCPU and 1 to 2 GB of RAM, which you should confirm with your own load tests. Flows and apps are built in the languages your team already uses, including Python, TypeScript, Go, Bash and SQL, so the language mix decides who can build and maintain each pipeline. Across all three platforms, effort is driven by identity wiring (SSO and role mapping), the number of pipelines to migrate and run, the language mix, and how often you back up and upgrade. Durations depend on a written scope, so ask each vendor or implementation partner to price these four drivers against your own estate before you commit.

Apache Airflow vs Prefect vs Windmill: what drives running cost

Apache Airflow and self-hosted Prefect carry no license fee, and Windmill Community Edition is free within its limits, so running cost comes from infrastructure, databases, staff time and any paid tier. The cards show which items recur, what drives each one up, and what to check before you sign.

Airflow: no license fee, recurring operations cost

Apache Airflow is Apache-2.0 licensed and the project sells no paid edition, so its running cost is operational. A production install runs a scheduler, a DAG processor, an API server and a metadata database, with workers and a triggerer added as needed. Each component is compute you size, and the database grows with run history, so plan retention and backups early. Staff who operate and upgrade it are a recurring cost with no vendor invoice. Airflow 2 reached end of life on April 22, 2026, so confirm the move to Airflow 3 is costed in your plan.

Airflow version support

Prefect: server infrastructure or seats

Self-hosted Prefect costs what you run: the server API, UI and database, with PostgreSQL 14.9 or later, Redis and a load balancer once you run more than one server. Prefect Cloud moves the bill to seats. The Team plan is listed at $100 per user per month, and SSO starts at Team. Cost climbs with every user you add, and object-level RBAC sits on Enterprise, which uses custom pricing. The self-hosted server does not include RBAC, audit logs or SSO, so confirm which of those your security team requires before you choose between self-hosted and Cloud.

Prefect pricing

Windmill: free limits, then paid tiers

Windmill Community Edition is free to self-host with unlimited executions, within 3 workspaces, 50 users and 4 groups. Enterprise adds paid charges: from $120 per month, $20 per month per developer, $10 per month per operator and compute units. Once you pass the community limits, cost follows headcount and compute. Worker count follows the README's rule of thumb of one worker per vCPU with 1 to 2 GB of RAM, so ask how compute units are metered against that worker count before you size the fleet.

Questions to put in any quote

Ask every vendor and partner for a written scope that lists each component, environment and deliverable. Separate one-time and recurring items, such as installation, migration and hardening on one side and subscriptions, support, upgrades and patching on the other. Confirm who pays for cloud accounts, managed databases and backup storage, and whether patch support covers the versions you run. Finally, ask what each tier includes, such as SSO, RBAC, audit logs and worker limits, so you compare like with like.

How much effort does it take to run Airflow, Prefect or Windmill in-house?

What skills does an in-house Airflow, Prefect or Windmill setup need?

All three need a production-grade database, usually PostgreSQL, plus people who can operate it. Airflow pipelines are Python DAGs, and an Airflow installation runs a scheduler, a DAG processor, an API server and a metadata database, typically PostgreSQL or MySQL, with optional workers and a triggerer. The Airflow 3.3.2 prerequisites list Python 3.10 to 3.14, PostgreSQL 14 to 18 and Kubernetes 1.30 to 1.35, and the documentation says SQLite should not be used in production. Prefect requires Python 3.11 or later, and its self-hosted server uses PostgreSQL for production. Windmill runs scripts in several languages, including Python, TypeScript, Go and SQL, and its backend pulls jobs from a PostgreSQL queue. Kubernetes is an extra skill set only if you choose to run the platform on it, since Windmill also documents Docker Compose.

How long does an in-house implementation of these platforms take?

There is no standard duration for this work, so the timeline should follow from a written scope. The main drivers are the number of pipelines or flows you migrate, how many source systems and secrets the workflows touch, whether you need high availability, and how much identity and audit setup must be finished before go-live. Airflow supports running more than one scheduler at the same time through database row-level locks, and that design needs its own testing. Multi-server Prefect needs PostgreSQL 14.9 or later, Redis for event messaging and a load balancer. Windmill's README gives a sizing rule of one worker per vCPU with 1 to 2 GB of RAM, which helps with capacity planning but does not set a schedule. Ask any internal team or implementation partner to break the work into phases with named deliverables, test environments and acceptance steps, then compare those phases against your change calendar.

Can our team run these platforms without outside help?

Often yes for a small, stable setup, and the answer depends on three skill areas: database operations, worker operations and upgrades. Database work covers backups, restores, connection limits and supported database versions, because all three platforms keep their state in a database. Worker work covers scaling, queue health and sandboxing, and Windmill's sizing rule of one worker per vCPU is a starting point you must validate under your own load. Upgrades are usually the largest recurring item. Airflow 2 has already reached end of life, so any team still on it is past the point where a routine upgrade can wait. Before you commit, confirm that your team can run a staging environment, rehearse an upgrade and restore from a backup. If one of those three areas is thin, plan for a retainer or a fixed-scope engagement covering that part.

Does self-hosted Prefect include SSO and audit logs?

According to the Prefect server documentation, Prefect Cloud provides RBAC, audit logs and SSO that the self-hosted Prefect server does not include. Confirm the current status in the self-hosted documentation before you finalize a design, because feature availability changes between releases. If you need SSO and audit logs, you have two routes. The first is Prefect Cloud, where the pricing page lists SSO from the Team plan at $100 per user per month and object-level RBAC on Enterprise. The second is to place an authenticating reverse proxy and central log collection in front of the self-hosted server. The second route is custom engineering that your team or a partner must build, test and maintain, and the audit trail is only as complete as the events you capture. Ask the vendor which controls its current release provides for self-hosted deployments and how long audit events are retained.

What should a team still running Airflow 2 do now?

Airflow 2 reached end of life on April 22, 2026, so it receives no fixes, including security fixes, and the upgrade should be treated as urgent. Airflow 2 entered limited maintenance on October 22, 2025, when only security and critical bug fixes were provided, and that window has now closed. Airflow 3 was first released on April 22, 2025, and its current patch release is 3.3.2. Start with an inventory of DAGs, custom operators, plugins, connections and the current database version. Then work through the official upgrading guide for the changes that affect your code. Run the migrated DAGs in a staging environment against a copy of the metadata database before you cut over. The effort depends mainly on how much custom code and how many integrations you run, so ask any partner for a written scope that lists them. If you cannot move right away, restrict the Airflow 2 environment's network access while you plan the migration.

How does DeployOpen scope and quote an engagement?

DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure, and most engagements are fixed-scope. Scope, deliverables and timelines are agreed in writing before work starts, so the written scope is the document to compare across vendors. DeployOpen does not publish a price list, and a quote follows from the written scope. To get comparable quotes, give each bidder the same inputs: the platform, the number of pipelines or flows, source and target systems, environments, high availability needs, SSO and audit logging requirements, and which upgrade and backup duties you want to hand over. Ongoing support, upgrades and continuous testing are available as retainers, so the recurring cost should appear as a separate line in the quote. Ask for the deliverables, the acceptance criteria and the exclusions, and keep them in the same signed document.

How DeployOpen helps choose and implement without picking a winner

DeployOpen is a Chainscore Labs company that plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure. For this decision, we help you compare Apache Airflow, Prefect and Windmill against your data, hosting and team constraints, then implement the option you choose in your cloud account, data center or air-gapped network. We do not pick a winner for you.

How we scope

  • Scope is agreed in writing before work starts, so the Airflow, Prefect or Windmill boundary is explicit.
  • We map your data sources, hosting target and team skills to the components each option requires.
  • Written scope lists which Airflow components, Prefect server parts or Windmill workers are in and out of scope.

How we build

  • Airflow builds cover the scheduler, DAG processor, API server, metadata database and any optional workers.
  • Prefect builds cover a PostgreSQL server database, plus Redis and a load balancer for multi-server setups.
  • Windmill builds cover Docker Compose or Helm deployment, external PostgreSQL, and worker sizing for your workload.

How we hand over

  • Handover includes architecture notes, runbooks, configuration records and a walkthrough of the chosen platform.
  • Handover notes cover upgrade paths, including moving from Airflow 2, which reached end of life on April 22, 2026.
  • Hardening notes record access, secrets and sandboxing choices so your security team can review them.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Upgrade planning covers Prefect's 3.x line and the 2.x line that still receives releases.
  • Windmill's frequent release cadence means the quote should name who applies upgrades.

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.