Gemini 2.0 Flash Lite
Gemini 2.0 Flash Lite is the lowest-cost multimodal model in Google's 2.0 lineup. This text-output-only model accepts text, images, audio, and documents within a context window of 1.0M tokens, designed for budget-first workloads where output volume drives infrastructure cost.
import { streamText } from 'ai'
const result = streamText({ model: 'google/gemini-2.0-flash-lite', 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 |
|---|