> ## 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.

# Openai

> Python API reference for the openai duplex models provider.

## OpenAILive

OpenAI GPT-Live full-duplex voice model that listens and speaks at the same time.
Choose it for the most natural, interruptible speech-to-speech conversations.

Authenticates with OPENAI\_API\_KEY from your environment, or an explicit
`api_key`.

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

### Fields

**model** `str` (default: UNSET)

GPT-Live model to use, e.g. "gpt-live-1". Defaults to 'gpt-live-1'.

**voice** `str | dict[str, str]` (default: UNSET)

Output voice, e.g. "marin", "cinder" or "vesper", or \{"id": "voice\_..."} for an authorized custom voice. Fixed for the session. Defaults to 'marin'.

**config** `Mapping[str, Any] | None` (default: UNSET)

Where tool calls run, fixed for the session: an OpenAI-hosted Responses model, or an LLM you supply that runs them on your side. Defaults to None (not set).

**base\_url** `str | None` (default: UNSET)

Custom OpenAI API base URL, e.g. for a proxy. Defaults to None (not set).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.