Skip to main content
Tool Coding freemium active 8-8.9
8/10 Strong
Active

$0-$250/month + usage add-ons / custom enterprise

Best plan

$0-$250/month + usage add-ons / custom enterprise

Watch out: The flat Teams price is only part of production cost; CPU hours, observability events, data egress, persistent server uptime, Memory Gateway tokens/storage, platform storage, LibSQL/Postgres meters, model/API costs, sandbox execution, and ACP harness permissions can all add spend or security review

Try Mastra free

Editorial · no paid placements

The call

Mastra is a TypeScript-first framework and platform for agents, workflows, RAG, memory, evals, observability, model routing, and production agent APIs. The framework is mostly Apache 2.0 and free; Mastra Platform has a $0 Starter plan, $250/month Teams plan, custom Enterprise, and usage meters for CPU, observability, egress, persistent server uptime, Memory Gateway tokens/storage, platform storage, database usage, and model-provider usage as of June 22, 2026. Pick it if your stack is TypeScript and you want agent logic in app code. Skip it if you are Python-first, want no-code automation, or cannot review sandbox/ACP harness permissions.

  • Buy if TypeScript and JavaScript developers building AI agents
  • Pick $0-$250/month + usage add-ons / custom enterprise
  • Skip if Python-first teams

Evidence rail

Why this recommendation is trusted

Source
Registered source
Freshness
Current
Confidence
High confidence
Verified
Review
Volatility
Volatile

High-volatility evidence needs frequent review.

Build comparison
Watch out
The flat Teams price is only part of production cost; CPU hours, observability events, data egress, persistent server uptime, Memory Gateway tokens/storage, platform storage, LibSQL/Postgres meters, model/API costs, sandbox execution, and ACP harness permissions can all add spend or security review.

Editorial score

Unweighted average of 4 axes · confidence high

  • Utility 9/10

    How much real work it can do for a competent operator, end to end.

  • Value 8/10

    What you get for the dollar relative to the closest alternative.

  • Moat 7/10

    How hard it would be for a competitor to replicate the underlying advantage.

  • Longevity 8/10

    How likely the product is to still be best-in-class 24 months out.

Key facts

  1. Best For Best for TypeScript teams building AI agents, graph-style workflows, RAG systems, memory-backed assistants, evals, and production API endpoints inside a modern web stack.
    high Drifts 2026-06-22 Mastra documentation
  2. Pricing Anchor Mastra's Apache 2.0 framework remains free; Mastra Platform currently lists Starter at $0/month, Teams at $250/month, Enterprise custom pricing, and usage meters for observability events, CPU time, data egress, persistent server uptime, Memory Gateway input/output at market rate plus 5.5%, memory tokens, retrieval storage, platform storage, LibSQL rows, Postgres compute, and database storage.
    high Volatile 2026-06-22 Mastra pricing
  3. Watch Out For The flat Teams price is only part of production cost; CPU hours, observability events, data egress, persistent server uptime, Memory Gateway tokens/storage, platform storage, LibSQL/Postgres meters, model/API costs, sandbox execution, and ACP harness permissions can all add spend or security review.
    high Volatile 2026-06-22 Mastra pricing
  4. Platform Scope Mastra Platform currently packages Observability, Studio, and Server for hosted traces/logs/metrics, team testing, and API-server deployment; teams can also deploy Mastra to Node-compatible environments, Bun, Deno, Cloudflare, VMs, containers, PaaS platforms, and cloud providers.
    high Drifts 2026-06-22 Mastra Platform documentation
  5. Open Source Mastra's GitHub repository describes a dual-license model: the core framework and most of the codebase are Apache-2.0, while directories named `ee/` use the Mastra Enterprise License and require an enterprise license for production use.
    high Drifts 2026-06-22 Mastra GitHub repository
  6. Traction Mastra's official site and GitHub repository displayed roughly 25.3k GitHub stars; the About page says the company started in 2024, came from the Gatsby team, gets millions of downloads each month, raised $35m, and has a globally distributed team in the mid-30s.
    high Drifts 2026-06-22 Mastra about page
  7. Model Router Mastra's model-router docs claim access to 4,539 models from 133 providers through a unified interface, with model fallbacks and provider-specific options; provider API keys, model availability, and downstream provider costs remain external to Mastra.
    high Volatile 2026-06-22 Mastra model router docs
  8. Recent Agent Features June 2026 Mastra releases added Code Mode for isolated multi-tool computations, Agent Signals for steering and observing long-running agents, Agent Client Protocol support, and a June 15 harness architecture write-up for long-running coding agents.
    high Volatile 2026-06-22 Mastra blog

