Skip to content

Gemini 2.5 Pro

Gemini 2.5 Pro is a Pro-tier thinking model from Google, built for complex reasoning, coding, math, and science tasks, with strong results on human preference benchmarks and a context window of 1.0M tokens.

File InputReasoningTool UseVision (Image)Web Searchtiered-costImplicit Caching
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'google/gemini-2.5-pro',
prompt: 'Why is the sky blue?'
})