Mastra Gateway

API service

An OpenAI- and Anthropic-compatible model gateway that routes one API key to 300+ models with provider failover, and adds observational memory that compresses each conversation into notes so agents keep context without rebuilding it.

Find alternatives to Mastra Gateway

TypeAPI service
RoleBundled component
AvailabilitySold
DeploymentSaaS
Intended forDeveloper
SecurityNot recorded
StatusActive
Sold withinMastra Platform — Included with the parent
PricingFreemium, Usage-based, Subscription, Enterprise quote — official pricing ↗

What it does

Features 5

mastra.ai

Sources

Pricing

Pricing page · 10 Oct 2026

Mastra Platform plan cards: Starter "$0/ month" ("Free for everyone"), Teams "$250/ month", Enterprise "Custom pricing"; the comparison table prices each platform product row by row on all three plans. Gateway rows: Input / Output Tokens "Market Rate + 5.5%" on all plans; Memory Token Usage 100,000 then $10/1M (Starter); Retrieval Storage 250MB then $20/GB (Starter). The Gateway's own page says "transparent pricing with no token markup", which the pricing table's 5.5% row contradicts; the pricing page is the one followed here.

Description

Official documentation · 10 Oct 2026

"Gateway gives any agent human-like memory with observational compression"; one API key and one endpoint with OpenAI- and Anthropic-compatible interfaces reach 300+ models; bring-your-own provider keys; provider failover.

What it does

Official documentation · 10 Oct 2026

Sold within

Pricing page · 10 Oct 2026

The Mastra Platform comparison table prices the Gateway on every plan: "Input / Output Tokens" at "Market Rate + 5.5%" and "Memory Token Usage" at "100,000then $10/1M" on Starter. The Gateway page starts with creating a project in the Mastra console.

Name

Official documentation · 10 Oct 2026

"Mastra Gateway combines observational memory with model routing".

URL

Official documentation · 10 Oct 2026

Page headed "Gateway with Observational Memory". gateway.mastra.ai returned only a page title to a plain fetch.

Also from Mastra

Open Mastra in the directory

Something wrong here? Send a correction — quote this product id: mastra-gateway.