AI Gateway

All Models/

Gemini 2.5 Flash

Gemini 2.5 Flash by Google

Gemini 2.5 Flash is a thinking model that offers great, well-rounded capabilities. It is designed to offer a balance between price and performance with multimodal support and a 1M token context window.

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