googleVision
Google: Gemini 2.5 Pro
Gemini 2.5 Pro is Google’s state-of-the-art AI model designed for advanced reasoning, coding, mathematics, and scientific tasks. It employs “thinking” capabilities, enabling it to reason through responses with enhanced accuracy...
Context
1M tokens
Input / 1M tokens
$1.25
Output / 1M tokens
$10
Benchmark
—
Pricing
Input tokens$1.25 per 1M tokens
Output tokens$10 per 1M tokens
Cache read$0.13 per 1M tokens
Cache write$0.38 per 1M tokens
Image$1.25 per image
Technical details
Model IDgoogle/gemini-2.5-pro
Context window1M tokens
Input modalitiestext, image, file, audio, video
Output modalitiestext
TokenizerGemini
Max output tokens65,536
Use with MegaBrain
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://getmegabrain.com/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: 'google/gemini-2.5-pro',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use Google: Gemini 2.5 Pro?
Get an API key and start making requests in minutes.
Get an API key