Back to Mastra

Gateways

docs/src/content/en/models/gateways/index.mdx

2025-12-181.3 KB
Original Source

import { CardGrid, CardGridItem } from "@site/src/components/cards/card-grid";import { NetlifyLogo } from "@site/src/components/logos/NetlifyLogo";

Gateway Providers

Gateway providers aggregate multiple model providers and add features like caching, rate limiting, analytics, and automatic failover. Use gateways when you need observability, cost management, or simplified multi-provider access.

Custom gateways

Create custom gateways for private LLM deployments or specialized provider integrations. See Custom Gateways for implementation details.

Built-in gateways

<CardGrid> <CardGridItem title="Azure OpenAI" description="Use your private Azure OpenAI deployments with associated deployment names" href="/models/gateways/azure-openai" logo="https://models.dev/logos/azure-openai.svg" /> <CardGridItem title="Netlify" description="63 models" href="/models/gateways/netlify" logo={<NetlifyLogo />} /> <CardGridItem title="OpenRouter" description="201 models" href="/models/gateways/openrouter" logo="https://models.dev/logos/openrouter.svg"
/>    <CardGridItem
  title="Vercel"
  description="219 models"
  href="/models/gateways/vercel"
  logo="https://models.dev/logos/vercel.svg"

/>
</CardGrid>