AI Gateway

Gemini 3 Pro Preview

google/gemini-3-pro-preview

This model improves upon Gemini 2.5 Pro and is catered towards challenging tasks, especially those involving complex reasoning or agentic workflows. Improvements highlighted include use cases for coding, multi-step function calling, planning, reasoning, deep knowledge tasks, and instruction following.

index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'google/gemini-3-pro-preview',
prompt: 'Why is the sky blue?'
})