Mastra is the TypeScript-native agent framework built by the former Gatsby team. It gives JavaScript and TypeScript teams agents, graph-style workflows, RAG, memory, evals, observability, MCP support, and deployment paths without moving the agent layer into Python.

System Verdict

Pick Mastra if your product stack is TypeScript and you want agent logic to live beside the rest of your app. It is strongest for teams shipping AI features in Next.js, React, Node, Hono, Astro, serverless, or standalone API services.

Skip it if your organization is Python-first or wants a visual no-code builder. LangGraph, Microsoft Agent Framework, CrewAI, LangFlow, and Voiceflow are better fits depending on whether the gap is language, enterprise cloud alignment, or builder UX.

Best plan: start with the mostly Apache 2.0 framework and $0 Platform Starter. Move to Teams at $250/month only when shared Studio/Server deployments, SSO/SOC 2 docs, longer retention, or higher included CPU/egress/storage matter. Budget separately for CPU, observability, egress, persistent server uptime, Memory Gateway, model-provider costs, and any sandbox or ACP harness infrastructure.

Key Facts

Last verifiedJune 22, 2026
LanguageTypeScript / JavaScript
Framework licenseCore framework and most repository code under Apache-2.0; ee/ code uses Mastra Enterprise License
CompanyMastra, founded in 2024 by the former Gatsby team
Current site signal25.3k GitHub stars displayed on mastra.ai/GitHub
Funding/team signalAbout page says $35m raised and a globally distributed team in the mid-30s
Core primitivesAgents, tools, workflows, RAG, memory, evals, observability, MCP, Browser, Server, Studio, model routing
Platform Starter$0/month with unlimited users, deployments, and projects plus included usage allowances
Platform Teams$250/month with multiple teams, SSO, SOC 2 docs, 250 CPU hours, 100GB data egress, 100GB platform storage, and six-month retention
EnterpriseCustom platform pricing and custom licensed self-hosted features

What Changed Recently

  • June 22, 2026 pricing recheck: Starter remains $0/month, Teams remains $250/month, Enterprise remains custom, and self-hosted Enterprise remains custom. The live page still makes usage math central: observability events, CPU, egress, persistent servers, Memory Gateway input/output at market rate plus 5.5%, memory tokens, retrieval storage, platform storage, LibSQL rows, Postgres compute, database storage, and model-provider costs can all move the bill.
  • Mastra’s traction claims moved. The site and GitHub now show roughly 25.3k stars, while the About page says Mastra raised $35m, gets millions of downloads each month, and has a globally distributed team in the mid-30s. Treat these as current marketing/procurement signals, not independent adoption proof.
  • Code Mode is the new analytical-agent feature to test. Mastra’s June 9 post says Code Mode lets agents run multi-tool computations in an isolated sandbox, reducing repeated tool-result context and improving analytical answers. That makes sandbox policy and data-access boundaries part of the buyer review.
  • Agent Signals and ACP widen the orchestration story. The June 3 Signals post adds steering, observing, notification, and state primitives for long-running agents; the June 2 ACP post adds delegation to Claude Agent, Codex CLI, Cursor, Gemini CLI, or compatible harnesses. Useful, but permissions and workspace isolation need a real security review.
  • The model router is bigger than the old page implied. Current docs claim 4,539 models from 133 providers through one interface, with fallbacks and provider-specific options. That is a flexibility advantage, not bundled model spend.
  • Mastra Platform is now the commercial center. Studio and Server can be deployed to the cloud, while the open-source framework remains free.
  • Pricing is no longer just “$0 or $250.” The public page now exposes add-on rates for observability events, CPU time, data egress, persistent server uptime, Memory Gateway tokens, and retrieval storage.
  • Memory Gateway matters beyond Mastra apps. Mastra markets it as memory for any agent/framework, with token and storage meters.
  • Recent production updates focused on operations. The May blog cadence emphasized background tasks and observability work, which fits Mastra’s buyer: teams shipping agents as production services rather than one-off prompts.
  • Model choice is intentionally external. Mastra is the framework and platform layer. Budget model-provider spend separately and avoid assuming a specific Claude, OpenAI, or Gemini model is bundled into Mastra pricing.

