Skip to content

Gemini 2.0 Flash

Gemini 2.0 Flash is Google's workhorse model for the agentic era. It delivers low-latency multimodal output, including natively generated images and steerable text-to-speech (TTS) audio, alongside native tool use and a Multimodal Live API for real-time streaming.

File InputTool UseVision (Image)Web Search
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'google/gemini-2.0-flash',
prompt: 'Why is the sky blue?'
})

Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.

Provider
Context
Latency
Throughput
Input
Output
Cache
Web Search
Per Query
Capabilities
ZDR
No Training
Release Date
Google Vertex AI
Legal:Terms
Privacy
1M
0.7s
132tps
$0.15/M$0.60/M
Read:$0.03/M
Write:
$35.00/K
+ input costs
12/11/2024
Google
Legal:Terms
Privacy
1M
0.5s
134tps
$0.10/M$0.40/M
Read:$0.03/M
Write:
$35.00/K
+ input costs
12/11/2024