> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openpawz.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Gemini

> Use Gemini 2.5 Pro, Gemini 2.5 Flash, and other Google models.

# Google Gemini

Use Gemini 2.5 Pro, Gemini 2.5 Flash, and other Google models.

## Setup

1. Get an API key at [aistudio.google.com/apikey](https://aistudio.google.com/apikey)
2. In Pawz → **Settings → Providers** → **Add Provider** → **Google**
3. Paste your API key

## Configuration

| Setting       | Default                                            |
| ------------- | -------------------------------------------------- |
| Base URL      | `https://generativelanguage.googleapis.com/v1beta` |
| API key       | Required                                           |
| Default model | —                                                  |

## Models

| Model              | Best for                        |
| ------------------ | ------------------------------- |
| `gemini-2.5-pro`   | Most capable, coding, reasoning |
| `gemini-2.5-flash` | Fast, cost-effective            |
| `gemini-2.0-flash` | Previous gen, still solid       |

## Prefix routing

Model names starting with `gemini*` or `google*` auto-route to Google.

## Notes

Google uses a custom API format. Pawz has a dedicated `GoogleProvider` implementation that handles:

* Gemini message format conversion
* Tool use format (function calling)
* Streaming response handling
* Thought parts (Gemini's reasoning tokens)
