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?'})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 |
|---|