Mastra
TypeScript AI agent framework with workflows, memory, evals and local dev tooling.
Mastra is an open-source TypeScript framework at mastra.ai for building AI agents and workflows; the framework is free, while Mastra Cloud and hosted features are sold separately (data as of Nov 21, 2026).
*This is an affiliate link, we may earn a commission at no extra cost to you.
Is Mastra free?
Mastra: Free to run locally or self-host from the project source; hosted, support and enterprise tiers may be sold separately (data as of Nov 21, 2026). The source code is public, so you can run or build it yourself. Check the official page for current status before relying on it.
Frequently Asked Questions
Is Mastra free?
The code is free to self-host, but a hosted plan from the vendor may not be. Mastra publishes its source, so cost depends on where you run it.
How much does Mastra cost?
Free to run locally or self-host from the project source; hosted, support and enterprise tiers may be sold separately (data as of Nov 21, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.
Where can I check Mastra's current pricing?
On Mastra's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.
What is Mastra?
Mastra gives a TypeScript codebase the pieces an agent needs: model routing, tools, workflows with control flow, memory, RAG, evals and tracing. It runs on Node and integrates with Next.js, which makes it practical for teams already shipping JavaScript. A local dev server visualises runs and traces while you build.
How does pricing work?
The framework is open source and free to use; hosted deployment, managed storage and team features are paid. Self-hosting means you operate the database, model keys and scaling yourself, and model inference is always a separate bill from your provider. Verify licence and cloud terms on the official site and repository.
How does Mastra compare with other tools in AI Agents & Automation?
Mastra is listed in the AI Agents & Automation category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.
| Tool | Pricing model | Key pricing on file | Price checked |
|---|---|---|---|
| Mastra | Open source | Free to run locally or self-host from the project source; hosted, support and enterprise tiers may be sold separately (data as of Nov 21, 2026) | Nov 21, 2026 |
| LangGraph | Open source | Free to run locally or self-host from the project source; hosted, support and enterprise tiers may be sold separately (data as of Nov 21, 2026) | Nov 21, 2026 |
| CrewAI | Open source | Free to run locally or self-host from the project source; hosted, support and enterprise tiers may be sold separately (data as of Nov 21, 2026) | Nov 21, 2026 |
3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.
Full pricing breakdown
Mastra's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.
Open source does not always mean every hosted version is free.
Key pricing: Free to run locally or self-host from the project source; hosted, support and enterprise tiers may be sold separately (data as of Nov 21, 2026)
Estimate your monthly bill with our calculator →Or build a full stack around your budget →Pricing Guides & Comparisons
Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.
⭐ Rate this tool
How would you rate this tool?
🚀 Never Miss a New AI Coding Tool
Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.
Current Alternatives
Tool Information
- Official Websitemastra.ai
- CategoryAI Agents & Automation
- PricingOpen Source
- Price checkedNov 21, 2026
