Mastra: Pricing, Features & Alternatives
Mastra is a TypeScript framework for building AI agents and AI-powered applications, built by the team behind Gatsby. It bundles agents, a graph-based workflow engine (.then/.branch/.parallel), a memory system, evals, and observability, with MCP tool sharing and OpenAI-compatible access to thousands of models. It hit 1.0 in January 2026 and is, alongside Vercel AI SDK, a common choice for TypeScript teams. Free and open-source, with an optional hosted Mastra Cloud platform.
Who it’s for: TypeScript teams that want agents, workflows, memory, evals and observability in one framework instead of assembling them.
Category
Agent Framework
Pricing
Free tier available
Free tier
Yes
Best for
Agent Framework: TypeScript agents, workflows and memory, batteries included
Mastra at a Glance
- What it is
- Code library: TypeScript agent framework with workflows
- Languages
- TypeScript
- Licence
- Apache 2.0 core; enterprise features under a separate licence
- Managed / paid option
- Mastra Cloud: free Starter, Teams $250/month
- Project status
- Active; 1.x
Checked October 2026 against Mastra licensing (Mastra docs).
Mastra Pricing Plans (2026)
| Plan | Price |
|---|---|
| Open SourcePopular | $0 (open source) |
| Mastra Cloud | Usage-based (hosted) |
Pricing summary: Free · then usage-based. Always confirm current pricing on the official site.
Key Mastra Features
- Agents, a graph-based workflow engine and memory in one package
- Built-in evals and observability
- MCP support for sharing tools
- Mastra Cloud: free Starter, Teams at $250 a month, Enterprise on quote
- Apache 2.0 core; enterprise features under a separate Mastra Enterprise Licence
Pros
- +Built for TypeScript teams
- +Batteries-included (agents, workflows, memory, evals)
- +From the experienced Gatsby team
- +Strong observability & MCP support
Cons
- −Younger than Python frameworks
- −TypeScript-only ecosystem
Best Mastra Alternatives
Compare allMastra Compared
Mastra FAQ
What is Mastra used for?⌄
Mastra is a agent framework tool. Open-source TypeScript agent framework from the Gatsby team: agents, workflows, memory, and observability in one modern stack.
Is Mastra free?⌄
Yes. Mastra has a free tier you can start with, and paid plans for more usage and features.
How much does Mastra cost?⌄
Mastra is free to use, with usage-based pricing on some features.
What are the best Mastra alternatives?⌄
Popular Mastra alternatives include Vercel AI SDK, LangChain, LangGraph, LlamaIndex, OpenAI Agents SDK. Compare pricing and features on our Mastra alternatives page.
Not sure if Mastra fits your stack?
Get a free, AI-powered tech stack tailored to your budget, app type, and team size, including the best agent framework pick for you.
Build my stack free