# ![Vertex logo](https://models.dev/logos/google-vertex.svg)Vertex

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](https://ai-sdk.dev/providers/ai-sdk-providers/google-vertex).

To use this provider with Mastra agents, see the [Agent Overview documentation](https://mastra.ai/docs/agents/overview).

## Installation

**npm**:

```bash
npm install @ai-sdk/google-vertex
```

**pnpm**:

```bash
pnpm add @ai-sdk/google-vertex
```

**Yarn**:

```bash
yarn add @ai-sdk/google-vertex
```

**Bun**:

```bash
bun add @ai-sdk/google-vertex
```