Gemini 3.8 Live models now available on AI Gateway
Mirrored from Vercel — AI for archival readability. Support the source by reading on the original site.
Gemini 3.8 Live and Gemini 3.8 Live Extended Thinking from Google are now available on AI Gateway.
Both models support real-time spoken interactions for voice assistants, conversational experiences, and applications that respond through audio.
google/gemini-3.8-livesupports real-time audio, visual grounding, automatic switching across 97 languages, and background tool calls while the conversation continues.google/gemini-3.8-live-extended-thinkingadds multi-step reasoning that runs in parallel with speech, allowing it to acknowledge requests and narrate progress without interrupting the conversation.
Use either model through the AI SDK's realtime API. Install the Gateway provider and a WebSocket client:
pnpm add @ai-sdk/gateway@latest wsMint a short-lived token, open the WebSocket, and use the model adapter to serialize and parse realtime events:
import { gateway } from '@ai-sdk/gateway';import WebSocket from 'ws';
const modelId = 'google/gemini-3.8-live';const { token, url } = await gateway.experimental_realtime.getToken({ model: modelId,See the realtime quickstart for more details on realtime events and WebSocket connections.
Try Gemini 3.8 Live or Gemini 3.8 Live Extended Thinking in the model playground.
AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime.
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.