Mastra
mastra.ai ↗Mastra in short
What it is: A strong pick for TypeScript developers who want agents, workflows and observability in one open-source framework. Price: Open source. Framework open source (Apache 2.0; enterprise features under a separate license). Mastra Platform, per workspace: Free $0 (100K observability events); Starter $25/mo (1 small dedicated project, 250K events); Team $250/mo (3 dedicated projects, SOC 2 report, 10M events); Enterprise custom (RBAC, SSO, audit logs). Usage past the allowances is billed, e.g. $10 per 100K events and $0.25 per GB-hour of memory. (checked 2026-11-30). Best for: build AI agents and workflows in TypeScript; add agents to an existing Next.js, React, Express or SvelteKit app. Watch out: code required: it is a TypeScript framework.
Our verdict
A strong pick for TypeScript developers who want agents, workflows and observability in one open-source framework.
Per its docs and pricing page, Mastra is an open-source TypeScript framework with agents, workflows, memory and observability built in, plus a hosted platform with a free plan.
Based on public docs and pricing pages, not hands-on testing. How we checkStrengths
- Open-source TypeScript agent framework (Apache 2.0, except enterprise features in ee/ folders)
- Agents, workflows and memory in one framework, with Studio, an interactive UI for your project
- Built-in observability: traces, metrics, evals and datasets
- Hosted Mastra Platform has a free plan with unlimited agents, users and deployments
Limitations
- Code required: it is a TypeScript framework
- Enterprise features in ee/ folders use a separate Mastra Enterprise Edition license
- Hosted platform bills compute, connections, egress and observability events beyond each plan's allowance
Mastra pricing
Framework open source (Apache 2.0; enterprise features under a separate license). Mastra Platform, per workspace: Free $0 (100K observability events); Starter $25/mo (1 small dedicated project, 250K events); Team $250/mo (3 dedicated projects, SOC 2 report, 10M events); Enterprise custom (RBAC, SSO, audit logs). Usage past the allowances is billed, e.g. $10 per 100K events and $0.25 per GB-hour of memory.
From the official pricing page, checked 2026-11-30. Plans change, so confirm before you buy.
Is Mastra free?
It has an open-source option. Framework open source (Apache 2.0; enterprise features under a separate license). Mastra Platform, per workspace: Free $0 (100K observability events); Starter $25/mo (1 small dedicated project, 250K events); Team $250/mo (3 dedicated projects, SOC 2 report, 10M events); Enterprise custom (RBAC, SSO, audit logs). Usage past the allowances is billed, e.g. $10 per 100K events and $0.25 per GB-hour of memory. (official pricing page, checked 2026-11-30)
What Mastra costs, plan by plan
Framework
- Price
- $0
- What's included
- Open source (Apache 2.0; enterprise features under a separate license)
- Usage unit
- Mastra Platform, per workspace each month: compute (memory GB-hours and vCPU-hours), connections, egress and observability events
- When limits reset
- Not published
- Past the limit
- Usage past a plan's allowance is billed: $0.25 per GB-hour of memory, $0.25 per vCPU-hour, $0.50 per extra connection, $0.10 per GB of egress and $10 per 100K observability events.
- Can you cap spend?
- Not published
Platform Free
- Price
- $0
- What's included
- Unlimited agents, users and deployments; 360 GB-hours memory, 40 vCPU-hours, 5 connections, 10 GB egress, 100K observability events
- Usage unit
- Mastra Platform, per workspace each month: compute (memory GB-hours and vCPU-hours), connections, egress and observability events
- When limits reset
- Not published
- Past the limit
- Usage past a plan's allowance is billed: $0.25 per GB-hour of memory, $0.25 per vCPU-hour, $0.50 per extra connection, $0.10 per GB of egress and $10 per 100K observability events.
- Can you cap spend?
- Not published
Starter
- Price
- $25/mo
- What's included
- 1 small dedicated project; 720 GB-hours, 100 vCPU-hours, 10 connections, 25 GB egress, 250K events, usage alerts
- Usage unit
- Mastra Platform, per workspace each month: compute (memory GB-hours and vCPU-hours), connections, egress and observability events
- When limits reset
- Not published
- Past the limit
- Usage past a plan's allowance is billed: $0.25 per GB-hour of memory, $0.25 per vCPU-hour, $0.50 per extra connection, $0.10 per GB of egress and $10 per 100K observability events.
- Can you cap spend?
- Not published
Team
- Price
- $250/mo
- What's included
- 1 small and 2 medium dedicated projects; 3.6K GB-hours, 400 vCPU-hours, 50 connections, 50 GB egress, 10M events, SOC 2 report
- Usage unit
- Mastra Platform, per workspace each month: compute (memory GB-hours and vCPU-hours), connections, egress and observability events
- When limits reset
- Not published
- Past the limit
- Usage past a plan's allowance is billed: $0.25 per GB-hour of memory, $0.25 per vCPU-hour, $0.50 per extra connection, $0.10 per GB of egress and $10 per 100K observability events.
- Can you cap spend?
- Not published
Enterprise
- Price
- Custom
- What's included
- RBAC, SSO, audit logs, custom connections and allowances, and dedicated support
- Usage unit
- Mastra Platform, per workspace each month: compute (memory GB-hours and vCPU-hours), connections, egress and observability events
- When limits reset
- Not published
- Past the limit
- Usage past a plan's allowance is billed: $0.25 per GB-hour of memory, $0.25 per vCPU-hour, $0.50 per extra connection, $0.10 per GB of egress and $10 per 100K observability events.
- Can you cap spend?
- Not published
Sources: Mastra: official pricing page (checked 2026-11-30); Mastra license (Apache 2.0 and Enterprise Edition) (checked 2026-11-23). "Not published" means we did not find that value on these official pages. Plans change, so confirm before you buy.
Good for
Note: Docs: https://mastra.ai/docs Code: https://github.com/mastra-ai/mastra License: https://github.com/mastra-ai/mastra/blob/main/LICENSE.md (checked 2026-11-23).
Mastra compared with other AI agents tools
| Tool | Free way in | Cheapest paid plan listed |
|---|---|---|
| Mastra (this tool) | Yes | Starter: $25/mo |
| Cursor | Yes | Plus: $8/mo ($80/yr) |
| GitHub Copilot | Yes | Pro: $10/mo |
| Claude Code | Not listed | Pro: $20/mo ($17/mo billed annually) |
| Devin | Yes | Pro: $20/mo |
| Cline | Yes | ClinePass: $9.99/mo |
| OpenAI Codex | Yes | Go: $8/mo |
| Factory | Yes | Pro: $20/mo |
| OpenCode | Yes | Go: $10/mo |
| Google Antigravity | Yes | With Google AI Pro: $19.99/mo |
| Kiro | Yes | Pro: $20/user/mo |
| Replit | Yes | Core: $20/mo ($18/mo annual) |
| LangGraph | Yes | LangSmith Plus: $39/seat + pay as you go |
| CrewAI | Yes | No paid plan price listed |
| OpenAI Agents SDK | Yes | No paid plan price listed |
| n8n | Yes | No paid plan price listed |
Prices as written on each official pricing page; open a tool for its full plans and limits. How to choose among AI agents tools →
Alternatives pages in Agents: Cursor alternatives, GitHub Copilot alternatives, Claude Code alternatives, Replit alternatives, n8n alternatives
Recent Mastra releases and price changes
- 2026-11-26 · Price change: Mastra's pricing page no longer lists trace retention. Before: Platform Free listed 15-day trace retention, Starter 60 days and Team 180 days. After: The pricing page no longer states trace retention for any plan, so we removed it. Prices and other allowances unchanged: Free $0, Starter $25/mo, Team $250/mo, Enterprise custom.
Each item is confirmed on the vendor's changelog, announcement or pricing page linked above.
FAQ
Is Mastra free?
It has an open-source option. Framework open source (Apache 2.0; enterprise features under a separate license). Mastra Platform, per workspace: Free $0 (100K observability events); Starter $25/mo (1 small dedicated project, 250K events); Team $250/mo (3 dedicated projects, SOC 2 report, 10M events); Enterprise custom (RBAC, SSO, audit logs). Usage past the allowances is billed, e.g. $10 per 100K events and $0.25 per GB-hour of memory. (official pricing page, checked 2026-11-30)
How much does Mastra cost?
Framework open source (Apache 2.0; enterprise features under a separate license). Mastra Platform, per workspace: Free $0 (100K observability events); Starter $25/mo (1 small dedicated project, 250K events); Team $250/mo (3 dedicated projects, SOC 2 report, 10M events); Enterprise custom (RBAC, SSO, audit logs). Usage past the allowances is billed, e.g. $10 per 100K events and $0.25 per GB-hour of memory. (from mastra.ai/pricing, checked 2026-11-30).
What is Mastra used for?
Listed use cases: build AI agents and workflows in TypeScript; add agents to an existing Next.js, React, Express or SvelteKit app; trace and evaluate agents before and after release.
What are the best alternatives to Mastra?
Other AI agents tools in this directory: Cursor, GitHub Copilot, Claude Code, Devin (incl. Devin Desktop, formerly Windsurf). We list them in data order, not ranked.
Did you test Mastra?
No. Verdicts are based on each vendor's public docs and pricing pages, not hands-on testing, unless a page says otherwise.