Usage guide

Setup, environment variables, and Python/JavaScript/Go usage examples.

XAIRealtime

xAI’s Grok realtime model implementation Slot: realtime. Route: plugins — direct to the vendor, with XAI_API_KEY or an explicit api_key.

Fields

str
default:"grok-4-1-fast-non-reasoning"
XAIRealtimeConfig | None
default:"None"
Accepts XAIRealtimeConfig, or a plain mapping with the same fields.
str | None
default:"None"

XAIRealtimeConfig

Configuration for the xAI (Grok) Realtime API Mirrored, not imported: the vendor’s class is rebuilt from this on the runtime side. A mapping is still accepted wherever this is.

Fields

Literal['Ara', 'Rex', 'Sal', 'Eve', 'Leo']
default:"UNSET"
str | None
default:"UNSET"
Mapping[str, Any] | None
default:"UNSET"
List[str]
default:"UNSET"
List[str] | None
default:"UNSET"
str | None
default:"UNSET"
int
default:"UNSET"