AI Gateway

Gemini 2.5 Pro

google/gemini-2.5-pro

Gemini 2.5 Pro is our most advanced reasoning Gemini model, capable of solving complex problems. Gemini 2.5 Pro can comprehend vast datasets and challenging problems from different information sources, including text, audio, images, video, and even entire code repositories.

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