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.
InstallationDirect link to Installation
- npm
- pnpm
- Yarn
- Bun
npm install ai-gateway-provider
pnpm add ai-gateway-provider
yarn add ai-gateway-provider
bun add ai-gateway-provider