> ## 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 (gpt-live-1).

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

```python theme={null}
from zeroruntime.plugins import OpenAILive  # direct to the vendor, with your key
```

### Fields

<ParamField path="model" type="str" default="gpt-live-1" />

<ParamField path="voice" type="str | dict[str, str]" default="marin" />

<ParamField path="config" type="OpenAIBackendConfig | OpenAIDelegateLLMConfig | None" default="None">
  Accepts [`OpenAIBackendConfig`](#openaibackendconfig) or [`OpenAIDelegateLLMConfig`](#openaidelegatellmconfig), or a plain mapping with the same fields.
</ParamField>

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

***

## OpenAIBackendConfig

Delegation to an OpenAI backend Responses model, which calls the agent's function tools

Mirrored, not imported: the vendor's class is rebuilt from this on the
runtime side. A mapping is still accepted wherever this is.

```python theme={null}
from zeroruntime.plugins import OpenAIBackendConfig
```

### Fields

<ParamField path="model" type="str" default="UNSET" />

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

<ParamField path="tool_choice" type="Literal['auto', 'required', 'none'] | None" default="UNSET" />

<ParamField path="parallel_tool_calls" type="bool | None" default="UNSET" />

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

<ParamField path="service_tier" type="Literal['auto', 'default', 'flex', 'priority'] | None" default="UNSET" />

<ParamField path="max_output_tokens" type="int | None" default="UNSET" />

<ParamField path="web_search" type="bool" default="UNSET" />

***

## OpenAIDelegateLLMConfig

Client delegation, answered by a text LLM you choose

Mirrored, not imported: the vendor's class is rebuilt from this on the
runtime side. A mapping is still accepted wherever this is.

```python theme={null}
from zeroruntime.plugins import OpenAIDelegateLLMConfig
```

### Fields

<ParamField path="llm" type="LLM" required />

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