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.
import { streamText } from 'ai'
const result = streamText({ model: 'google/gemini-2.0-flash', prompt: 'Why is the sky blue?'})