Gemini 2.5 Flash Lite
Gemini 2.5 Flash Lite is the fastest and most affordable model in the Gemini 2.5 family, with configurable thinking, a context window of 1.0M tokens, and benchmark improvements over 2.0 Flash-Lite across coding, math, and science, at a price designed for high-throughput agentic pipelines.
import { streamText } from 'ai'
const result = streamText({ model: 'google/gemini-2.5-flash-lite', prompt: 'Why is the sky blue?'})