Gemini 3.1 Flash Lite
Gemini 3.1 Flash Lite outperforms 2.5 Flash Lite on overall quality and lands close to 2.5 Flash performance across key capability areas. It is a workhorse model for high-volume use cases, with improvements across audio input/ASR, RAG snippet ranking, translation, data extraction, and code completion.
import { streamText } from 'ai'
const result = streamText({ model: 'google/gemini-3.1-flash-lite', prompt: 'Why is the sky blue?'})