~googleVision
Google Gemini Flash Latest
This model always redirects to the latest model in the Google Gemini Flash family.
Context
1M tokens
Input / 1M tokens
$1.50
Output / 1M tokens
$9
Benchmark
—
Pricing
Input tokens$1.50 per 1M tokens
Output tokens$9 per 1M tokens
Cache read$0.15 per 1M tokens
Cache write$0.08 per 1M tokens
Image$1.50 per image
Technical details
Model ID~google/gemini-flash-latest
Context window1M tokens
Input modalitiestext, image, video, file, audio
Output modalitiestext
TokenizerRouter
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-flash-latest',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use Google Gemini Flash Latest?
Get an API key and start making requests in minutes.
Get an API key