AGTCloud API Docs
GuidesAPI ReferenceIntegrations and resourcesUpdate and help
RealtimeGemini Live

Gemini Live model parameter differences

Compare thinking, tool calling, proactive video and voice configuration across Gemini Live models.

Both models share the four endpoints and message structure in WebSocket connection. The tables below focus on model differences; startup configuration fields are inside setup.

Supported models

ModelUsage notes
gemini-4-liveNewFast responses by default; supports background thinking, proactive video and in-session updates to system instructions and tools
gemini-3.8-liveBuilt-in interleaved thinking; uses the existing speech, video-frame and asynchronous-tool flows

Thinking and turns

FieldDifferences
generationConfig.thinkingConfig.thinkingLevel4 Live: omit or set MINIMAL for the default fast mode; LOW, MEDIUM and HIGH enable background thinking. Omit this field for 3.8 Live
generationConfig.thinkingConfig.includeThoughts4 Live can return thought summaries in background-thinking mode; do not use thinkingBudget or XHIGH
serverContent.turnCompleteFor 3.8 Live, and for 4 Live in default/MINIMAL mode, this signals turn completion. With 4 Live background thinking, it may end only an intermediate utterance while the task continues
serverContent.interactionStatusWith 4 Live background thinking, IN_PROGRESS means thinking or tools are still running; only IDLE indicates that the entire task has completed. Do not close the connection or send the next turn after an intermediate turnComplete

Output configuration

FieldDifferences
responseModalities3.8 Live uses ["AUDIO"], not TEXT; enable outputAudioTranscription for reply text. Examples for both models on this page use speech output
Structured output and Logprobs3.8 Live does not use the regular Generate Content responseMimeType, responseSchema, responseJsonSchema or Logprobs settings

Tool calling

FieldDifferences
tools[].functionDeclarations[].behavior3.8 Live, and 4 Live in default/MINIMAL mode, default to NON_BLOCKING and also support BLOCKING. 4 Live LOW/MEDIUM/HIGH modes support only NON_BLOCKING; BLOCKING returns an error
toolResponse.functionResponses[].scheduling3.8 Live, and 4 Live in default/MINIMAL mode, support SILENT, WHEN_IDLE and INTERRUPTED. 4 Live background-thinking mode does not support this field; supplying it returns an error

Proactive video and voices

FieldDifferences
proactivity.proactiveAudioAlways enabled on both models; false returns an error. Omit the removed enableAffectiveDialog field
proactivity.proactiveVideo4 Live only; defaults to false. When enabled, visual changes can trigger spoken replies. Proactive audio must remain enabled, and realtimeInputConfig.turnCoverage must use the default TURN_INCLUDES_AUDIO_ACTIVITY_AND_ALL_VIDEO or TURN_INCLUDES_ALL_INPUT
realtimeInputConfig.turnCoverageBoth default to TURN_INCLUDES_AUDIO_ACTIVITY_AND_ALL_VIDEO, including detected speech activity and all video frames in the current turn
generationConfig.speechConfig.voiceConfig3.8 Live offers 30 preset voices selected with prebuiltVoiceConfig.voiceName. 4 Live extends the preset library and supports voice replication; voice accepts a preset name, voice_... or voicekey_.... Designed voices are not supported. Google's voice replication is available to Tier 3 projects
generationConfig.speechConfig.languageCodeBoth can specify the reply language and regional accent; when omitted, input and system instructions determine them
realtimeInputConfig.automaticActivityDetection4 Live improves voice activity detection for noisy, 8 kHz telephony audio. Continue using the existing sensitivity, prefix-padding and silence-duration fields; no new telephony-mode parameter is needed

With proactive video enabled, visual changes can trigger a reply even without a new spoken question. Sending frames continuously increases input usage.

In-session updates

Message fieldDifferences
contextUpdate.systemInstruction4 Live only: update the current system instruction; omitted fields remain unchanged
contextUpdate.tools.tools4 Live only: replace the complete tool list; an empty array clears it. The outer tools is a wrapper object, and the inner tools is the array
setupSend only once when initializing the connection on both models. contextUpdate updates only the instructions and tools above; changing the model or other startup settings still requires a new connection
{
  "contextUpdate": {
    "systemInstruction": {
      "parts": [{ "text": "Please answer in short sentences." }]
    }
  }
}

Setup examples

{
  "setup": {
    "model": "models/gemini-4-live",
    "generationConfig": {
      "responseModalities": ["AUDIO"],
      "maxOutputTokens": 1024
    },
    "outputAudioTranscription": {}
  }
}

The background-thinking example must use interactionStatus to handle task completion. Declare functions with NON_BLOCKING and omit scheduling when returning results.

Official references

On this page