Last refreshed 2026-05-19. Next refresh: weekly.
Why use Gemini 2.5 Flash Live API on Google AI Studio?
Google AI Studio offers Gemini 2.5 Flash Live API with pay-as-you-go pricing at $0.50/1M input tokens. Google AI Studio is a model prototyping environment and API access point for Gemini models, offering an inference playground for developers to test and build AI applications.
Setup recipe
Python + curlpip install google-genaiexport GOOGLE_API_KEY=...import os
from google import genai
client = genai.Client(api_key=os.environ["GOOGLE_API_KEY"])
response = client.models.generate_content(gemini-2.5-flash-native-audio-preview-12-2025Request example
import os
from google import genai
client = genai.Client(api_key=os.environ["GOOGLE_API_KEY"])
response = client.models.generate_content(
model="gemini-2.5-flash-native-audio-preview-12-2025",
contents="Hello"
)
print(response.text)Gotchas
- Use the model name directly, e.g. "gemini-2.0-flash", "gemini-1.5-pro", or "gemini-2.5-pro-preview-05-06".
- The examples expect GOOGLE_API_KEY; rename it only if your application config maps the new variable.
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.50 |
| Output tokens | $2.00 |
Capabilities
About Gemini 2.5 Flash Live API
Gemini 2.5 Flash Live API is Google DeepMind's Gemini 2.5 model focused on audio understanding and generation. It offers a 128K-token context window.
FAQ
What does Gemini 2.5 Flash Live API cost on Google AI Studio?
On Google AI Studio, Gemini 2.5 Flash Live API costs $0.5 per 1M input tokens and $2 per 1M output tokens.
What is the context window for Gemini 2.5 Flash Live API on Google AI Studio?
Gemini 2.5 Flash Live API supports a 128,000 token context window on Google AI Studio.
Who created Gemini 2.5 Flash Live API?
Gemini 2.5 Flash Live API was created by Google DeepMind as part of the Gemini 2.5 model family.
Is Gemini 2.5 Flash Live API open source?
Gemini 2.5 Flash Live API is not open source; the seed data lists it as proprietary.