Key Metrics
Input Limit
1.0M tokens
Output Limit
8.2K tokens
Input Cost
$7.00/1M
Output Cost
$21.00/1M
Sample API Code
import google.generativeai as genai
# Configure the API key
genai.configure(api_key="YOUR_API_KEY")
# Set up the model
model = genai.GenerativeModel('gemini-2.0-flash-live-001')
# Generate content
response = model.generate_content("Explain the difference between transformers and RNNs in deep learning.")
print(response.text)
Required Libraries
google-generativeai
@google/generative-ai
Notes
Works with the Live API to enable low-latency bidirectional voice and video interactions with Gemini. Can process text, audio, and video input, and provide text and audio output.
Capabilities
Multimodal input
Long context
Function calling
Code execution
Search
Structured outputs
Audio generation
Supported Data Types
Input Types
text
audio
video
Output Types
text
audio
Strengths & Weaknesses
Exceptional at
low latency
bidirectional interaction
Good at
voice interaction
video interaction
Additional Information
Latest Update
Apr 5, 2024
Knowledge Cutoff
2024-08
ELO Score
1265