Skip to main content
Mastra 1.0 is available 🎉 Read announcement

Cloudflare AI Gateway logoCloudflare 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
Direct link to Installation

npm install ai-gateway-provider
On this page