Gemini 3.1 Flash Lite Preview
Gemini 3.1 Flash Lite Preview is the efficiency-focused model in the Gemini 3.1 generation for budget-constrained, high-volume workloads, with notable gains in translation, data extraction, and code completion over Gemini 2.5 Flash Lite and four configurable thinking levels.
import { streamText } from 'ai'
const result = streamText({ model: 'google/gemini-3.1-flash-lite-preview', prompt: 'Why is the sky blue?'})