When to Pick Mastra

  • TypeScript-first teams. Tool definitions, workflow state, agent inputs, eval outputs, and app code can stay in one language and type system.
  • Agent APIs inside web products. Mastra can run inside existing frameworks or as a standalone server, so the agent layer can ship as normal infrastructure.
  • Workflows need explicit control. Mastra workflows support graph-style control flow for multi-step processes where you do not want a fully autonomous loop.
  • Production visibility matters early. Studio, evals, traces, logs, metrics, and CloudExporter make it easier to debug before the agent becomes a black box.
  • Memory is a first-class requirement. Mastra’s docs include message history, resource/thread scoping, and observational memory for long-running conversations.

When to Pick Something Else

Pricing

Plan / meterCurrent public priceNotes
Open-source framework$0Apache 2.0; build and host agents anywhere
Platform Starter$0/monthUnlimited users/deployments/projects; includes 100K observability events, 24 CPU hours, 10GB egress, 15-day retention, and Memory Gateway starter allowances
Platform Teams$250/monthAdds multiple teams, SSO, SOC 2 docs, 250 CPU hours, 100GB egress, 100GB platform storage, six-month retention, and larger Memory Gateway allowances
Platform EnterpriseCustomCustom volume/retention, RBAC, audit logs, support and uptime SLAs, dedicated support engineer
Persistent Server$100/project on Starter and TeamsListed as 24/7 uptime add-on on the public pricing page
Usage add-onsVariesObservability events, CPU time, data egress, Memory Gateway input/output at market rate plus 5.5%, memory token usage, retrieval storage, platform storage, LibSQL rows, Postgres compute, database storage, and model-provider usage can add cost
Self-hosted EnterpriseCustom annual feeLicensed self-hosted features, RBAC, SSO, IAM/network-policy integration, predictable annual fee, and data staying in the customer’s VPC

Pricing verified June 22, 2026 against Mastra’s public pricing page. Model-provider costs (Anthropic, OpenAI, Google, and others) are not included in Mastra pricing.

Failure Modes

  • Usage math is easy to underestimate. Teams that leave persistent servers running, generate high trace volume, or use Memory Gateway heavily may pay more than the headline $250/month Teams plan.
  • TypeScript-only by design. This is a strength for web teams and a mismatch for Python-first data/agent teams.
  • You still need production engineering. Mastra supplies framework and platform primitives, but auth, secrets, data retention, eval quality, and deployment architecture remain your responsibility.
  • Sandbox and harness permissions are now part of the review. Code Mode, ACP delegation, and long-running Signals workflows are powerful, but buyers should check workspace isolation, tool approvals, external agent credentials, logs, and data boundaries before letting agents operate on production repositories or customer data.
  • Fast-moving surface area. Platform, Memory Gateway, observability, background tasks, and integrations are evolving quickly; procurement teams should re-check docs before committing.
  • No-code buyers will bounce. Studio helps inspect and test, but Mastra is not a drag-and-drop business automation builder.

Against the Alternatives

MastraLangGraphMicrosoft Agent FrameworkCrewAI
Primary fitTypeScript agent appsStateful production agentsAzure/Microsoft enterprise agentsPython role-based crews
Main languageTypeScript / JavaScriptPython + JavaScript/TypeScript.NET + PythonPython
License postureApache 2.0 frameworkMIT libraryOpen sourceOpen source
Hosted pathMastra Platform: Observability + Studio + ServerLangSmith DeploymentAzure AI FoundryCrewAI Enterprise
Best plan guidanceStart free, pay Teams when platform collaboration/usage limits matterFree library, pay LangSmith when tracing/deployment mattersUse when Azure governance mattersUse for faster multi-agent crew prototypes
Watch-outUsage meters beyond TeamsLangSmith deployment/trace costsAzure ecosystem pullLess explicit graph control

Methodology

Produced by the aipedia.wiki editorial pipeline. Last verified June 22, 2026 against Mastra official site, documentation, pricing, model-router docs, platform/deployment docs, customers page, About page, GitHub repository, and recent Mastra Code Mode, Agent Signals, ACP, and harness blog surfaces.

FAQ

Is Mastra really free? The framework is free and Apache 2.0 licensed. Mastra Platform also has a $0 Starter plan, but production usage can create add-on costs once CPU, observability, egress, persistent server uptime, Memory Gateway, storage, or model usage grows.

Is all of Mastra Apache 2.0? Not quite. The public repository says the core framework and most code are Apache-2.0, while directories named ee/ are source-available under the Mastra Enterprise License and require a valid enterprise license for production use.

