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

# Gemini

> Python API reference for the gemini realtime models provider.

<Card title="Usage guide" icon="book" href="/plugins/realtime/gemini" horizontal>
  Setup, environment variables, and Python/JavaScript/Go usage examples.
</Card>

## GeminiRealtime

Gemini's realtime model for audio-only communication

Slot: realtime. Route: plugins -- direct to the vendor, with GOOGLE\_API\_KEY
or an explicit api\_key.

```python theme={null}
from zeroruntime.plugins import GeminiRealtime  # direct to the vendor, with your key
from zeroruntime.inference import GeminiRealtime  # same fields, through the gateway, no vendor key
```

### Fields

<ParamField path="model" type="str | None" default="gemini-3.1-flash-live-preview" />

<ParamField path="config" type="Mapping[str, Any] | None" default="UNSET" />

<ParamField path="service_account_path" type="str | None" default="None" />

<ParamField path="vertexai" type="bool" default="False" />

<ParamField path="vertexai_config" type="Mapping[str, Any] | None" default="UNSET" />
