MASTRA GATEWAY

AI Gateway with Observational Memory

Give Any Agent Human-Like Memory

Compress chat history into compact memories that help agents remember what matters. Lower token usage and latency without losing important context.

Route All Traffic Through One Gateway

Use one endpoint for every model. Skip provider SDKs — one API key covers everything.

Platform pricing

Full Pricing

Starter

$0Free for everyone
  • 100K Memory Tokens
  • $10/1M Add-on Tokens
  • 250MB Retrieval Storage
  • 15D Stale Thread Retention
  • Initial $5 credit

Teams

$250Per team/month
  • 1M Memory Tokens
  • $10/1M Add-on Tokens
  • 1GB Retrieval Storage
  • 6MO Stale Thread Retention
  • Bring your own key

Enterprise

Custom
  • Everything in Teams plus:
  • RBAC
  • Support SLA
  • Dedicated Support Engineer
  • Custom Storage/Retention

Mastra is powering the best AI teams

Case Studies