Gemini 2.5 Flash Live
Compare
Google logo

Gemini 2.5 Flash Live

gemini-2.5-flash-livellms.txt
Google
New
Gemini 2.5 Flash Live is Google's multimodal AI model for real-time interactions, supporting low-latency voice conversations and able to understand user input by combining text, images, or video.

Pricing

Input TextInput AudioOutput TextOutput Audio
$0.5/M tokens$3/M tokens$2/M tokens$12/M tokens

Audio input $3.00/M, audio output $12/M.

Input Modalities

  • Text
  • Vision
  • Audio
  • Video

Output Modalities

  • Text

Capabilities

  • Thinking
  • Streaming
  • Tool calling
  • Web search
  • URL context
  • Code interpreter
  • Computer use
  • File search
  • Memory tool
  • Audio output
  • Structured outputs
  • Structured decision
  • Citations
  • Prompt caching
  • Background mode
  • Server-side sessions

Providers

VertexAI gemini-2.5-flash-live
Input$2/M tokens
Output$0/M tokens
Input Text$0.5/M tokens
Input Audio$3/M tokens
Output Text$2/M tokens
Output Audio$12/M tokens
PrecisionⓘNot Disclosed
Latency-
Throughput-
Uptime
0.00% uptime 3 days ago
0.00% uptime 2 days ago
0.00% uptime yesterday

Performance for gemini-2.5-flash-live

Uptime is the percentage of requests that succeeded over the past 72 hours. AIHubMix continuously monitors every provider and automatically retries with the next-best provider when one returns an error or responds too slowly; Latency is total round-trip time (lower is better); Throughput is how fast the model writes (tokens per second, higher is better).

Uptime
Loading...
Latency
Loading...
Throughput
Loading...

Try this model

Python

Gemini Live needs an API key from a personal account (organization keys are not supported yet) and an available balance of at least $10; otherwise the connection is refused with 403 (realtime_payer_not_supported / insufficient_user_quota).

import asyncio
import os
import wave

from google import genai

MODEL = "gemini-2.5-flash-live"

client = genai.Client(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    http_options={
        "base_url": "https://aihubmix.com",
        # The SDK leaves the model out of the Live URL; the gateway reads it from this header.
        "headers": {"X-Aihubmix-Model": MODEL},
    },
)

config = {
    "response_modalities": ["AUDIO"],
    # Also stream back a text transcript of the spoken reply.
    "output_audio_transcription": {},
}


async def main():
    async with client.aio.live.connect(model=MODEL, config=config) as session:
        await session.send_realtime_input(text="Hello, how are you?")

        # Reply audio is 16-bit PCM, 24 kHz, mono.
        with wave.open("reply.wav", "wb") as wf:
            wf.setnchannels(1)
            wf.setsampwidth(2)
            wf.setframerate(24000)
            async for message in session.receive():
                content = message.server_content
                if content and content.output_transcription:
                    print(content.output_transcription.text or "", end="", flush=True)
                if message.data:
                    wf.writeframes(message.data)
                if content and content.turn_complete:
                    break
    print()


asyncio.run(main())

Frequently asked questions

What is Gemini 2.5 Flash Live?

Gemini 2.5 Flash Live is Google's multimodal AI model for real-time interactions, supporting low-latency voice conversations and able to understand user input by combining text, images, or video.