RealtimeModel class

Realtime-capable, low-latency models (WebSocket / /realtime/* APIs).

Inheritance

Constructors

RealtimeModel(String value)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → String
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromJson(String raw) → RealtimeModel
Parses the wire value or throws if it’s an unknown model string.

Constants

gpt4oRealtimeMiniPreview → const RealtimeModel
Same architecture, but text-only and slightly cheaper.
gpt4oRealtimePreview → const RealtimeModel
Public preview model (speech + text).
gpt4oRealtimePreview_2025_06_03 → const RealtimeModel
gptRealtime → const RealtimeModel
GA speech-in/speech-out model.