---
description: "Google Gemini inference provider for accessing Gemini models and Google's AI services."
sidebar_label: Remote - Gemini
title: remote::gemini
---

# remote::gemini

## Description

Google Gemini inference provider for accessing Gemini models and Google's AI services.

## Configuration

| Field | Type | Required | Default | Description |
|-------|------|----------|---------|-------------|
| `allowed_models` | `list[str \| None` | No |  | List of models that should be registered with the model registry. If None, all models are allowed. |
| `refresh_models` | `<class 'bool'>` | No | False | Whether to refresh models periodically from the provider |
| `api_key` | `str \| None` | No |  | API key for Gemini models |

## Sample Configuration

```yaml
api_key: ${env.GEMINI_API_KEY:=}
```
