# Mastra

Official pricing: https://mastra.ai  
Category: paas · Isolation: dedicated-vm

## Pricing regimes (raw)

- **Native product; see regime notes** (resource) [alt]
- **Mastra Platform Starter CPU-time meter** (sizes): CPU hour (hardware entitlement undisclosed) ? vCPU/? GiB $0.35/h [alt]
- **Mastra Platform Teams CPU-time meter** (sizes): CPU hour (hardware entitlement undisclosed) ? vCPU/? GiB $0.25/h [alt]
- **Mastra Platform Enterprise CPU-time meter** (sizes): CPU hour (hardware entitlement undisclosed) ? vCPU/? GiB $0.288/h [alt]
- **Persistent Server 24/7 uptime add-on** (sizes): per project ? vCPU/? GiB $null/h [addon]

## Features

Yes: snapshots, fork/clone, persistent disk, whole disk survives a stop, idle auto-stop, ≥24 h sessions, custom image (Docker or snapshot), start from your own snapshot, full VM (own kernel), HTTPS preview URLs, self-hosting, BYOC, open source, SOC 2, SSO, Python, Node.js, wake on request, live fork (no pause), audit logs, EU data residency, automatic snapshots, snapshots on demand, hosted agent API (their own agent), gVisor or VM (no shared kernel), inbound access rules, FUSE mounts, kernel features (eBPF, mounts, cgroups)

No: memory snapshots, pause/resume, volumes, your own Docker/OCI image, browser, desktop GUI, computer-use API, browser + desktop control, anti-bot stealth, CAPTCHA solving, residential IPs, preinstalled agents, SSH, public IPv4, egress allowlist, static egress IP, HIPAA, GPU, arm64, Windows, macOS, HTTP method/path egress rules, live resize, memory fork, MCP server, usage per sandbox (API), agent harness API, secret proxy, secret proxy for any API, extra volumes, shared volumes

Unknown: everything else. Evidence (source + quote) per feature: https://battleships.dev/data/providers/mastra.json → feature_evidence

## Company

- Ownership: independent
- Stage: pre-seed [source](https://www.ycombinator.com/companies/mastra)
- Accelerators: Y Combinator Winter 2025 [source](https://www.ycombinator.com/companies/mastra)
- Total raised: unknown
- Last round: unknown (unknown)
- Investors: Moonfire
- Revenue: unknown

YC hint confirmed: the YC directory company 'Mastra' (batch W25 / Winter 2025, status Active) lists website https://mastra.ai, matching the card's domain exactly — same company. Founder/CEO Sam Bhagwat was previously cofounder of Gatsby.js (open-source React framework, scaled to $5M ARR, sold to Netlify); YC founder bio lists him as sole primary founder contact found. Mastra is an open-source (Elastic-license-style OSS core) TypeScript AI agent framework with a hosted 'Mastra Platform' (Starter/Teams/Enterprise pricing). No funding round amount, investor names, valuation, or revenue/ARR figure for Mastra itself could be confirmed or even found as a third-party estimate within the research window; this should be treated as a real data gap, not an assumption of bootstrapped status, given YC participation typically implies at least some outside capital.

## Caveats

- Starter $0 with 24 CPU-hours then $0.35/hour; Teams $250 with 250 CPU-hours then $0.25/hour. Persistent 24/7 server add-on $100/project. Runs, traces, storage, gateway tokens and databases add separate fees. CPU-hour is not a guaranteed vCPU-hour or 8GB configuration; do not multiply by four without docs.
- Null values mean unknown, not free/unlimited. No model-token cost, tax or unverified ancillary charge included.
- Native browser/device/task/credit prices with unknown CPU/RAM are deliberately non-priceable. Check regime before interpreting any partial resource estimate.
- Enterprise CPU time: 'Custom' included hours, then 'add-on $0.00008/sec' (about $0.29/hour).
- Sandbox size behind the CPU-hour rate is not selectable on the default provider: 'Railway currently ignores `cpuCount()` and `memoryMB()`'; on the E2B provider templates 'default to 2 CPUs and 1,024 MB' (PlatformSandbox reference). So a CPU hour cannot be mapped to a vCPU/RAM shape.
- Isolation 'dedicated-vm' is the PlatformSandbox (Railway VM). Mastra Server deploys, which the Persistent Server add-on covers, run as an 'API server container' built from a generated Dockerfile.
- PlatformSandbox stop() only releases the client's lease: 'The VM keeps running under the environment's idle policy', so a stopped sandbox keeps consuming CPU time until idle timeout or destroy().

## How this provider charges


YC: Winter 2025; directory status **Active**. Research scope: public-product-researched. Source: https://www.ycombinator.com/companies/mastra

Agent framework and Mastra platform hosting

## Regime table

| Regime | When it applies | How billed | Numbers | Source |
|---|---|---|---|---|
| Native product; see regime notes | Incomplete or non-resource economics: rates remain null, never interpreted as free. | resource; CPU alloc, memory alloc | Unknown or native-unit billing; see facts below | https://mastra.ai |
| Starter | Plan limits apply | Monthly fee; credits only as stated | fee=0; included usage=$None; concurrent=None; max session h=None | https://mastra.ai |
| Teams | Plan limits apply | Monthly fee; credits only as stated | fee=250; included usage=$None; concurrent=None; max session h=None | https://mastra.ai |
| Enterprise | Plan limits apply | Monthly fee; credits only as stated | fee=None; included usage=$None; concurrent=None; max session h=None | https://mastra.ai |
| Retained disk / GiB-month | Lifecycle/scope must be checked | Native add-on | unverified, not $0 | https://mastra.ai |
| Snapshots / GiB-month | Lifecycle/scope must be checked | Native add-on | unverified, not $0 | https://mastra.ai |
| Egress / GiB | Lifecycle/scope must be checked | Native add-on | unverified, not $0 | https://mastra.ai |
| IPv4 / month | Lifecycle/scope must be checked | Native add-on | unverified, not $0 | https://mastra.ai |

## Verified billing facts and gotchas

1. Starter $0 with 24 CPU-hours then $0.35/hour; Teams $250 with 250 CPU-hours then $0.25/hour. Persistent 24/7 server add-on $100/project. Runs, traces, storage, gateway tokens and databases add separate fees. CPU-hour is not a guaranteed vCPU-hour or 8GB configuration; do not multiply by four without docs.

## Worked example

Requested: 4 vCPU/8 GiB, 50 simultaneous × 8 h/day × 22 days = **8,800 instance-hours**, 30% CPU; 50 GiB snapshots and 100 GiB egress. A month is 730 hours only when explicitly used in rate conversion.

**Total: unknown.** This product does not publish a verified complete 4-vCPU/8-GiB tariff and/or the service bills a different unit. Fifty concurrent instances and eight-hour sessions are not automatically supported. Neither 30% utilization nor retained snapshots can be converted into free resources. Use the native plan terms above and request the missing CPU/RAM, retention, egress and concurrency quote.

## Sources and coverage

- https://www.ycombinator.com/companies/mastra
- https://mastra.ai/
- https://mastra.ai/pricing
- https://mastra.ai/docs
- https://mastra.ai/llms.txt

Page captures and documentation indexes/bundles are in `raw/`; provider JSON lists the evidence paths. HN query results were captured separately as `<id>--hn.txt`; they are discovery leads, not current tariff authority. Downloaded docs do not imply every feature was verified; unsupported assertions remain null.
