GoogleSees images
Gemini 2.5 Flash
google/gemini-2.5-flashGemini 2.5 Flash is Google's state-of-the-art workhorse model, specifically designed for advanced reasoning, coding, mathematics, and scientific tasks. It includes built-in "thinking" capabilities, enabling it to provide responses with greater...
Context
1M tokens
Input, 1M tokens
$0.17
Output, 1M tokens
$1.44
Benchmark
—
Uptime and speed
Loading…
Pricing
Charged from your prepaid balance for the tokens actually used.
Input tokens$0.17 per 1M tokens
Output tokens$1.44 per 1M tokens
Cache read$0.02 per 1M tokens
Cache write$0.05 per 1M tokens
Image input$0 per image
Apps and activity
Loading…
Technical details
Model IDgoogle/gemini-2.5-flash
Context window1M tokens
AcceptsFiles, Images, Text, Audio, Video
ProducesText
TokenizerGemini
Max output tokens65,535
How to connect
The API is OpenAI-compatible: the official SDKs, LangChain and any client with a "base URL" field work.
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-flash',
messages: [{ role: 'user', content: 'Hello!' }],
})Start using Gemini 2.5 Flash
Create a free account, get a key in your dashboard and send your first request. Top up your balance when you need it.