Agent may make mistakes and shouldn't be used in production
Gemini 3.1 Flash Lite Preview 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-preview', prompt: 'Why is the sky blue?'})Try out Gemini 3.1 Flash Lite Preview by Google. Usage is billed to your team at API rates. Free users get $5 of credits every 30 days, and you are considered a free user if you haven't made a payment.
| Provider |
|---|
| Model |
|---|