Back to Mastra

Cloudflare AI Gateway

docs/src/content/en/models/providers/cloudflare-ai-gateway.mdx

2025-12-18680 B
Original Source

Cloudflare AI Gateway

Cloudflare AI Gateway is available through the AI SDK. Install the provider package to use their models with Mastra.

For detailed provider-specific documentation, see the AI SDK Cloudflare AI Gateway provider docs.

To use this provider with Mastra agents, see the Agent Overview documentation.

Installation

bash
npm install ai-gateway-provider