Softwr

AI Agent Builders · head to head

Mastra vs Windmill

Mastra logo

Mastra

AI Agent Builders

Open-source TypeScript framework for building AI agents, workflows and apps

From
Free
Free plan
Yes
Windmill logo

Windmill

Automation Integration

Open-source developer platform for building scripts, workflows, and internal apps

From
Free
Free plan
Yes

The short version

  • Mastra is an Apache 2.
  • Free plans on both; paid from $25/mo and $120/mo.
  • Only Mastra lists agents with tools and instructions; only Windmill lists script-to-workflow engine.
  • Where Mastra falls short: code-first, so non-developers cannot build agents with it.
  • Where Windmill falls short: free self-hosted tier caps SSO users at 10 and workspaces at 3, requiring Enterprise for larger teams.

How do Mastra and Windmill differ?

Mastra and Windmill differ on platforms and category. Only the attributes on which Mastra and Windmill actually diverge.

Attributes where Mastra and Windmill differ
AttributeMastraWindmill
PlatformsWebWeb, API, Linux, Windows, macOS
CategoryAI Agent BuildersAutomation Integration

Identical on both: starting price (Free), pricing model (Open-source), free tier (Yes).

Which features does each one have?

They share no listed features; 8 appear only for Mastra and 6 only for Windmill. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Mastra

  • Agents with tools and instructions
  • Typed workflows with branches and retries
  • Human-in-the-loop pause and resume
  • Memory and semantic recall
  • Evals, datasets and tracing
  • Routing to 90+ model providers
  • MCP server support
  • Deployers for Vercel, Netlify and Cloudflare

Only in Windmill

  • Script-to-workflow engine
  • Auto-generated UIs
  • Self-hosted deployment
  • Git sync
  • SSO support
  • Audit logs

What is each one used for?

Mastra is most often brought in for customer support agents; Windmill for turning ad-hoc scripts into scheduled jobs and APIs. The jobs each tool is most often brought in to do.

Mastra

  • Customer support agentsnot Windmill
  • Internal knowledge searchnot Windmill
  • Coding agentsnot Windmill
  • Incident response automationnot Windmill
  • Agents inside Next.js appsnot Windmill

Windmill

  • Turning ad-hoc scripts into scheduled jobs and APIsnot Mastra
  • Building internal tools from existing Python/TypeScript codenot Mastra
  • Self-hosted automation for engineering teamsnot Mastra
  • Orchestrating multi-language workflowsnot Mastra

Where do Mastra and Windmill fall short?

Mastra's most cited limit: code-first, so non-developers cannot build agents with it. Windmill's: free self-hosted tier caps SSO users at 10 and workspaces at 3, requiring Enterprise for larger teams. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Mastra

  • Code-first, so non-developers cannot build agents with it
  • TypeScript only, so Python teams cannot use it directly
  • Hosted platform overage is billed by usage on compute, egress and events
  • Enterprise features use a separate source-available licence

Windmill

  • Free self-hosted tier caps SSO users at 10 and workspaces at 3, requiring Enterprise for larger teams
  • Compute unit and seat-based pricing (developer vs. operator seats, worker compute units) adds pricing complexity beyond a flat monthly fee
  • Email triggers are capped at 100/day on the free tier, limiting event-driven use cases without upgrading
  • Smaller ecosystem of pre-built integrations compared to more established automation tools like n8n

How much do Mastra and Windmill cost?

Mastra has a free plan, with paid plans from $25/mo; Windmill has a free plan, with paid plans from $120/mo. Plan by plan below, from each vendor's own pricing page.

Mastra

Free
  • FreeFree
    • 100K observability events
    • 10 GB shared egress
    • 5 connections
  • Starter$25/mo
    • 250K observability events
    • 25 GB shared egress
    • Usage alerts
  • Team$250/mo
    • 10M observability events
    • 50 GB shared egress
    • SOC 2 report

Windmill

Free
  • Free / Open-sourceFree
    • Unlimited executions
    • Self-hosted deployment
    • Max 10 users with SSO
  • Enterprise$120/mo
    • Unlimited executions and workspaces
    • Uncapped SSO seats
    • 24/7 priority support (3-hour response)

Which should you pick?

Choose Mastra if

  • You need agents with tools and instructions.
  • You want to start without paying.
  • You also want typed workflows with branches and retries.

Choose Windmill if

  • You need script-to-workflow engine.
  • You want to start without paying.
  • You work on Web, API, Linux, Windows, macOS.
  • You also want auto-generated uis.

Questions people ask

Is Mastra or Windmill better?
It depends on the job. Mastra fits customer support agents; Windmill fits turning ad-hoc scripts into scheduled jobs and APIs. Mastra starts at Free and Windmill at Free.
Which is cheaper, Mastra or Windmill?
Mastra starts at Free and Windmill at Free.
Does Mastra or Windmill run on more platforms?
Mastra runs on Web. Windmill runs on Web, API, Linux, Windows, macOS.
Can I use Mastra for free?
Both have a free tier, so you can try either at no cost before committing.
What is Mastra best used for?
Mastra is most often used for customer support agents, internal knowledge search, coding agents, incident response automation. Of those, customer support agents and internal knowledge search are not what Windmill is typically brought in for.
What can Mastra do that Windmill cannot?
Mastra covers Agents with tools and instructions, Typed workflows with branches and retries, Human-in-the-loop pause and resume, Memory and semantic recall. Windmill covers Script-to-workflow engine, Auto-generated UIs, Self-hosted deployment, Git sync.

Answered from the vendors’ own pages

Mastra: Is Mastra free?

The core framework is open source under Apache 2.0, and the hosted platform has a Free plan at $0 a month.

Source
Windmill: What does Windmill cost?

Windmill's Free and Open-source edition is $0/month for self-hosted use with unlimited executions, while Enterprise starts at $120/month with unlimited workspaces and uncapped SSO seats, priced further by developer/operator seats and compute units.

Source
Mastra: What language is Mastra written for?

Mastra is a TypeScript framework, aimed at developers using Node.js, React and Next.js.

Source
Windmill: Is there a free plan and what are its limits?

The free self-hosted plan supports unlimited executions but caps SSO at 10 users, workspaces at 3, groups/permissions at 4, and email triggers at 100 per day.

Source
Mastra: How many model providers does it reach?

The vendor lists access to 90+ providers through one interface.

Source
Windmill: How is usage metered on Windmill Enterprise?

Enterprise usage is metered through seats (developer seats at $20/month, operator seats at $10/month) and compute units, e.g. $100/month for 2 standard-worker compute units.

Source
Windmill: What happens to a self-hosted Windmill deployment if the company shuts down?

The pricing page addresses this directly as an FAQ topic, noting that self-hosted applications built on the open-source edition can continue running independently of Windmill the company.

Source
Share

Related pages

Other head to heads