---
title: Google
---

<!-- THIS FILE IS AUTO-GENERATED BY website/scripts/generate-model-docs.js. DO NOT EDIT MANUALLY. -->

# Google

Use `google/<model>` with VoltAgent's model router.

## Quick start

```ts
import { Agent } from "@voltagent/core";

const agent = new Agent({
  name: "google-agent",
  instructions: "You are a helpful assistant",
  model: "google/gemini-2.0-flash",
});
```

## Environment variables

- `GOOGLE_GENERATIVE_AI_API_KEY`
- `GEMINI_API_KEY`

## Provider package

`@ai-sdk/google`

## Default base URL

Not listed.

You can override the base URL by setting `GOOGLE_BASE_URL`.

## Provider docs

- https://ai.google.dev/gemini-api/docs/pricing

## Models

<details>
  <summary>Show models (26)</summary>

- gemini-1.5-flash
- gemini-1.5-flash-8b
- gemini-1.5-pro
- gemini-2.0-flash
- gemini-2.0-flash-lite
- gemini-2.5-flash
- gemini-2.5-flash-image
- gemini-2.5-flash-image-preview
- gemini-2.5-flash-lite
- gemini-2.5-flash-lite-preview-06-17
- gemini-2.5-flash-lite-preview-09-2025
- gemini-2.5-flash-preview-04-17
- gemini-2.5-flash-preview-05-20
- gemini-2.5-flash-preview-09-2025
- gemini-2.5-flash-preview-tts
- gemini-2.5-pro
- gemini-2.5-pro-preview-05-06
- gemini-2.5-pro-preview-06-05
- gemini-2.5-pro-preview-tts
- gemini-3-flash-preview
- gemini-3-pro-preview
- gemini-embedding-001
- gemini-flash-latest
- gemini-flash-lite-latest
- gemini-live-2.5-flash
- gemini-live-2.5-flash-preview-native-audio

</details>
