Model specifications
- Context
- 32,768 tokens
- Maximum output
- 8,192 tokens
- Architecture
- text+image->text+image
- Tokenizer
- Gemini
- Knowledge cutoff
- 2025-01-31
- Moderated
- No
Complete pricing
Synchronized OpenRouter rates. Token prices are shown per one million tokens.
- Input
- $0.3 per 1M tokens
- Output
- $2.5 per 1M tokens
- Cache read
- $0.03 per 1M tokens
- Cache write
- $0.0833 per 1M tokens
- Image input
- $0.3 per 1M tokens
- Image output
- $30 per 1M tokens
- Audio input
- $1 per 1M tokens
- Input Audio Cache
- $0.1 per 1M tokens
Quick start
Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.
curl --fail-with-body https://openrouter.ai/api/v1/images \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"google/gemini-2.5-flash-image","prompt":"A sunlit mountain landscape"}'Input → Output
Supported API parameters
max_tokensresponse_formatseedstopstructured_outputstemperaturetop_p4 providers
Checked: September 18, 2026
Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.
Google AI Studio
Not provided- Context
- 33K
- Maximum output
- 29K
Google AI Studio
Not provided- Context
- 33K
- Maximum output
- 29K
- Context
- 33K
- Maximum output
- 8K
Google AI Studio
Not provided- Context
- 33K
- Maximum output
- 29K