Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview advances software engineering and agentic workflows with targeted quality improvements for finance and spreadsheet applications, plus more efficient thinking that reduces token consumption while maintaining performance.
import { streamText } from 'ai'
const result = streamText({ model: 'google/gemini-3.1-pro-preview', prompt: 'Why is the sky blue?'})P50 time to first token (TTFT) on live AI Gateway traffic, in milliseconds. View the docs for more info.