Mastra pricing
Free Starter
Teams $250 a month plus usage; Enterprise custom; framework free
Published by Mastra
Plans and prices
Mastra's Teams plan costs $250 a month plus metered usage, after a free Starter tier, and Enterprise is custom. The Apache 2.0 framework is free to self host, and a licensed self hosted Enterprise edition is sold for one flat annual fee by quote.
Teams at $250 per month, plus metered usage beyond its allowance
Free Starter plan, plus the free Apache 2.0 framework
How billing works
A monthly tier fee with an allowance, then usage metered on observability events, CPU time, egress, memory tokens and retrieval storage.
Self hosting the framework leaves only the customer's own infrastructure and model costs, and the licensed self hosted Enterprise edition carries no per trace or per seat metering. Model usage through the gateway bills at market rate plus 5.5%, or directly by the provider on the customer's own key.
Starter includes 100K observability events, 24 CPU hours, 15 day retention, 10GB egress and unlimited users, deployments and projects. Teams includes 1M events, 250 CPU hours, six month retention, 100GB egress, multiple teams, SSO and SOC 2 documentation. Enterprise adds custom volume and retention, RBAC, audit logs and support SLAs.
On Starter, overage runs $10 per 100K observability events, $0.35 per CPU hour and $0.10 a GB of egress, and on Teams $8 per 100K events, $0.25 per CPU hour and $0.10 a GB. Memory tokens beyond the included amount cost $10 per 1M, retrieval storage $20 a GB and a persistent 24/7 server $100 per project.
What adds to the bill
SSO starts at Teams, while RBAC and audit logs start at Enterprise.
The bill grows with trace volume, compute time and how much agents remember and retrieve, and the gateway markup adds to model spend unless the customer brings its own key.
Contract and support
Starter and Teams are self serve, while Enterprise and the licensed self hosted edition are contracted through sales.
Enterprise adds a dedicated support engineer, architecture and design meetings, a shared Slack channel and SRE support, with support and uptime SLAs covering weekday business hours. On premises platform deployment is offered.
The licensed self hosted Enterprise edition serves teams that need RBAC, SSO, IAM and network policy integration with data kept in their own VPC.
What Mastra does not state
Mastra does not state Enterprise pricing for the Platform or the licensed self hosted edition.
Mastra against its alternatives
Starting prices for Mastra and the products closest to it, each in its own currency and billing unit.
- MastraFree Starter; Teams $250 a month plus usage; Enterprise custom; framework free
- AgnoFree; Pro $150 a month; Enterprise by quote
- LangChainFree and open source
- CloudflareWorkers Paid at $5 a month, with container usage included and per second rates above it.
- OpenAI Agents platformUsage based: model tokens at each model's API rate, hosted tools at their own rates, and sandboxes from $0.03 per 20 minute session for 1 GB.
- HaystackOpen source and free; Studio free; Enterprise Starter and Platform quoted
- LlamaIndexFree with 10K credits a month; Starter $50 a month with 40K credits; Pro $500 a month with 400K credits; Enterprise custom
- Microsoft Agent FrameworkFree and open source under the MIT license
- Pydantic AIFree and open source.
- SmythOSBuilder at $39 per seat a month, plus model and runtime usage