Limits and specifications of the Live API

Preview: Using theFirebase AI Logic SDKs with theGemini Live API is a feature that's in Preview, which means that it isn't subject to any SLA or deprecation policy and could change in backwards-incompatible ways.


This page describes various limits and specifications for using theLive API and its models.

Session-related limits

For theLive API, asession refers to a persistent connection where inputand output are streamed continuously over the same connection.

If the session exceedsany of the following limits, the connection isterminated.

  • Connection length is limited to around 10 minutes.

  • Session length depends on the input modalities:

    • Audio-only input sessions are limited to 15 minutes.
    • Video + audio input are limited to 2 minutes.
  • Session context window is limited to 128k tokens.

You'll receive agoing away notificationbefore the connection ends, allowing you to take further actions.

Note:Firebase AI Logic doesnot yet support the followingconfigurations for session management:resuming a session across multiple connections,extending the session length, orcompressing the context window.

Learn more aboutmanaging sessions.

Rate limits

TheLive API has rate limits for both concurrent sessions perFirebase project as well as tokens per minute (TPM).

  • Gemini Developer API:

  • Vertex AI Gemini API:

    • 1,000 concurrent sessions per Firebase project
    • 4M tokens per minute

Audio formats

TheLive API supports the following audio formats:

  • Input audio format: Raw 16 bit PCM audio at 16kHz little-endian
  • Output audio format: Raw 16 bit PCM audio at 24kHz little-endian

  • Supported MIME types:audio/x-aac,audio/flac,audio/mp3,audio/m4a,audio/mpeg,audio/mpga,audio/mp4,audio/ogg,audio/pcm,audio/wav,audio/webm

To convey the sample rate of input audio, set the MIME type of eachaudio-containing Blob to a value likeaudio/pcm;rate=16000.

Video formats

TheLive API expects a sequence of discrete image frames and supports videoframes input at 1 frame per second (FPS).

  • Recommended input: native 768x768 resolution at 1 FPS.

  • Supported MIME types:video/x-flv,video/quicktime,video/mpeg,video/mpegs,video/mpg,video/mp4,video/webm,video/wmv,video/3gpp

Note that this specification makes theLive API unsuitable for use casesthat require analyzing fast-changing video, such as play-by-play in high-speedsports.

Response voices

TheLive API supports the following response voice options. For demos ofwhat each voice sounds like, seeChirp 3: HD voices.

If you don't specify a response voice, the default isPuck.

Learn how tospecify the response voice.

Zephyr --Bright
Kore --Firm
Orus --Firm
Autonoe --Bright
Umbriel --Easy-going
Erinome --Clear
Laomedeia --Upbeat
Schedar --Even
Achird --Friendly
Sadachbia --Lively
Puck --Upbeat
Fenrir --Excitable
Aoede --Breezy
Enceladus --Breathy
Algieba --Smooth
Algenib --Gravelly
Achernar --Soft
Gacrux --Mature
Zubenelgenubi --Casual
Sadaltager --Knowledgeable
Charon --Informative
Leda --Youthful
Callirrhoe --Easy-going
Iapetus --Clear
Despina --Smooth
Rasalgethi --Informative
Alnilam --Firm
Pulcherrima --Forward
Vindemiatrix --Gentle
Sulafat --Warm

Languages

TheLive API supports the following languages.Learn how toinfluence the response language.

LanguageBCP-47 CodeLanguageBCP-47 Code
Arabic (Egyptian)ar-EGGerman (Germany)de-DE
English (US)en-USSpanish (US)es-US
French (France)fr-FRHindi (India)hi-IN
Indonesian (Indonesia)id-IDItalian (Italy)it-IT
Japanese (Japan)ja-JPKorean (Korea)ko-KR
Portuguese (Brazil)pt-BRRussian (Russia)ru-RU
Dutch (Netherlands)nl-NLPolish (Poland)pl-PL
Thai (Thailand)th-THTurkish (Turkey)tr-TR
Vietnamese (Vietnam)vi-VNRomanian (Romania)ro-RO
Ukrainian (Ukraine)uk-UABengali (Bangladesh)bn-BD
English (India)en-IN & hi-IN bundleMarathi (India)mr-IN
Tamil (India)ta-INTelugu (India)te-IN

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.