What is Mastra Platform? Mastra Platform is the hosted product around Studio and Server. Studio is the hosted visual environment for testing agents, workflows, and traces; Server deploys the Mastra application as an API server.

How is Mastra different from LangGraph? Mastra is built for TypeScript product teams and web deployment ergonomics. LangGraph has the larger LangChain/LangSmith ecosystem and remains the stronger default for Python-first stateful agents.

Can I deploy Mastra without Mastra Platform? Yes. Mastra can run in Node-compatible environments, Bun, Deno, Cloudflare, standalone servers, web frameworks, VMs, containers, PaaS platforms, and cloud providers. The paid platform is a managed route, not the only deployment path.

What production companies use Mastra? Mastra’s customers page lists case studies and customer references including Sanity, Replit, SoftBank, WorkOS, Counsel Health, Factorial, Index, Cedar, and Kestral.

What changed for Mastra in June 2026? Mastra added ACP support on June 2, Agent Signals on June 3, and Code Mode on June 9. Those updates make it more relevant for long-running agents, coding-agent delegation, and multi-tool analytical workflows, but they also make sandbox, workspace, and permission controls more important.

Sources

Review History

  • 2026-06-22: Re-verified platform pricing, usage meters, model-router scope, GitHub star signal, and June agent/harness posts. Updated model-provider count to 4,539 across 133 providers and added database meters to buyer cost warnings.
  • 2026-06-15: Re-verified platform pricing, usage meters, model-router scope, deployment/platform docs, company traction claims, GitHub stars/license posture, customers page, Code Mode, Agent Signals, and ACP support. Updated watch-outs for sandbox execution, ACP harness delegation, provider-model costs, and enterprise-license boundaries.
  • 2026-06-12: Re-verified Starter, Teams, Enterprise, persistent server, observability event, CPU, data egress, Memory Gateway token, Memory Gateway storage, platform storage, and retention meters. Corrected Starter observability allowance to 100K events and removed unsupported bundled-model implications.
  • 2026-05-13: Re-verified Starter, Teams, Enterprise, persistent server, CPU, observability event, data egress, Memory Gateway storage, and retention meters against the live pricing page; no material changes. Added model-cost context for buyers using Mastra with hosted frontier-model APIs.
  • 2026-05-10: Refreshed Mastra pricing, source provenance, platform/memory guidance, recent product changes, and buyer watch-outs.
  • 2026-04-18: Initial TypeScript agent-framework review.

Reader reviews

Loading…
Share LinkedIn
Was this review helpful?
Embed this score on your site Free. Links back.
Mastra editorial score badge
<a href="https://aipedia.wiki/tools/mastra/" target="_blank" rel="noopener"><img src="https://aipedia.wiki/badges/mastra.svg" alt="Mastra on aipedia.wiki" width="260" height="72" /></a>
[![Mastra on aipedia.wiki](https://aipedia.wiki/badges/mastra.svg)](https://aipedia.wiki/tools/mastra/)

Badge value auto-updates if the editorial score changes. Attribution via the link is required.

Cite this page For journalists, researchers, and bloggers
According to aipedia.wiki Editorial at aipedia.wiki (https://aipedia.wiki/tools/mastra/)
aipedia.wiki Editorial. (2026). Mastra: Editorial Review. aipedia.wiki. Retrieved June 22, 2026, from https://aipedia.wiki/tools/mastra/
aipedia.wiki Editorial. "Mastra: Editorial Review." aipedia.wiki, 2026, https://aipedia.wiki/tools/mastra/. Accessed June 22, 2026.
aipedia.wiki Editorial. 2026. "Mastra: Editorial Review." aipedia.wiki. https://aipedia.wiki/tools/mastra/.
@misc{mastra-editorial-review-2026, author = {{aipedia.wiki Editorial}}, title = {Mastra: Editorial Review}, year = {2026}, publisher = {aipedia.wiki}, url = {https://aipedia.wiki/tools/mastra/}, note = {Accessed: 2026-06-22} }
Spotted an error or want to share your experience with Mastra?

Every tool page is re-verified on a recurring cycle, and corrections land faster when readers flag them directly. If you spot a stale fact, a missing capability, or have used Mastra and want to share what worked or didn't, the editorial desk reviews every message sent through this form.

Email editorial@aipedia.wiki
Report outdated info Help us keep this page accurate