Skip to main content

Vertex logoVertex

Vertex 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 Vertex provider docs.

Vertex isn't a model router provider, so model strings like google-vertex/<model> don't resolve. Pass a model instance from @ai-sdk/google-vertex to the agent's model option instead.

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

Installation
Direct link to Installation

npm install @ai-sdk/google-vertex
On this page